# shadcn-svelte-wasp-drone

shadcn-svelte-wasp-drone — a subagent for shadcn-svelte library work in Svelte 5 projects, covering the CLI, copied components, themes, forms, registries, and upgrades.

- 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/shadcn-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/shadcn-svelte-wasp-drone

## What it does

shadcn-svelte-wasp-drone handles the library layer of shadcn-svelte across Svelte 5 projects. It can guide `init`, `add`, `apply`, and `registry build`, explain why components are copied into the repository, and inspect implementation details such as `tv()`, `cn()`, `$props()`, and `data-slot`. Its scope also covers CSS-variable theming, dark mode with `mode-watcher`, Formsnap with Superforms and Zod, and accessibility supplied by Bits UI.

The subagent works with custom registries through `registry.json` and `registry-item.json`. For local component changes, it follows a commit, update, diff, and manual re-apply workflow. Running `add --all --overwrite` against uncommitted edits is unsafe. Svelte rune questions, general Tailwind v4 behavior, and product-specific brand tokens belong outside this subagent’s scope.

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

## When to use it
- set up shadcn-svelte with its CLI
- inspect or update copied components
- build a private component registry
- configure generic themes and dark mode
- compose forms with Superforms and Formsnap

## Example prompts
- Set up shadcn-svelte in this Svelte 5 project and decide whether it needs `init` or `add`.
- Explain this component’s `tv()`, `cn()`, `$props()`, and `data-slot` structure.
- Plan an upgrade for a locally edited component using a diff and a manual re-apply step.

## Similar
- [shadcn-svelte](https://affpapa.org/en/nevibecode/skills/vercel-labs-shadcn-svelte.md) — skill · 1200 installs
- [svelte-core-bestpractices](https://affpapa.org/en/nevibecode/skills/svelte-core-bestpractices.md) — skill · 12400 installs
- [svelte](https://affpapa.org/en/nevibecode/skills/svelte.md) — skill · 1300 installs
- [svelte-runes](https://affpapa.org/en/nevibecode/skills/svelte-runes.md) — skill · 1100 installs
- [svelte-llm-mcp](https://affpapa.org/en/nevibecode/mcp/khromov-svelte-llm-mcp.md) — MCP server · 910 installs
- [svelte-debug](https://affpapa.org/en/nevibecode/commands/svelte-debug.md) — command · 134 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
