Design & FrontendOfficial · microsoft

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

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

  1. Add type to src/frontend/src/types/index.ts
  2. Create component in src/frontend/src/components/nodes/
  3. Export from src/frontend/src/components/nodes/index.ts
  4. Add defaults in src/frontend/src/store/app-store.ts
  5. Register in canvas nodeTypes
  6. 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-ts

Codex

npx degit microsoft/skills/.github/plugins/azure-sdk-typescript/skills/react-flow-node-ts#main ~/.codex/skills/react-flow-node-ts

Claude.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.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. Wiki Vitepress

    Official

    Packages generated wiki Markdown into a VitePress static site with dark theme, dark-mode Mermaid diagrams with click-to-zoom, and…

    microsoft/skills★ 3.2k
  5. Brand Guidelines

    Official

    Write copy following Sentry brand guidelines. Use when writing UI text, error messages, empty states, onboarding flows, 404 pages,…

    getsentry/skills★ 1.2k
  6. Pr Screenshots

    Official

    Capture screenshots of the Sentry UI in a web browser, lay them out in a pull request description as before/after tables, and upload them…

    getsentry/skills★ 1.2k
  7. Triage Frontend Issues

    Official

    Triage new issues in the Sentry `javascript` project by archiving non-actionable noise.

    getsentry/skills★ 1.2k
  8. N8n Subworkflows

    Build reusable, composable n8n sub-workflows. Use when extracting shared logic, building anything multi-step or reused across workflows, or…

    WilkoMarketing/antigravity-n8n-skills★ 108
  9. Brandkit

    Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world…

    Leonxlnx/imagegen-skills★ 86

See all design & frontend skills →

More skills from microsoft

  1. Skill Creator

    Official

    Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services.

    microsoft/skills★ 3.2k
  2. Slack To Teams

    Official

    Sub-skill of microsoft-365-agents-toolkit. Routed expert system with 100+ micro-expert files for migrating Slack bots to Teams,…

    microsoft/skills★ 3.2k
  3. Teams App Developer

    Official

    Builds, tests, and deploys Microsoft 365 apps and agents for Teams and Copilot.

    microsoft/skills★ 3.2k

All skills by microsoft →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.