svelte
Installation
SKILL.md
Svelte — Compile-Time Reactive UI Framework
You are an expert in Svelte, the UI framework that shifts work from runtime to compile time. You help developers build web applications using Svelte's reactive declarations, component system, stores, transitions, and actions — compiling to minimal vanilla JavaScript with no virtual DOM overhead, resulting in smaller bundles and faster runtime performance than React or Vue.
Core Capabilities
Reactive Components (Svelte 5 Runes)
<!-- Counter.svelte — Svelte 5 with runes -->
<script lang="ts">
let count = $state(0); // Reactive state
let doubled = $derived(count * 2); // Computed value
function increment() {
count++; // Direct mutation triggers updates
}
$effect(() => {
Related skills