react-flow-code-review

react-flow-code-review is a skill for Claude Code, Codex from existential-birds/beagle. It costs 57 tokens per session (1,942 once invoked), scanned A, original, Apache-2.0.

A code-review guide for React Flow, a React library for interactive diagrams made from connected nodes and links. It checks component setup, performance-related patterns, and reports findings with file and line evidence.

In plain words
What is it for?
Use it when reviewing code that imports @xyflow/react or uses React Flow providers, custom nodes, custom links, or node and link configuration.
Why use it?
It helps catch provider errors, unstable configuration, missing type information, and other mistakes that can make a node-based interface unreliable or slow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when reviewing code that imports @xyflow/react or uses React Flow providers, custom nodes, custom links, or node and link configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/existential-birds/beagle/react-flow-code-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add existential-birds/beagle --skill react-flow-code-review
Clone the repo
git clone --depth 1 https://github.com/existential-birds/beagle

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-flow-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/existential-birds/beagle/react-flow-code-review/github.svg)](https://agentmods.dev/skills/existential-birds/beagle/react-flow-code-review)
Your own site
<a href="https://agentmods.dev/skills/existential-birds/beagle/react-flow-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/react-flow-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-flow-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/existential-birds/beagle/react-flow-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/react-flow-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,942 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01942
Opus 5.5 $0.00023 $0.00777
Sonnet 5.5 $0.00011 $0.00388
Haiku 4.5 $0.00006 $0.00194

Measured 4d ago against content hash deb729e85e7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-flow-code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/react-flow-code-review/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

React Flow Code Review

When reviewing React Flow (@xyflow/react v12/v13) code, complete the gates below in order. Each step has an objective pass condition before moving on.

Review Gates (Sequenced)

  1. Locate flow code — Search the review scope for @xyflow/react, ReactFlow, ReactFlowProvider, useReactFlow, nodeTypes, edgeTypes, and @dagrejs/dagre. Pass: a list of file paths (or explicit "none in scope").
  2. Provider & container boundary — For each useReactFlow(), useNodesData(), useNodeConnections(), or store hook, trace the component tree to an enclosing <ReactFlowProvider> (or <ReactFlow />). Confirm the flow wrapper has explicit height/width and styles are imported. Pass: provider + container verified or concrete mismatch cited with file:line.
  3. Stable types, memoization & subscriptions — Confirm nodeTypes/edgeTypes are defined outside render or memoized, custom nodes/edges use memo() and typed NodeProps<T>/EdgeProps<T>, and components avoid subscribing to full nodes/edges arrays when targeted hooks suffice. Pass: stability and subscriptions verified or traps cited with file:line.
  4. Report with evidence — For each finding you deliver, record file path and line number(s) (plus a minimal quoted snippet). Pass: no critical or high-severity issue is stated without that citation.
  5. Close the checklists — Verify Critical Anti-Patterns, v12 / v13, SSR & Layout Checks, and Performance Checklist; mark each area satisfied, not applicable (with reason), or open with evidence.

Critical Anti-Patterns

1. Defining nodeTypes / edgeTypes Inside Components

Recreates the object reference on every render, causing React Flow to unmount and remount every node/edge.

// BAD - recreates object every render
function Flow() {
  const nodeTypes = { custom: CustomNode };
  return <ReactFlow nodeTypes={nodeTypes} />;
}

// GOOD - module scope (or useMemo with stable deps)
const nodeTypes = { custom: CustomNode };
function Flow() {
  return <ReactFlow nodeTypes={nodeTypes} />;
}

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · -154 lines · +13 tokens per session deb729e85e7e
  2. 2mo ago First seen · 239 lines · 44 tokens per session scan A c44eb0cec108

Subscribe to this mod's changes

react-flow-code-review is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,942 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-16.

Related

react-flow-code-review compared with skills from other repositories

react-flow-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-flow-code-reviewexistential-birds/beagleSkill914d agoApache-2.0A57Claude Code, Codex
code-changesJanDeDobbeleer/oh-my-poshSkill24k4d agoMITA48Claude Code, Codex
printing-press-output-reviewmvanhorn/cli-printing-pressSkill5.1ktodayMITA102Claude Code
establishing-code-ownershipPostHog/posthogSkill41ktodaynoneA94Claude Code, Codex
extending-hobby-smoke-testsPostHog/posthogSkill41ktodaynoneA83Claude Code, Codex
react-doctorPostHog/posthogSkill41ktodaynoneA32Claude Code, Codex
functions-developmentCrowdStrike/foundry-skillsSkill3810d agoMITA195Claude Code