react-flow-node-ts

Create React Flow node components with TypeScript types and Zustand store integration.

Updated Aug 10, 2026
One-click install
npx skills add https://github.com/Eng-suso/BK-GPT --skill react-flow-node-ts-eng-suso
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: react-flow-node-ts
Source: https://github.com/Eng-suso/BK-GPT/tree/main/.claude/skills/react-flow-node-ts
Command: npx skills add https://github.com/Eng-suso/BK-GPT --skill react-flow-node-ts-eng-suso

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve? Building custom nodes for a React Flow canvas requires repetitive boilerplate: TypeScript data interfaces, handle placement, NodeResizer wiring, and store integration. This Skill provides templates and patterns so each new node follows the same established conventions. ## Core Features & Use Cases - Node Component Templates: Copy-ready templates for node components with handles, NodeResizer, and selection state. - TypeScript Type Patterns: Standard patterns for node data interfaces and typed Node definitions. - Zustand Store Integration: Nodes connect to the app store for updates and canvas mode awareness. - Use Case: When adding a new block type (e.g., a video node) to a visual workflow editor, generate the component, types, and registration steps consistently. ## Quick Start Ask the AI to create a new React Flow node component for your canvas using the provided templates and integration steps.

Frequently Asked Questions about react-flow-node-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a custom React Flow node in TypeScript?▼

Define a data interface extending Record<string, unknown>, create a typed Node with your type identifier, then build a memoized component that renders Handle components for connections. Register the component in the canvas nodeTypes map.

How to add connection handles to a React Flow node?▼

Import Handle and Position from React Flow, then render a Handle with type="target" for inputs and type="source" for outputs, setting the position (Top, Bottom, Left, Right) for each connection point.

Can React Flow nodes connect to a Zustand store?▼

Yes, nodes can select store state and actions with useAppStore hooks, such as an updateNode action for persisting changes and a canvasMode value to control editing behavior like resizer visibility.

How do I make a React Flow node resizable?▼

Render the NodeResizer component inside your node and control its visibility with the isVisible prop, typically tied to the node's selected state and the current canvas editing mode.

Where should custom React Flow node types be registered?▼

Register the component in the canvas nodeTypes map, export it from the nodes index file, add its type definition to the shared types module, and include defaults in the store plus entries in any add-node menus.