xyflow-wasp-drone — Claude Code subagent
xyflow-wasp-drone — a subagent for React Flow and Svelte Flow: editor setup, flow state, custom nodes and edges, connection rules, Dagre and ELK layout, theming, accessibility, performance, and version migrations.
AGPL-3.0-or-later ★ 96 updated 2026-10-18
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install web-development-tools@wasp-nestWhat xyflow-wasp-drone does
xyflow-wasp-drone handles the full lifecycle of a canvas built on React Flow or Svelte Flow—from library installation and container sizing through flow state management, custom node components, and connection rules. Includes stylesheet selection, SSR container handling in Next.js, state wiring via useNodesState, Zustand, or Svelte $state.raw, drag interactions, and layout algorithm integration (Dagre, ELK, d3-hierarchy).
Covers custom nodes, edges, and handle configuration, theming through --xy-* variables and colorMode, React Flow UI component adoption, version migrations (reactflow 11 → @xyflow/react 12, Svelte Flow 0.x → 1.x), accessibility, and testing. Out of scope: React architecture and routing, SvelteKit load functions and form actions, node visual design and tokens, saved-flow database schemas, browser end-to-end testing—those are handled by other subagents.
What it helps with
- set up a node editor with custom components and connection validation
- integrate auto-layout (Dagre, ELK) into a diagram editor
- optimize canvas performance for thousands of nodes
- migrate from React Flow 11 to @xyflow/react 12 or port an editor between React and Svelte
- wire flow serialization and restore with validation
Example prompts for the agent
- Build a workflow editor on React Flow with custom nodes for filter, data source, and transform steps
- Render a diagram on Svelte Flow with auto-layout via Dagre, node drag, and Tailwind v4 theming
- Migrate a
reactflow11 editor to@xyflow/react12 and verify accessibility tests
How to install xyflow-wasp-drone
1Plugin marketplace
/plugin marketplace add legioncodeinc/vibe-coding-tools/plugin install web-development-tools@wasp-nest2Manually: put the files in place
.claude/agents/xyflow-wasp-drone.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/xyflow-wasp-drone.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/xyflow-wasp-drone.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about xyflow-wasp-drone
How do I install xyflow-wasp-drone in Claude Code?
Run /plugin marketplace add legioncodeinc/vibe-coding-tools, then /plugin install web-development-tools@wasp-nest, and load the config from .claude/agents/xyflow-wasp-drone.md.
What does xyflow-wasp-drone do?
Manages the complete development cycle for node and flow editors on React Flow and Svelte Flow: setup, state wiring, custom components, layout, theming, tests, and version upgrades.
Which subagents work alongside xyflow-wasp-drone?
react-stinger handles React architecture around the canvas, svelte-stinger covers SvelteKit, impeccable-stinger handles node design, db-wasp-drone manages saved-flow schema, security-wasp-drone validates node content.