Labsco
react logo

verify

✓ Official246,200

by facebook · part of react/react

Pre-commit validation for React contributions with parallel type checking and testing. Runs formatting and linting sequentially, stopping on first failure to catch issues early Executes type checking and dual test suites (source and www) in parallel using subagents for efficiency Accepts optional test pattern argument to filter which tests run Provides detailed failure reporting with suggested fixes when any step fails

🔥🔥✓ VerifiedFreeQuick setup
🔒 Repo-maintenance skill. It exists to help maintain react/react itself — it's only useful if you contribute code to that project.

Pre-commit validation for React contributions with parallel type checking and testing. Runs formatting and linting sequentially, stopping on first failure to catch issues early Executes type checking and dual test suites (source and www) in parallel using subagents for efficiency Accepts optional test pattern argument to filter which tests run Provides detailed failure reporting with suggested fixes when any step fails

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.


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.