Provides expert guidance for writing fast, robust, and modern Svelte 5 code using runes and idiomatic patterns.
This skill equips Claude with the official best practices for Svelte 5 development, focusing on high-performance reactivity through runes like $state, $derived, and $effect. It facilitates the transition from legacy Svelte syntax to modern patterns, offering specific guidance on snippets, event handling, and efficient DOM management. Whether you are building new components or refactoring existing modules, this skill ensures your code adheres to the latest architectural standards for speed and maintainability.
Características Principales
01Implementation patterns for async Svelte components and hydratable promises.
02Optimization strategies for reactivity using $state.raw and $inspect.trace debugging.
03289 GitHub stars
04Best practices for component styling using CSS custom properties and scoped styles.
05Expert implementation of Svelte 5 runes including $state, $derived, and $props.
06Guidance on migrating legacy features like slots and actions to snippets and attributes.
Casos de Uso
01Debugging complex reactivity chains and performance bottlenecks in large Svelte applications.
02Refactoring legacy Svelte 4 components to modern Svelte 5 runes and syntax.
03Ensuring new Svelte components follow idiomatic patterns for event handling and state management.