mcpField
V
verify

verify

github.com/reactTesting & quality251.7k1.2k installsUpdated today
Repository

About verify

A React verification skill that formats and lints changes first, then runs type checks and tests across source and www contexts. It stops at the first failure and reports the issue.

Key features

  1. 01Formats code with yarn prettier
  2. 02Lints changed files with yarn linc
  3. 03Runs type checks and tests in parallel
  4. 04Stops on failure and suggests fixes

Use cases

  1. 01Verify a set of React code changes
  2. 02Check changes in source and www contexts
  3. 03Find formatting, lint, type, or test failures

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/react/react --skill verify

After installing, type/verifyin Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported