verify — Claude Code skill: what it does, how to install
Validates code changes against React repository requirements before committing. Runs Prettier, linter, Flow type checks, and tests.
npx skills add react/react --skill verify -a claude-codeWhat verify does
The verify skill runs pre-commit checks required by the React repository. It first executes yarn prettier to format code, followed by yarn linc to lint modified files. Any failure on these initial steps halts the run immediately.
Next, the skill dispatches subagents to run parallel tasks: type checking via /flow, testing source code with /test, and verifying www with /test www. You can pass a test pattern in arguments to target specific test suites. If every check succeeds, it prints a summary report; if anything fails, it stops and suggests fixes. This workflow relies strictly on Flow and Yarn within the React repository.
What it helps with
- format code using
yarn prettier - lint modified files with
yarn linc - validate types using Flow subagents
- run core and www test suites with pattern filtering
Example prompts for the agent
- Run verify before committing my changes
- Run verify with test pattern Fiber
How to install verify
1Skills CLI (Vercel)
npx skills add react/react --skill verify -a claude-code2Manually: put the files in place
~/.claude/skills/verify/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/verify/
1Skills CLI (Vercel)
npx skills add react/react --skill verify -a codex2Manually: put the files in place
.agents/skills/verify/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add react/react --skill verify -a cursor2Manually: put the files in place
.cursor/skills/verify/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install react/react verify2Manually: put the files in place
.github/skills/verify/SKILL.md1Skills CLI (Vercel)
npx skills add react/react --skill verify -a gemini-cli2Platform CLI
gemini skills install https://github.com/react/react --path .claude/skills/verifyManually: put the files in place
.devin/skills/verify/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add react/react --skill verify -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set4
The whole set →Similar
Questions about verify
How to install verify in Claude Code?
Run npx skills add react/react --skill verify -a claude-code in your terminal.
What does the verify skill do?
It enforces React contribution checks by running Prettier, linc, Flow type checking, and unit tests.
What happens if a check fails?
The execution stops immediately. The skill then reports the failure and provides suggested fixes.
Source text
SKILL.md · MIT
--- name: verify description: Use when you want to validate changes before committing, or when you need to check all React contribution requirements. --- # 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.
© react · MIT · react/react