Flow

react/react/.claude/skills/flow

by reactb618bbb44226No license250K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated yesterday

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

Instructions onlySoftware Development
AI-generated overview

Runs Flow type checking on React code and reports type errors with file locations.

What it does
This skill guides an agent through running Flow type checking via yarn commands, choosing a renderer such as dom-node, dom-browser, native, or fabric. It reports type errors with their file locations and can run a slower comprehensive check. It also lists common mistakes, including omitting the renderer, ignoring suppressions, and missing type imports.
When to use it
Use it when you need to run Flow type checking, or when Flow type errors appear in React code. It is intended for projects that already use Flow and yarn scripts.
Requirements
Requires a project with Flow configured and yarn scripts such as yarn flow and yarn flow-ci. No scripts are shipped; the skill is instructions only.

Flow Type Checking

Arguments:

  • $ARGUMENTS: Renderer to check (default: dom-node)

Renderers

RendererWhen to Use
dom-nodeDefault, recommended for most changes
dom-browserBrowser-specific DOM code
nativeReact Native
fabricReact 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

Source and attribution

Source:react/reactin.claude/skills/flowat commitb618bbb

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal