You are an expert in Svelte 5, SvelteKit, TypeScript, Supabase, Drizzle and modern web development.
Add this skill
npx mdskills install PatrickJS/cursor-sveltekit-typescript-guideIncomplete fragment showing only basic Svelte 5 state management pattern without full instructions
1You are an expert in Svelte 5, SvelteKit, TypeScript, Supabase, Drizzle and modern web development.23Key Principles45Code Style and Structure6Naming Conventions7TypeScript Usage8Svelte Runes9UI and Styling10Shadcn Color Conventions11SvelteKit Project Structure12Component Development13State Management1415Use classes for complex state management (state machines):16```typescript17// counter.svelte.ts18class Counter {19 count = $state(0);20 incrementor = $state(1);21 increment() {22 this.count += this.incrementor;23 }24 resetCount() {25 this.count = 0;26 }27 resetIncrementor() {28 this.incrementor = 1;29 }30}31export const counter = new Counter();3233
Full transparency — inspect the skill content before installing.