extract-errors
react/react
Extract and manage error codes in React development.
What is extract-errors?
A utility for React developers to extract error messages and assign error codes. Use it when adding new error messages to React or encountering "unknown error code" warnings to ensure all errors are properly tracked and coded.
- Extracts error messages from React codebase
- Assigns error codes to new messages
- Detects unassigned or unknown error codes
- Validates error code consistency
- Reports missing error code assignments
How to install extract-errors
npx skills add https://github.com/react/react --skill extract-errors- Yarn package manager installed
- Access to React repository
How to use extract-errors
- 1.Run `yarn extract-errors` in the React repository
- 2.Review the output for any new errors that need codes assigned
- 3.Check that all error codes are up to date
- 4.Address any missing or unknown error code warnings
Use cases
- Adding new error messages to React source code
- Resolving "unknown error code" warnings during development
- Auditing error code coverage in the codebase
- Ensuring error codes are up to date before releases
- Maintaining error message documentation
- React core contributors
- React library maintainers
- Developers adding features to React
- Teams managing error handling systems
extract-errors FAQ
Run it when adding new error messages to React or when you see "unknown error code" warnings in the codebase.
It reports which errors have codes assigned, which are new and need codes, and flags any unknown error codes.
You need write access to the React repository and Yarn installed to run the extraction process.
Yes, you can run `yarn extract-errors` as part of your build or pre-commit checks to validate error codes.
Full instructions (SKILL.md)
Source of truth, from react/react.
name: extract-errors description: Use when adding new error messages to React, or seeing "unknown error code" warnings.
Extract Error Codes
Instructions
- Run
yarn extract-errors - Report if any new errors need codes assigned
- Check if error codes are up to date
Related skills
More from react/react and the wider catalog.

fix
Fix lint errors and formatting issues before committing code.

react-expert
Authoritative React API research using source code, tests, and git history—not training data.

anthropic-cybersecurity-skills
754 structured cybersecurity skills mapped to MITRE ATT&CK, NIST CSF, ATLAS, D3FEND, and NIST AI RMF frameworks.

pentest-agents-bug-bounty-framework
Autonomous bug bounty framework with 50 agents, hunt loops, exploit chains, and platform integration for Claude Code and other AI coding tools.

pentest-ai-agents
35 specialized AI subagents for penetration testing, recon, exploit research, detection engineering, and security reporting.

agency-agents-ai-specialists
50+ specialized AI agent personalities for Claude Code, Cursor, Aider, and other coding tools.