Claude Code verify skill for React contribution checks
In the React source workspace, check formatting and changed-file rules before Flow, source tests, and www tests.
中文Install in Claude Code
A React source workspace with its dependencies ready. Keep `.claude/skills/flow/SKILL.md` and `.claude/skills/test/SKILL.md` from the same pinned revision.
- Review `.claude/skills/verify/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/verify/` in your project and save the reviewed file as `.claude/skills/verify/SKILL.md`.
- Start Claude Code from that project's root, then select `/verify` in the slash menu.
Example task
Invoke /verify and use these fictional verification records to check the failure report. Restrict tests to the supplied pattern.
case `react-contribution-check`
pattern `ReactDOMComponent` | formatter passes | changed-file lint passes
Flow passes | source tests pass | www test fails at modified display fixtureWhat to check
Record passing formatting and lint, then fail `ReactDOMComponent` on `www test fails at modified display fixture`. Suggest reviewing that fixture and do not report an overall pass.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can I use this workflow to check an arbitrary React project?
It uses the React repository's own scripts and two companion skills. Give a relevant test pattern within the React source workspace.