# svelte-stinger

svelte-stinger is a Claude Code skill for Svelte 5 and SvelteKit 2, covering runes, reactivity, and migration from Svelte 4.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/web-development-tools/skills/svelte-stinger/SKILL.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/svelte-stinger

## What it does

The skill covers the full Svelte 5 stack: the runes model ($state, $derived, $effect, $inspect, $props, $bindable, $host), snippets and event attributes, component lifecycle, universal reactivity via .svelte.js/.svelte.ts modules. Handles SvelteKit 2 mechanics — load functions, form actions, remote functions, <svelte:boundary> for error boundaries.

On your first question, it classifies whether your codebase runs in runes mode or legacy syntax, and flags migration needs. Code examples come from embedded guides and checklists, not guesses, so it always recommends current syntax rather than Svelte 4 muscle memory ($:, export let, on: directives).

Outside its scope: Tailwind utilities, shadcn-svelte component internals, and project design systems; those belong to sibling skills. Installs on Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and Windsurf via your editor's package manager.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install web-development-tools@wasp-nest
```
This installs the whole web-development-tools plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add legioncodeinc/vibe-coding-tools --skill svelte-stinger -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/svelte-stinger/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/svelte-stinger/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add legioncodeinc/vibe-coding-tools --skill svelte-stinger -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/svelte-stinger/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add legioncodeinc/vibe-coding-tools --skill svelte-stinger -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/svelte-stinger/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install legioncodeinc/vibe-coding-tools plugins/web-development-tools/skills/svelte-stinger
```

2. **Manually: put the files in place**
- File: `.github/skills/svelte-stinger/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add legioncodeinc/vibe-coding-tools --skill svelte-stinger -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/legioncodeinc/vibe-coding-tools --path plugins/web-development-tools/skills/svelte-stinger
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/svelte-stinger/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/web-development-tools/skills/svelte-stinger/SKILL.md

## When to use it
- decide between $derived and $effect for reactive computation
- migrate a Svelte 4 component to runes without breaking it
- set up a form action with validation and error handling in SvelteKit 2
- use snippets and event attributes correctly instead of slots
- write tests for Svelte 5 components with Vitest

## Example prompts
- Show me how to replace beforeUpdate with $effect in this component
- Help me convert this store from $: to $derived in Svelte 5
- Write a SvelteKit 2 form action with progressive enhancement

## Similar
- [svelte](https://affpapa.org/en/nevibecode/skills/mindrally-svelte.md) — skill · 806 installs
- [svelte5-best-practices](https://affpapa.org/en/nevibecode/skills/svelte5-best-practices.md) — skill · 18800 installs
- [svelte-migrate](https://affpapa.org/en/nevibecode/commands/svelte-migrate.md) — command · 120 installs
- [svelte-core-bestpractices](https://affpapa.org/en/nevibecode/skills/svelte-core-bestpractices.md) — skill · 12400 installs
- [svelte-code-writer](https://affpapa.org/en/nevibecode/skills/svelte-code-writer.md) — skill · 14200 installs
- [svelte-development](https://affpapa.org/en/nevibecode/skills/svelte-development.md) — skill · 437 installs

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
