svelte
Svelte and SvelteKit development. Use when building Svelte components or SvelteKit applications.
When & Why to Use This Skill
This Claude skill accelerates Svelte and SvelteKit development by providing expert guidance on building components and full-stack applications. It enforces modern reactivity patterns using 'runed' utilities and optimizes server-side communication through Remote Functions, ensuring clean, maintainable, and high-performance code following industry best practices.
Use Cases
- Developing reactive Svelte components using advanced utilities like PersistedState, Debounced, and Throttled for enhanced user experiences.
- Implementing robust server-client data flow in SvelteKit applications using Remote Functions to replace traditional +page.server.ts patterns for better type safety and modularity.
- Refactoring existing Svelte codebases to follow standardized query, form, and command patterns for improved architectural consistency.
- Setting up complex state management and side-effect tracking using the 'runed' watch and Context utilities to handle sophisticated application logic.
| name | svelte |
|---|---|
| description | "Svelte and SvelteKit development. Use when building Svelte components or SvelteKit applications." |
Svelte Development
Conventions
- MUST use Remote Functions (
*.remote.ts) over+page.server.tsfor server communication - MUST use runed utilities for reactivity patterns
References
references/remote-functions.md- query, form, command patternsreferences/runed.md- watch, Context, PersistedState, Debounced, Throttled