A global Claude Code skill that turns any session into a deep React Flow / Svelte Flow / @xyflow expert — not just the public API, but the internals.
The knowledge base was mined from real source across four upstream repos and adversarially fact-checked against the live code (every API, hook, prop, type, and error code verified or corrected). Pinned to:
@xyflow/react12.10.2@xyflow/svelte1.5.2@xyflow/system0.0.76
| Path | What |
|---|---|
SKILL.md |
Always-loaded entry: core mental model + routing table + top gotchas |
agents/react-flow-expert.md |
Dispatchable subagent for deep Q&A / building features |
reference/01..13-*.md |
~48k words of source-verified depth |
DESIGN.md |
The design spec (how/why it was built) |
build/ |
The Claude Code Workflow that generated the KB — re-runnable |
- Architecture & mental model — the 3-package engine, data flow, coordinate systems
@xyflow/systeminternals — XYPanZoom / XYDrag / XYHandle / XYResizer / XYMinimap- Edge-path algorithms & markers — bezier / smoothstep / step / straight math
- React components & every
<ReactFlow>prop - Every React hook — signatures, returns, internals, when-to-use
- Svelte Flow — Svelte 5 runes, stores, component/hook equivalents
- State management & the store — controlled vs uncontrolled, change system, perf
- Custom nodes, edges & the handle/connection system
- Patterns & recipes — layouting, drag-and-drop, sub-flows, computing flows
- Gotchas, error codes & performance
- Migration
reactflowv11 →@xyflow/reactv12 - Node-UI ecosystem & when to choose what
- TypeScript types reference
Clone into your Claude Code skills directory:
git clone https://github.com/dyammarcano/react-flow-expert.git \
~/.claude/skills/react-flow-expertIn any Claude Code session:
- Invoke the
react-flow-expertskill for instant orientation + routing to the right reference doc. - Or dispatch the
react-flow-expertsubagent for a source-citing deep answer or to build a React Flow / Svelte Flow feature.
The build/ Workflow re-mines the KB from local clones of the upstream repos (see DESIGN.md for the repo layout and the 4-phase extract → verify → synthesize → polish pipeline).
Original prose and tooling: BSD 3-Clause (see LICENSE).
The reference docs quote and cite MIT-licensed source from the xyflow project — see NOTICE for attribution.