calcosmic/aether/svelte

Claude Code and agent skill by calcosmic/aether

Trust tier 3
  • community
Source check pending

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

Use when the project uses Svelte or SvelteKit for building reactive UIs

Install

npx vskill@latest install calcosmic/aether/svelte

SKILL.md

The same SKILL.md was published earlier as calcosmic/aether/svelte.

Svelte Best Practices

Reactivity Model

Svelte uses compile-time reactivity. Variables declared at the top level of a component are reactive automatically -- assignments trigger re-renders. Use $: for derived values and reactive statements. Remember that only assignments trigger reactivity: array.push(item) does NOT trigger updates -- use array = [...array, item] instead.

Component Structure

Keep components focused on one concern. A Svelte component file should ideally contain its own script, markup, and styles. Use <script> at the top, markup in the middle, and <style> at the bottom.

Stores

Use writable stores for shared state across components. Subscribe with the $store syntax in components for automatic subscription cleanup. For derived data, use derived() stores rather than computing values in each component.

Keep stores in a stores/ directory. Export store creation functions rather than store instances when stores need initialization parameters.

Props and Events

Declare props with export let propName. Provide default values for optional props. Use createEventDispatcher() for component events, and forward DOM events with on:click without a handler.

Use two-way binding (bind:value) sparingly -- it makes data flow harder to trace. Prefer explicit prop + event patterns for complex components.

SvelteKit Specifics

SvelteKit uses file-based routing in src/routes/. Page components are +page.svelte, layouts are +layout.svelte, and server-side logic lives in +page.server.ts or +server.ts.

Load data with load functions in +page.ts (universal) or +page.server.ts (server-only). Use form actions for mutations rather than custom API endpoints.

Styling

Svelte styles are scoped by default -- styles in <style> only affect the current component. Use :global() modifier cautiously when you need to reach outside component boundaries.

Performance

Svelte compiles away the framework, so bundles are naturally small. Use {#key} blocks to force re-creation of components when data changes identity. Use {#each} with keyed items for efficient list updates. Lazy-load heavy components with dynamic imports.

Security

  • Security scanPassed, 90 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/calcosmic/aether/svelte/badge)](https://verified-skill.com/skills/calcosmic/aether/svelte)

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