extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
$ npx -y skills add facebook/react --skill test --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/testContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
name: test description: Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
Run tests for the React codebase.
Arguments:
Usage Examples:
Release Channels:
Instructions: 1. Parse channel from arguments (default: source) 2. Map to yarn command:
3. Report test results and any failures
Hard Rules: 1. **Use --silent to see failures** - This limits the test output to only failures. 2. **Use --no-watchman** - This is a common failure in sandboxing.
Common Mistakes:
React is a JavaScript library for building user interfaces. Declarative: React makes it painless to create interactive UIs.
Repo: facebook/react
Use when adding new error messages to React, or seeing "unknown error code" warnings.
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.