React Flow Node Ts skill for Claude
Create React Flow node components with TypeScript types, handles, and Zustand integration.
When Claude uses it
Use when building custom nodes for React Flow canvas, creating visual workflow editors, or implementing node-based UI components.
React Flow Node Ts SKILL.md
The full skill file from microsoft/skills (MIT).
React Flow Node
Create React Flow node components following established patterns with proper TypeScript types and store integration.
Quick Start
Copy templates from assets/ and replace placeholders:
{{NodeName}}→ PascalCase component name (e.g.,VideoNode){{nodeType}}→ kebab-case type identifier (e.g.,video-node){{NodeData}}→ Data interface name (e.g.,VideoNodeData)
Templates
- assets/template.tsx - Node component
- assets/types.template.ts - TypeScript definitions
Node Component Pattern
export const MyNode = memo(function MyNode({
id,
data,
selected,
width,
height,
}: MyNodeProps) {
const updateNode = useAppStore((state) => state.updateNode);
const canvasMode = useAppStore((state) => state.canvasMode);
return (
<>
<NodeResizer isVisible={selected && canvasMode === 'editing'} />
<div className="node-container">
<Handle type="target" position={Position.Top} />
{/* Node content */}
<Handle type="source" position={Position.Bottom} />
</div>
</>
);
});
Type Definition Pattern
export interface MyNodeData extends Record<string, unknown> {
title: string;
description?: string;
}
export type MyNode = Node<MyNodeData, 'my-node'>;
Integration Steps
- Add type to
src/frontend/src/types/index.ts - Create component in
src/frontend/src/components/nodes/ - Export from
src/frontend/src/components/nodes/index.ts - Add defaults in
src/frontend/src/store/app-store.ts - Register in canvas
nodeTypes - Add to AddBlockMenu and ConnectMenu
How to install React Flow Node Ts
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit microsoft/skills/.github/plugins/azure-sdk-typescript/skills/react-flow-node-ts#main ~/.claude/skills/react-flow-node-tsCodex
npx degit microsoft/skills/.github/plugins/azure-sdk-typescript/skills/react-flow-node-ts#main ~/.codex/skills/react-flow-node-tsClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the React Flow Node Ts skill do?
Create React Flow node components with TypeScript types, handles, and Zustand integration. Use when building custom nodes for React Flow canvas, creating visual workflow editors, or implementing node-based UI components.
+How do I install React Flow Node Ts in Claude Code?
Copy the skill folder into ~/.claude/skills/react-flow-node-ts, for example with "npx degit microsoft/skills/.github/plugins/azure-sdk-typescript/skills/react-flow-node-ts#main ~/.claude/skills/react-flow-node-ts". Claude Code loads it automatically and uses it when a task matches.
+Does React Flow Node Ts work with ChatGPT or Codex?
Yes. React Flow Node Ts uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/react-flow-node-ts. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is React Flow Node Ts free?
React Flow Node Ts is published on GitHub by microsoft under the MIT license, which allows free use.