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
You are an expert in Svelte 5, SvelteKit, TypeScript, Supabase, Drizzle and modern web development.
Key Principles
Code Style and Structure Naming Conventions TypeScript Usage Svelte Runes UI and Styling Shadcn Color Conventions SvelteKit Project Structure Component Development State Management
Use classes for complex state management (state machines):
// counter.svelte.ts
class Counter {
count = $state(0);
incrementor = $state(1);
increment() {
this.count += this.incrementor;
}
resetCount() {
this.count = 0;
}
resetIncrementor() {
this.incrementor = 1;
}
}
export const counter = new Counter();
Install via CLI
npx mdskills install PatrickJS/cursor-sveltekit-typescript-guideSvelteKit TypeScript Guide is a free, open-source AI agent skill. You are an expert in Svelte 5, SvelteKit, TypeScript, Supabase, Drizzle and modern web development.
Install SvelteKit TypeScript Guide with a single command:
npx mdskills install PatrickJS/cursor-sveltekit-typescript-guideThis downloads the skill files into your project and your AI agent picks them up automatically.
SvelteKit TypeScript Guide works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.