Svelte5 Best Practices
Svelte 5 runes, snippets, SvelteKit patterns, and modern best practices for TypeScript and component development. Use when writing, reviewing, or refactoring Svelte 5 components and SvelteKit applications. Triggers on: Svelte components, runes ($state, $derived, $effect, $props, $bindable, $inspect), snippets ({#snippet}, {@render}), event handling, SvelteKit data loading, form actions, Svelte 4 to Svelte 5 migration, store to rune migration, slots to snippets migration, TypeScript props typing, generic components, SSR state isolation, performance optimization, or component testing.
- Type
- Skill
- Author
- ejirocodes
- Category
- Frontend
- GitHub stars
- 6
- Installs
- 16.8K
- Last updated
- June 25, 2026
Install
npx skills add https://github.com/ejirocodes/agent-skills --skill svelte5-best-practicesUse cases
- Write new Svelte 5 components using runes like $state, $derived, and $effect.
- Migrate an existing Svelte 4 codebase from stores and slots to runes and snippets.
- Review SvelteKit data loading, form actions, and TypeScript prop typing in a pull request.
Frequently Asked Questions
Which Svelte 5 features does this skill cover?
Runes such as $state, $derived, $effect, $props, $bindable, and $inspect, plus snippets and {@render}.
Does it help with Svelte 4 to Svelte 5 migration?
Yes, it covers store-to-rune and slots-to-snippets migration along with SvelteKit patterns.
What other topics are included?
TypeScript props typing, generic components, SSR state isolation, performance optimization, and component testing.
About this skill
This tool provides guidance on Svelte5 best practices. It's useful for frontend developers who want to write clean, efficient, and maintainable Svelte code. It may cover topics like component structure, state management, and performance optimization.
Summary written with AI assistance from the project's public description.
Categories
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh