react-flow-architect – Coding skill for AI agents
Build production-ready ReactFlow applications with hierarchical navigation, performance optimization, and advanced state management.
Install the react-flow-architect skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/react-flow-architect-a6919.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /react-flow-architect – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/react-flow-architect-a6919.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $react-flow-architect – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/react-flow-architect-a6919.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /react-flow-architect – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/react-flow-architect-a6919.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /react-flow-architect – then describe the task you want done.
SKILL.md content
ReactFlow Architect
Build production-ready ReactFlow applications with hierarchical navigation, performance optimization, and advanced state management.
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Minimal Controlled Graph Example
Target React Flow v12 (@xyflow/react); use matching docs for older reactflow v11 projects. This is a starting component, not an implementation of hierarchy/history/persistence.
import { ReactFlow, useNodesState, useEdgesState, addEdge, type Connection } from '@xyflow/react';
import { useCallback } from 'react';
import '@xyflow/react/dist/style.css';
const initialNodes = [
{ id: '1', position: { x: 0, y: 0 }, data: { label: 'Start' } },
{ id: '2', position: { x: 250, y: 0 }, data: { label: 'Next' } },
];
export default function InteractiveGraph() {
const [nodes, , onNodesChange] = useNodesState(initialNodes);
const [edges, setEdges, onEdgesChange] = useEdgesState([]);
const onConnect = useCallback((connection: Connection) =>
setEdges(previous => addEdge(connection, previous)), [setEdges]);
return <div style={{ width: '100%', height: 500 }}>
<ReactFlow nodes={nodes} edges={edges} onNodesChange={onNodesChange}
onEdgesChange={onEdgesChange} onConnect={onConnect} fitView />
</div>;
}Install the reviewed compatible package version in the host project and run its typecheck/browser checks. Hooks such as useReactFlow need a ReactFlowProvider ancestor outside the component invoking them; the minimal example avoids that hook. No compile or browser execution is asserted here.
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- react-flow-node-ts – Create React Flow node components following established patterns with proper TypeScript…
- react-modernization – Master React version upgrades, class to hooks migration, concurrent features adoption…
- react-native-architecture – Architecture and integration patterns for React Native development with Expo, including…
- react-native-skills – Review React Native and Expo rendering, lists, animations, navigation and native UI…
- react-nextjs-development – React and Next.js 14+ application development with App Router, Server Components…
- react-patterns – Modern React patterns and principles. Hooks, composition, performance, TypeScript best…
- react-state-management – Master modern React state management with Redux Toolkit, Zustand, Jotai, and React…
- receiving-code-review – Code review requires technical evaluation, not emotional performance.