What problem does it solve?
Guides developers through correct Svelte and SvelteKit architecture, reactivity choices, routing, form handling, SSR/adapter configuration, and testing to avoid performance regressions, hydration errors, and insecure server/client boundaries.
Core Features & Use Cases
- Reactivity & Migration Guidance: Recommends runes for Svelte 5, migration strategies from legacy $: patterns, and when to keep existing implementations.
- State & Stores Best Practices: Defines store boundaries, derived stores, and server-safe state patterns for auth, cart, and notifications.
- Routing, Forms & SSR: Prescribes SvelteKit file-based routing, server load functions, form actions with use:enhance, adapter selection, and prerender/SSR strategies for pages.
- Testing & Validation: Provides testing targets and checks including vitest/playwright, type safety, build validation, and strict keep/discard discipline for iterative changes.
Quick Start
Create a SvelteKit project using runes-based reactivity, add server load functions for data, set up form actions with use:enhance, configure the appropriate adapter for your host, and run the test and build checks.