verify

Run formatting, linting, Flow type checks, and tests for React contributions.

247k|51.2k|Updated May 24, 2013
One-click install
npx skills add https://github.com/facebook/react --skill verify-facebook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verify
Source: https://github.com/facebook/react/tree/main/.claude/skills/verify
Command: npx skills add https://github.com/facebook/react --skill verify-facebook

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when you want to validate changes before committing, or when you need to check all React contribution requirements.

Core Features & Use Cases

  • Run a complete verification pipeline: formatting, linting, type checks, and tests.
  • Validate both source and www contributions to ensure consistency across builds.
  • Use case: A contributor runs verification before submitting a PR to catch issues early.

Quick Start

Run the verification workflow by executing the following steps locally:

  • yarn prettier
  • yarn linc
  • yarn flow
  • yarn test
  • yarn test www

Frequently Asked Questions about verify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify React contributions before committing code changes?

To verify React contributions before committing, run a full verification pipeline covering formatting, linting, Flow type checks, and tests for both source and www builds. This validates all requirements and catches issues early.

What is the best way to run linting and Flow type checks for React source code?

Running linting and Flow type checks for React source code is best done through a complete verification pipeline executing yarn linc and yarn flow commands sequentially to ensure type safety and code standard compliance.

Does the React verification pipeline support both source and www builds?

Yes, the React verification pipeline validates both source and www builds. It executes formatting, linting, Flow type checks, and tests across both configurations to ensure consistency before you commit.

How do I run tests and formatting checks before submitting a React PR?

To run tests and formatting checks before submitting a React PR, execute yarn prettier for formatting and yarn test followed by yarn test www. This ensures your contribution passes all build requirements.

Why does my React contribution fail verification and how do I get actionable fixes?

React contribution verification fails when formatting, linting, Flow type checks, or tests detect issues. The pipeline provides clear failure reporting with actionable fixes, using parallel task execution to quickly identify problems.

Can I use this verification workflow for deterministic execution of React tests?

Yes, you can use this verification workflow for deterministic execution of React tests. It satisfies deterministic execution of verification steps with parallel task execution, ensuring consistent and reliable validation results.