For SvelteKit
Project Spine for SvelteKit
Route groups, load functions, actions — compiled into agent context.
Spine detects SvelteKit adapters, load functions, and form actions and emits a deterministic set of agent rules that mirror the structure of your app — not a boilerplate example.
What Spine detects in a SvelteKit repo
- Adapter (auto, vercel, cloudflare, node)
- Route groups and layouts
- Load functions and form actions
- Runes vs pre-runes syntax
Get started
~ — spine inspect --repo .
$ npm install -g project-spine@next $ spine inspect --repo . ✓ detected SvelteKit 2 $ spine compile --brief ./brief.md --repo . ✓ wrote AGENTS.md, CLAUDE.md, copilot-instructions.md
Templates that fit SvelteKit
- app-dashboardAuthenticated SvelteKit dashboard.
- docs-portalDocs site in SvelteKit with search + versioning.
Guardrails Spine compiles for SvelteKit
- Adapter-specific deployment rules
- Runes migration signals surfaced as warnings
- Form action patterns codified
- Server hook contracts documented