New advertisers: 50% off your first month with code FIRSTMONTHSee slots
addyosmani avatar

Debugging And Error Recovery

Guided root-cause debugging that triages failures, localizes the layer, and fixes the cause rather than the symptom.

skills.sh installs
77K
GitHub stars
119.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers a six-step triage flow: reproduce, localize, reduce, fix the root cause, guard against recurrence, and verify end-to-end
  • Includes layer-by-layer checklists for test, build, and runtime errors, plus git bisect for regression hunting
  • Enforces a stop-the-line rule: no new features until the failing test or broken build is resolved and verified
  • Designed for work where tests fail, builds break, or behavior diverges from expectations, and guessing would waste time

Install

$ npx -y skills add addyosmani/agent-skills --skill debugging-and-error-recovery -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Debugging and Error Recovery

Overview

Systematic debugging with structured triage. When something breaks, stop adding features, preserve evidence, and follow a structured process to find and fix the root cause. Guessing wastes time. The triage checklist works for test failures, build errors, runtime bugs, and production incidents.

When to Use

  • Tests fail after a code change
  • The build breaks
  • Runtime behavior doesn't match expectations
  • A bug report arrives
  • An error appears in logs or console
  • Something worked before and stopped working

The Stop-the-Line Rule

When anything unexpected happens:

1. STOP adding features or making changes
2. PRESERVE evidence (error output, logs, repro steps)
3. DIAGNOSE using the triage checklist
4. FIX the root cause
5. GUARD against recurrence
6. RESUME only after verification passes

Don't push past a failing test or broken build to work on the next feature. Errors compound. A bug in Step 3 that goes unfixed makes Steps 4-6 wrong.

The Triage Checklist

Work through these steps in order. Do not skip steps.

Step 1: Reproduce

Details

Repository
github.com/addyosmani/agent-skills
Category
Debugging
First seen
Apr 16, 2026

More from addyosmani/agent-skills

All 25

Similar to Debugging And Error Recovery

More Debugging