1. Habit
  2. Skills
  3. Extract Errors skill
react · 1K installs

Extract Errors skill
Runs by itself, pull request opened.

Every new error gets a code.

Install the Extract Errors skill and make it a habit: follow https://gethabit.dev/skills/react/extract-errors.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

1K installs252K starsMIT licenceSource on GitHub ↗

Extract Errors

by react · 1K installs

The skill

The extract errors skill runs the React error code extraction, reports new error messages that need codes and checks that codes are up to date.

Only when you ask.

The habit

Every new error gets a code.

↻ Runs by itselfpull request opened

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one pull request per run, with no retries.

  1. 01

    Read the log

    The agent reads which error messages were flagged before.

  2. 02

    Extract errors

    It runs yarn extract-errors on the branch.

  3. 03

    Report new errors

    It lists every new error message that still needs a code.

  4. 04

    Check the codes

    It confirms the error codes are up to date, or sends a note on the pull request run.

  5. 05

    Log the result

    The flagged messages and the outcome go into the run log.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Extract Errors skill helps.

Use it when

  • ✓ You add new error messages to React
  • ✓ You see unknown error code warnings
  • ✓ You review a React pull request

Skip it when

  • – You do not work in the React repository
  • – Your change adds no error messages

Questions

Extract Errors skill, answered.

Does the loop assign codes itself?

No. The skill only reports new errors that need codes, so the loop reports them too.

When does it help most?

When a change adds new error messages, or when you see unknown error code warnings.

How do I install the Extract Errors skill?

Copy the prompt at the top into your agent. It installs the skill from react/react and sets up the habit. Or run npx skills add react/react --skill extract-errors.

Is the Extract Errors skill free?

Yes. It is published under MIT. Habit is free too.

Extract Errors. Now as a habit.

Install the Extract Errors skill and make it a habit: follow https://gethabit.dev/skills/react/extract-errors.md

  • Free
  • No account
  • Undo in one line

All react skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by react, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.