OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add existential-birds/beagle --skill react-flow-advanced
Advanced React Flow patterns for complex use cases. Use when implementing sub-flows, custom connection lines, programmatic layouts, drag-and-drop, undo/redo, or complex state synchronization.
npx skills add existential-birds/beagle --skill react-flow-advanced
Use these as sequenced checks—not “I think it works.”
parentId matches an existing node id; the parent type is registered in nodeTypes; child positions are relative to the parent as intended (spot-check one drag inside/outside the group).connectionStatus visibly differs; path renders without console errors from getSmoothStepPath (invalid coords).onDragOver always preventDefault(); drop position uses screenToFlowPosition (not raw clientX/clientY as flow coords); new node appears under the cursor on the pane.{ nodes, edges }; redo restores; rapid changes do not leave canUndo/canRedo inconsistent with visible graph (exercise add → undo → redo once).setNodes, node positions match intended rankdir; fitView runs after layout (e.g. requestAnimationFrame) so the viewport is not stale.useStore with objects use shallow (or equivalent) so unrelated store updates do not re-render every frame.