Svelte 5 runes ($state, $derived, $effect, $props), component props, event handling, logic blocks, stores, snippets, transitions, actions, and reactivity. Use when building Svelte components.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add skeletorflet/opencode-supreme-setup --skill svelte --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Svelte?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/skeletorflet-svelte)More formats (shields.io, HTML) on the badges page.
---
name: svelte
description: Svelte 5 runes ($state, $derived, $effect, $props), component props, event handling, logic blocks, stores, snippets, transitions, actions, and reactivity. Use when building Svelte components.
---
## svelte
Svelte shifts reactivity from runtime to compile time.
### Core Concepts
- Svelte 5 runes: $state for reactive state, $derived for computed values
- $effect for side effects that auto-track dependencies
- $props for component inputs with type safety
### Common Patterns
- Logic blocks: {#if}, {#each}, {#await} for declarative control flow
- Stores: writable, derived, readable for cross-component state
- Snippets (Svelte 5) replace slots for content projection
### Best Practices
- Prefer runes over stores for local component state
- Use $derived instead of $effect for computations
- Apply transitions sparingly for deliberate UX polish
### Common Code Patterns
- on:click, on:submit for native DOM event handling
- use:action for DOM element behavior encapsulation
- Transition directives: transition:fade, transition:fly for animations
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.