facebook avatar

Verify

This handles the full pre-commit validation dance for React contributions: prettify, lint, then kicks off type checking and testing in parallel using subagents. It's smart about the sequence, running formatting and linting first before spinning up parallel workers for Flow type checks and tests in both source and www directories. The parallel execution is the real win here since type checking can take forever. Stops immediately on any failure and suggests fixes instead of wasting your time running everything. Basically wraps up all the annoying CI steps you'd run anyway into one command so you catch issues locally before pushing.

skills.sh installs
1.1K
GitHub stars
246.5K
last updated
Jul 14, 2026

Install

$ npx -y skills add facebook/react --skill verify --agent claude-code

Installs into .claude/skills of the current project.

Files

Verification

Run all verification steps.

Arguments:

  • $ARGUMENTS: Test pattern for the test step

Instructions

Run these first in sequence:

  1. Run yarn prettier - format code (stop if fails)
  2. Run yarn linc - lint changed files (stop if fails)

Then run these with subagents in parallel:

  1. Use /flow to type check (stop if fails)
  2. Use /test to test changes in source (stop if fails)
  3. Use /test www to test changes in www (stop if fails)

If all pass, show success summary. On failure, stop immediately and report the issue with suggested fixes.

Sponsors

Details

Repository
github.com/facebook/react
Category
Frontend Development

More from facebook/react

All 8
1facebook avatarfeature-flagsfacebook/reactfeature flags1Kskills.sh installs
2vercel avatarauthoring-skillsvercel/next.jsauthoring skills1Kskills.sh installs
3angular avatarreference-coreangular/angularExplains the mental model and architecture of the code under `packages/core`. You MUST use this skill any time you plan to work with code in `packages/core`992skills.sh installs
4vercel avatarruntime-debugvercel/next.jsruntime debug990skills.sh installs
5facebook avatarflagsfacebook/reactflags942skills.sh installs
6angular avataradev-writing-guideangular/angularComprehensive writing guide for Angular documentation (adev). Covers Google Technical Writing standards, Angular-specific markdown extensions, code blocks, and 914skills.sh installs