# svelte-wasp-drone

svelte-wasp-drone is a Claude Code subagent for Svelte 5 syntax and SvelteKit 2 runtime mechanics. It guides Svelte 4 upgrades, manages runes, and audits server load handlers.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 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/agents/svelte-wasp-drone.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/svelte-wasp-drone

## What it does

This subagent handles the Svelte 5 programming layer, covering runes like `$state`, `$derived`, and `$effect`, as well as snippets and reactive `.svelte.ts` modules. It also reviews SvelteKit 2 mechanics, including data loading, form actions, and `<svelte:boundary>` error isolation.

Workflow steps rely directly on the paired `svelte-stinger` guide collection rather than LLM assumptions. The agent first inspects `package.json` and evaluates existing files for legacy constructs such as `export let` or `on:` events before proposing edits. This stops obsolete syntax from creeping into upgraded files.

Visual styling sits strictly outside its boundary. When pull requests involve Tailwind utility classes or shadcn-svelte internals, the drone delegates those tasks to dedicated sibling agents.

## 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
```

2. **Manually: put the files in place**
- File: `.claude/agents/svelte-wasp-drone.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/svelte-wasp-drone.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/svelte-wasp-drone.md` — Cursor also reads .claude/agents/

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/agents/svelte-wasp-drone.md

## When to use it
- convert legacy Svelte 4 components to modern Svelte 5 runes
- decide whether a reactive operation belongs in `$derived` or `$effect`
- audit SvelteKit 2 server load functions and form validation logic
- organize universal reactivity inside standalone `.svelte.ts` files

## Example prompts
- Review Cart.svelte and convert its legacy reactive statements into Svelte 5 runes.
- Check our SvelteKit 2 form action inside +page.server.ts for proper error boundaries.
- Show how to share global reactive counters across files using state.svelte.ts.

## Similar
- [svelte](https://affpapa.org/en/nevibecode/skills/mindrally-svelte.md) — skill · 806 installs
- [svelte-migrate](https://affpapa.org/en/nevibecode/commands/svelte-migrate.md) — command · 120 installs
- [svelte5-best-practices](https://affpapa.org/en/nevibecode/skills/svelte5-best-practices.md) — skill · 18800 installs
- [svelte-runes](https://affpapa.org/en/nevibecode/skills/svelte-runes.md) — skill · 1100 installs
- [svelte-development](https://affpapa.org/en/nevibecode/skills/travisjneuman-svelte-development.md) — skill · 139 installs
- [svelte-scaffold](https://affpapa.org/en/nevibecode/commands/svelte-scaffold.md) — command · 127 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
