What problem does it solve?
This Skill provides best practices and patterns for developing with Svelte 5, including efficient state management with TanStack Query, leveraging shadcn-svelte components, and structuring Svelte code for maintainability and performance.
Core Features & Use Cases
- TanStack Query Mutations: Demonstrates the preferred pattern for handling data mutations in Svelte components for better state management and UX.
- shadcn-svelte Integration: Guides on component organization, import patterns, and styling customization for shadcn-svelte.
- Code Organization: Enforces patterns like inline props and self-contained components to improve code readability and reduce complexity.
- Use Case: When building a new feature in a SvelteKit application that involves user input and data submission, use this Skill to ensure mutations are handled correctly and UI components are structured according to best practices.
Quick Start
Use the svelte skill to implement a data mutation using createMutation from TanStack Query within a Svelte component.