Future-first guidance for writing modern Svelte 5 and SvelteKit code without drifting into mixed-generation answers.
This skill is built for AI agents and maintainers who want:
- modern Svelte 5 answers
- stable SvelteKit architecture by default
- correct topic routing across references
- coherent migration decisions
- explicit handling of experimental features
You can install this skill into your AI agent environment (such as Claude Code, Cursor, Windsurf, or Gemini) using the Vercel skills CLI:
npx skills add fifidayone/svelte-edge --allAlternatively, you can clone this repository directly into your local workspace's agent configuration directory (e.g., <project-root>/.agents/skills/svelte-edge):
git clone https://github.com/fifidayone/svelte-edge.git .agents/skills/svelte-edge- Future-first for new code
- Stable-first for SvelteKit production architecture
- TypeScript-first where modern workflows benefit
- No mixed-generation components
- Canonical ownership per topic
- Explicit opt-in for experimental features
- Repeatable audit output
- Low redundancy across reference files
Use it when the user asks about:
- Svelte 5 component authoring
- runes and reactivity
- snippets and component composition
- attachments and DOM behavior
- transitions and animations
- async component patterns
- SvelteKit routing, forms, state, navigation, and server code
- migrations from Svelte 4 / legacy Svelte to modern Svelte 5
- testing strategy for modern Svelte projects
- ecosystem libraries and tooling for Svelte 5
- official
svCLI workflows
- broad backward compatibility by default
- teaching legacy Svelte 3/4 patterns unless explicitly requested
- treating experimental features as mandatory defaults
- using ecosystem packages to override official framework guidance
npx sv create my-app
npx sv add eslint prettier tailwindcss vitest playwright
npx sv migrate svelte-5
npx sv checkTesting has its own canonical file so tool choice and testing doctrine stay first-class instead of being buried in general best practices.
libraries.md is on-demand because most Svelte questions are about framework semantics, not package selection. Pull it only when the user explicitly asks about ecosystem packages.
migration.md is on-demand because most new code does not need migration guidance. Pull it only for migration work.
Examples are inlined into their canonical owners rather than living in a separate patterns file — this avoids drift between doctrine and examples.
Current baseline: May 2026.
Detailed version gates live in SKILL.md. Keep README.md lightweight and use it to explain scope, structure, and maintenance expectations.
Update this skill when official docs materially change:
- recommended modern Svelte syntax
- stable SvelteKit architecture defaults
- experimental feature status or required flags
- public
svworkflows - important version gates
Framework semantics age slower than ecosystem package lists. libraries.md should be reviewed more often than core doctrine files.
Audit and review workflows should follow the output contract defined in SKILL.md so findings stay repeatable and actionable.
Accurate, modern, coherent, production-safe guidance that an AI agent can apply quickly and consistently.