Skip to content

Svelte 5 compiler-first reactive UI framework with Runes API and SvelteKit full-stack support.

CCM score
49 of 100
skills.sh installs
370
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers reactive state with $state, $derived, and $effect, plus props via $props and two-way binding via $bindable
  • Includes component patterns for conditionals, keyed {#each} lists, and a SvelteKit project layout with routes, load functions, and form actions
  • Enforces type-safe props and data through generated ./$types imports in load functions and page components
  • Designed for interactive UIs, dashboards, SPAs, and SSR/SSG full-stack apps that need a small bundle

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill svelte -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Svelte 5 - Compiler-First Reactive Framework

Overview

Svelte is a compiler-based reactive UI framework that shifts work from runtime to build time. Unlike React/Vue, Svelte compiles components to highly optimized vanilla JavaScript with minimal overhead. Svelte 5 introduces Runes API for explicit, fine-grained reactivity.

Key Features:

  • Runes API: $state, $derived, $effect for explicit reactivity
  • Zero runtime overhead: Compiles to vanilla JS
  • Built-in state management: No external libraries needed
  • SvelteKit: Full-stack framework with SSR/SSG/SPA
  • Write less code: Simple, readable component syntax
  • Exceptional performance: Small bundles, fast runtime

Installation:

# Create new SvelteKit project
npm create svelte@latest my-app
cd my-app
npm install
npm run dev

# Or Svelte only (no SvelteKit)
npm create vite@latest my-app -- --template svelte-ts

Svelte 5 Runes API (Modern Approach)

State Management with $state

<script lang="ts">
  // Reactive state - automatically tracks changes
  let count = $state(0);
  let user = $state({ name: 'Alice', age: 30 });

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What is the Svelte skill for Claude Code?

The svelte skill gives Claude Code guidance on Svelte 5, covering the Runes API with $state, $derived and $effect for reactive UI. It also covers SvelteKit for full-stack apps with SSR and SSG, so the agent can build components and routes with this skill.

How do I install the svelte skill?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill svelte -y in your project. After that, the svelte skill lets the agent write Svelte 5 components, SvelteKit load functions and form actions.

Which category does the svelte skill belong to on Claude Marketplaces?

Claude Marketplaces lists the svelte skill in the Frontend and UI Code category. Its sibling skills there include vercel-react-best-practices and web-design-guidelines, while the svelte skill focuses on Svelte 5 runes and SvelteKit.

Who is the svelte skill for?

The svelte skill is for developers building interactive UIs, dashboards, SPAs, static sites or full-stack apps with Svelte 5 and SvelteKit. Its entry point says it suits projects where performance and a small bundle matter.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Svelte

More Frontend & UI Code