Skip to content
Development
Skill

/flow

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

From plugin
react
250k14 skills4 agents
Install
$ npx -y skills add facebook/react --skill flow --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/flow

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

SKILL.md

flow.SKILL.md
name: flow
description: Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

Flow 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 `$FlowFixMe` comments are masking real issues
  • **Missing type imports** - Ensure types are imported from the correct package
Ships withreact

React is a JavaScript library for building user interfaces. Declarative: React makes it painless to create interactive UIs.

Get the whole plugin
Stats
250,484
Stars
51,355
Forks
Active
Maintenance
JavaScript
Language
MIT
License
10h ago
Last commit
13y ago
Created

Repo: facebook/react

Other skills on react.