Automates Flow type checking and error reporting for React applications.

Install

mkdir -p .claude/skills/flow && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/570" && unzip -o skill.zip -d .claude/skills/flow && rm skill.zip

Installs to .claude/skills/flow

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
91 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Execute Flow type checking
  • Validate types across different renderers
  • Report file-specific type errors
  • Identify masking issues from suppressions

How it works

The skill executes yarn flow commands targeting specific renderers like dom-node or native to validate type consistency. It identifies errors by scanning code for type mismatches and checking for suppressed issues.

Inputs & outputs

You give it
Renderer type
You get back
List of file-specific type errors

When to use flow

  • Check types in a React project
  • Debug Flow type errors
  • Perform CI-style type validation

About this skill

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

When not to use it

  • When the project does not utilize Flow for type definitions

Limitations

  • Requires explicit renderer specification for non-default environments

How it compares

This workflow automates the execution of specific renderer-based type checks, whereas manual execution requires remembering and typing individual renderer arguments.

Compared to similar skills

flow side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
flow (this skill)76moNo flagsBeginner
react-best-practices223moNo flagsIntermediate
feature-flags66moReviewIntermediate
senior-qa62moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry