verify
π―Skillfrom facebook/react
Validates code changes by running formatting, linting, type checking, and testing across source and www directories.
Installation
npx skills add https://github.com/facebook/react --skill verifySkill Details
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
Overview
# Verification
Run all verification steps.
Arguments:
- $ARGUMENTS: Test pattern for the test step
Instructions
Run these first in sequence:
- Run
yarn prettier- format code (stop if fails) - Run
yarn linc- lint changed files (stop if fails)
Then run these with subagents in parallel:
- Use
/flowto type check (stop if fails) - Use
/testto test changes in source (stop if fails) - Use
/test wwwto test changes in www (stop if fails)
If all pass, show success summary. On failure, stop immediately and report the issue with suggested fixes.
More from this repository6
Automatically fixes code formatting and linting issues to ensure clean, compliant code before committing.
Runs React codebase tests across different release channels with configurable flags and test patterns.
Extracts and manages error codes for React, helping developers identify and assign unique codes to new error messages.
Manages React feature flags across channels, enabling targeted testing, gating, and debugging of experimental features with precise control.
Runs Flow type checking for React code, detecting type errors across different renderers like DOM, browser, and React Native.
Checks and compares feature flag states across different release channels with detailed visualization and debugging capabilities.