SKILL16.8K installs6

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-practices

Use cases


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