---
name: extract-errors
description: Use when adding new error messages to React, or seeing "unknown error code" warnings.
title: extract-errors
canonical_url: https://skilld.dev/gh/facebook/react/extract-errors
last_updated: 2026-09-27T22:04:40.000Z
---

> **Skill from skilld.dev.** Follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install facebook/react/extract-errors`. Install writes the Skill files into the project, so every session loads them.

# Extract Error Codes

## Instructions

1. Run `yarn extract-errors`
2. Report if any new errors need codes assigned
3. Check if error codes are up to date
