svelte

Build reactive UIs with Svelte 5 using Runes API.

3|1|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/bobmatnyc/termpilot --skill svelte
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte
Source: https://github.com/bobmatnyc/termpilot/tree/main/.claude/skills/toolchains-javascript-frameworks-svelte
Command: npx skills add https://github.com/bobmatnyc/termpilot --skill svelte

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Traditional reactive frameworks often incur runtime overhead, leading to larger bundles and slower performance. This skill introduces Svelte 5, a compiler-first framework that shifts work to build time, resulting in highly optimized, vanilla JavaScript components.

Core Features & Use Cases

  • Runes API: Utilizes $state, $derived, and $effect for explicit, fine-grained reactivity with minimal boilerplate.
  • Zero Runtime Overhead: Compiles components to highly optimized vanilla JavaScript, ensuring small bundles and fast execution.
  • SvelteKit Full-Stack: Provides a complete framework for SSR, SSG, and SPA, simplifying full-stack development.
  • Developer Ergonomics: Offers a simple, readable component syntax that allows you to write less code.

Quick Start

Use the svelte skill to create a new SvelteKit project and implement a reactive counter component using the $state() rune.

Frequently Asked Questions about svelte

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build reactive UIs with minimal bundle size?

Svelte 5 is a compiler-first framework that shifts reactivity work to build time, compiling components to optimized vanilla JavaScript with zero runtime overhead, resulting in smaller bundles and faster performance than traditional reactive frameworks.

What is the $state rune and how do I use it for state management?

The $state rune in Svelte 5 enables fine-grained, explicit reactivity without boilerplate. Pair it with $derived for computed values and $effect for side effects to manage component state directly within your component logic.

Can I use Svelte for server-side rendering and static site generation?

Yes. SvelteKit provides built-in support for SSR and SSG, enabling you to build full-stack applications with both server-rendered and statically generated pages while maintaining the same optimized component architecture.

Do I need a build step to use Svelte 5?

Yes. Svelte 5 requires a compiler to transform your components into vanilla JavaScript at build time. SvelteKit handles this automatically and provides routing, API endpoints, and deployment adapters for streamlined development.

What's the difference between Svelte and other reactive frameworks?

Svelte shifts reactivity logic to the compiler rather than the runtime, eliminating the overhead of virtual DOMs and runtime frameworks. This produces smaller, faster code while maintaining a simple, readable component syntax.

How do I handle component props and two-way binding in Svelte 5?

Use $props to declare component inputs and $bindable to enable two-way binding. The Runes API makes prop flow explicit and reactivity predictable without implicit magic or boilerplate.