skills/react-flow/SKILL.md
Analyze, repair, migrate, and scaffold @xyflow/react codebases. Use when users ask to debug React Flow behavior, fix node/edge state wiring, improve type safety or performance, upgrade legacy React Flow APIs, preserve persisted graph compatibility, or generate a complete React Flow starter from scratch.
npx skillsauth add fatih-developer/fth-skills react-flowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Execute this protocol in order. Keep fixes small, reversible, and validated.
ReactFlow, useNodesState, useEdgesState, addEdge, custom node/edge components).vite, next, TypeScript config, lint setup).Node and Edge type definitions.data schema stability, and custom type names.onNodesChange, onEdgesChange, and onConnect are correctly bound.nodeTypes and edgeTypes references stable.@xyflow/react.any for flow data payloads.references/CHECKLIST.md for systematic auditing.references/FIX_PATTERNS.md for common issue-to-fix mapping.references/EXAMPLES.md for prompt and output patterns.references/MIGRATION_CHECKLIST.md and references/API_RENAMES.md for upgrade work.references/MIGRATION_EXAMPLES.md for migration request patterns.templates/Flow.tsx.tmpl for baseline flow container.templates/nodeTypes.tsx.tmpl and templates/edgeTypes.tsx.tmpl for typed registries.templates/layout.ts.tmpl for deterministic starter layout behavior.templates/migration-plan.md.tmpl for patch-by-patch upgrade planning.templates/compat-adapter.ts.tmpl when backward compatibility is required.tools
Create, optimize, critique, and structure prompts for AI systems. Use this skill whenever the user is designing or improving a prompt, system prompt, coding prompt, image prompt, evaluation rubric, agent prompt, workflow prompt, or MCP-oriented prompt package. Also use it when the user asks to turn vague AI behavior into a precise instruction set, tool policy, agent spec, or prompt architecture.
testing
Assumption-first architecture review skill to stress-test project plans and expose hidden risks.
testing
Enforce and manage DESIGN.md specifications, extract design systems from URLs, and combine design reasoning with token roles to prevent drift.
testing
Forces the agent to act with a Claude-like product mindset, prioritizing user journey, UX states, and visual quality before coding.