What problem does it solve?
This Skill ensures that all SvelteKit 5 application code adheres to the project's established conventions for Svelte 5 runes, shadcn-svelte UI, Drizzle ORM, and TypeScript, maintaining code quality and consistency.
Core Features & Use Cases
- Svelte 5 Runes Enforcement: Guarantees the use of
$state, $derived, $effect, and $props over legacy Svelte patterns.
- UI Consistency: Promotes the use of
shadcn-svelte components and TailwindCSS for a unified look and feel.
- Data Layer Adherence: Enforces Drizzle ORM for all database interactions with Supabase.
- TypeScript Strictness: Mandates strict TypeScript typing, avoiding
any and promoting well-defined interfaces.
- Use Case: When adding a new interactive dashboard component, this skill will guide you to use Svelte 5 runes for state management,
shadcn-svelte for UI elements like tables and cards, and Drizzle ORM to fetch data from Supabase.
Quick Start
Use this skill to refactor the existing Svelte component located at src/lib/components/OldCounter.svelte to use Svelte 5 runes and shadcn-svelte.