# svelte-development

svelte-development — a coding agent for Svelte 5+ and SvelteKit that can help shape components, routes, server-side data loading, and form handling.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 1357 repo stars
- Author: qdhenry
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/agents/svelte-development.md
- Updated: 2026-03-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/svelte-development

## What it does

Use this subagent for Svelte component structure, reactive state, and TypeScript or JSDoc typing. It also covers SvelteKit routing, load functions, server form actions, hooks, and API endpoints. Its focus is Svelte 5+ and the SvelteKit ecosystem.

The available tools include file reading and editing, project search, shell commands, and web research. The agent also works with the `sv create`, `sv add`, `sv check`, and `sv migrate` workflows. Older Svelte versions fall outside its stated Svelte 5+ focus, so specify the version when asking for version-sensitive changes.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/svelte-development.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-development.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-development.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/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/agents/svelte-development.md

## When to use it
- design reusable Svelte components
- load route data on the server
- handle a SvelteKit form submission
- add an endpoint with `+server.js`
- plan a Svelte 4 to Svelte 5 migration

## Example prompts
- Refactor this `.svelte` component and add types for its props.
- Set up server-side data loading for this SvelteKit page in `+page.server.ts`.
- Run `sv check` on this project and fix the Svelte issues it finds.

## Similar
- [svelte-code-writer](https://affpapa.org/en/nevibecode/skills/svelte-code-writer.md) — skill · 14200 installs
- [svelte-core-bestpractices](https://affpapa.org/en/nevibecode/skills/svelte-core-bestpractices.md) — skill · 12400 installs
- [shadcn-svelte](https://affpapa.org/en/nevibecode/skills/shadcn-svelte.md) — skill · 7600 installs
- [sentry-svelte-sdk](https://affpapa.org/en/nevibecode/skills/sentry-svelte-sdk.md) — skill · 2300 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

From the same set: [qdhenry/claude-command-suite](https://affpapa.org/en/nevibecode/by/qdhenry/claude-command-suite.md) — 112 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
