Skip to content
Back to skills

Svelte

ASecurity

Svelte 5 runes ($state, $derived, $effect, $props), component props, event handling, logic blocks, stores, snippets, transitions, actions, and reactivity. Use when building Svelte components.

  • 47 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
developmentreact

Works with

  • cli

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill svelte --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Svelte?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Svelte
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-svelte/badge)](https://www.skillsdirectory.com/skills/skeletorflet-svelte)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…