haonguyen1915/flex-kit/svelte-naming

Claude Code and agent skill by haonguyen1915/flex-kit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Svelte naming conventions - PascalCase component files, camelCase props with is/has boolean prefixes, snippet names by purpose, use* hooks, store getters without underscores. Use when the user names or reviews Svelte components, props, snippets, stores, or hooks. Not for runes (see svelte-runes) or the component API (see svelte-components).

Install

npx vskill@latest install haonguyen1915/flex-kit/svelte-naming

SKILL.md

The same SKILL.md was published earlier as haonguyen1915/flex-kit/svelte-naming.

Svelte Naming

Consistent names make a component tree readable at a glance. These build on typescript-naming - the Svelte-specific parts are files, snippets, stores, and hooks.

Files

  • Components are PascalCase.svelte, one component per file (QueryEditor.svelte exports

<QueryEditor>). Sub-components go in a folder.

  • Utils / stores / hooks are kebab-case: query-builder.ts, connection.store.svelte.ts.

Props & handlers

  • Props are camelCase; boolean props are predicates (isLoading, hasError).
  • Event props on{Event} (onSelect); internal functions handle{Event} (handleSelect).

Snippets, stores, hooks

  • Snippet names describe purpose: header, emptyState, actionBar - not slot1 / content.
  • Store exposes named getters without an underscore (connectionStore.connections); mutations

are verbs (add, remove, setActive). Keep internal $state encapsulated.

  • Hooks follow use{Capability}: useDebounce, useClickOutside (file kebab-case, export

camelCase).

Review checklist

  • [ ] components PascalCase.svelte, one per file
  • [ ] props camelCase, boolean props predicate-prefixed
  • [ ] on* props vs handle* internal, consistent
  • [ ] snippets named by purpose; hooks use*
  • [ ] store exposes getters/verbs, internal state not leaked

Red Flags

  • a lowercase component file (query-editor.svelte)
  • generic snippet names (slot, content)
  • a store's internal _state accessed from outside
  • mixed on* / handle* for the same layer
  • abbreviated service / store members (conns, q, conn_id)

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/haonguyen1915/flex-kit/svelte-naming/badge)](https://verified-skill.com/skills/haonguyen1915/flex-kit/svelte-naming)

Something wrong with this skill or its page? Tell us.