flow
react/react · Agent Skill
Checks types in React code using Flow, helping to identify and fix typing errors.
Jump to install ↓Install options
The review-first prompt is selected by default. You can switch to a direct command.
Copy the prompt, paste it into Claude, Codex, or another assistant, and it will review the skill page and install it.
I'd like to install this Claude Code skill: https://github.com/react/react/tree/main/.claude/skills/flow Please review the SKILL.md file, verify the skill is legitimate, then copy the skill folder into .claude/skills/ of my project.
A direct command skips the review — inspect the source first.
npx skills add https://github.com/react/react/tree/main/.claude/skills/flow
Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.
SKILL.md contents
Original author text · read-onlyFlow Type Checking
Arguments:
- $ARGUMENTS: Renderer to check (default: dom-node)
Renderers
| Renderer | When to Use |
|----------|-------------|
| dom-node | Default, recommended for most changes |
| dom-browser | Browser-specific DOM code |
| native | React Native |
| fabric | React Native Fabric |
Instructions
1. Run yarn flow $ARGUMENTS (use dom-node if no argument)
2. Report type errors with file locations
3. For comprehensive checking (slow), use yarn flow-ci
Common Mistakes
- Running without a renderer - Always specify or use default
dom-node - Ignoring suppressions - Check if
$FlowFixMecomments are masking real issues - Missing type imports - Ensure types are imported from the correct package