Svelte Development Skill

Implement reactive Svelte 5 components using runes-based state and template syntax.

11|3|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/dwalleck/catalyst --skill svelte-development-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Svelte Development Skill
Source: https://github.com/dwalleck/catalyst/tree/main/.claude/skills/svelte-skill
Command: npx skills add https://github.com/dwalleck/catalyst --skill svelte-development-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Svelte developers face a steep learning curve when adopting Svelte 5 and the new runes-based reactivity. This Skill provides a centralized, authoritative reference that accelerates learning, reduces guesswork, and streamlines component authoring and migration.

Core Features & Use Cases

  • Comprehensive coverage of Svelte 5 runes ($state, $derived, $effect, $props), components, template syntax, and directives.
  • Migration guidance from Svelte 4 to 5, plus TypeScript integration and advanced patterns.
  • Progressive disclosure: start with SKILL.md, then load relevant resource files as tasks arise, keeping context tight and actionable.

Quick Start

Load the Svelte Development Skill, review the SKILL.md overview, then load the resource files you need (e.g., resources/runes-state.md, resources/template-control-flow.md) to accomplish your current task. For example, to implement reactive state in a component, load resources/runes-state.md and follow its guidance.

Frequently Asked Questions about Svelte Development Skill

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

FAQPage Schema
How do I implement reactive state in Svelte 5 components?

Svelte 5 uses runes like $state, $derived, and $effect to manage reactive state. $state declares mutable state, $derived creates computed values that update automatically, and $effect runs side effects when dependencies change. Load resources/runes-state.md for detailed patterns and examples.

What's the best way to migrate a Svelte 4 project to Svelte 5?

Migration from Svelte 4 to 5 involves adopting runes-based reactivity, updating component syntax, and restructuring stores. This Skill covers step-by-step guidance for editing .svelte files, handling template changes, and integrating with SvelteKit. Start with SKILL.md overview, then reference migration resources.

How do I use TypeScript with Svelte 5 components?

Svelte 5 supports TypeScript through .svelte.ts and .svelte.js files with full type safety. Define typed props, state, and derived values using runes with TypeScript annotations. The Skill provides patterns for integrating TypeScript across component development and SvelteKit projects.

Can I use Svelte 5 runes with SvelteKit?

Yes, Svelte 5 runes work seamlessly with SvelteKit. The runes-based reactivity model applies to all .svelte files in your SvelteKit project, including pages, layouts, and components. This Skill covers SvelteKit integration patterns and debugging runes-based state across your app.

What are the common issues when debugging Svelte 5 rune-based state?

Common debugging challenges include reactivity not triggering, derived values not updating, and effect side effects running unexpectedly. This Skill provides guidance on template syntax, directives, and rune patterns to diagnose and resolve state management issues in Svelte 5 components.

Do I need prior Svelte experience to learn Svelte 5 runes?

While Svelte 4 experience helps, Svelte 5 runes introduce a new reactivity model. This Skill progressively discloses concepts starting with SKILL.md fundamentals, then deeper resource files. It's designed for both new developers and Svelte 4 developers transitioning to the runes-based approach.