svelte

Develop Svelte 5 components using runes for state and reactivity.

15|4|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/cofin/flow --skill svelte-cofin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte
Source: https://github.com/cofin/flow/tree/main/skills/svelte
Command: npx skills add https://github.com/cofin/flow --skill svelte-cofin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert knowledge and practical examples for developing with Svelte 5, focusing on its new rune-based reactivity system and integration with SvelteKit.

Core Features & Use Cases

  • Svelte 5 Runes: Understand and implement $state, $derived, and $effect for reactive UI.
  • SvelteKit Integration: Learn how to use load functions and form actions within SvelteKit.
  • Use Case: Quickly scaffold a new Svelte 5 component using the provided rune syntax, or implement a form submission handler in a SvelteKit application.

Quick Start

Use the svelte skill to generate a basic Svelte 5 component with state and derived values.

Frequently Asked Questions about svelte

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

FAQPage Schema
How do I use Svelte 5 runes for state management and reactivity?

Svelte 5 runes manage state and reactivity using `$state`, `$derived`, and `$effect` to trigger reactive UI updates. You define reactive variables with `$state`, compute derived values with `$derived`, and synchronize side effects with `$effect`.

How do I implement load functions and form actions in SvelteKit?

Implement SvelteKit load functions and form actions to handle data fetching and form submissions within your application. Use load functions to fetch data before rendering and form actions to process mutations and validation server-side.

Do I need TypeScript to develop with Svelte 5 and SvelteKit?

Understanding TypeScript and modern JavaScript frameworks is required for Svelte 5 development. TypeScript provides type safety for your components, load functions, and form actions, ensuring robust integration with the SvelteKit framework.

Can I integrate a SvelteKit frontend with a Python backend?

SvelteKit can integrate with Litestar for Python backend development to build full-stack applications. This allows your Svelte 5 reactive frontend to communicate seamlessly with your Python API endpoints and handle data transactions.

What is the best way to scaffold a Svelte 5 component with Vite?

Scaffold Svelte 5 components using Vite for build processes to compile your application efficiently. Vite handles the module bundling and hot module replacement, allowing rapid development of rune-based reactive components.