Skills for Real Engineers. Straight from my .agents directory.
debugging-and-error-recovery
Agent skill fromaddyosmani/agent-skills
Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.
How to install debugging-and-error-recovery
npx skills add addyosmani/agent-skills# or add only this skill to Claude Code: copy the folder
skills/debugging-and-error-recovery/
# into
~/.claude/skills/debugging-and-error-recovery/ (all projects)
.claude/skills/debugging-and-error-recovery/ (one project)
1# Debugging and Error Recovery23## Overview45Systematic 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.67## When to Use89- Tests fail after a code change10- The build breaks11- Runtime behavior doesn't match expectations12- A bug report arrives13- An error appears in logs or console14- Something worked before and stopped working1516## The Stop-the-Line Rule1718When anything unexpected happens:1920```211. STOP adding features or making changes222. PRESERVE evidence (error output, logs, repro steps)233. DIAGNOSE using the triage checklist244. FIX the root cause255. GUARD against recurrence266. RESUME only after verification passes27```2829**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.3031## The Triage Checklist3233Work through these steps in order. Do not skip steps.3435### Step 1: Reproduce3637Make the failure happen reliably. If you can't reproduce it, you can't fix it with confidence.3839```40Can you reproduce the failure?41├── YES → Proceed to Step 242└── NO43 ├── Gather more context (logs, environment details)44 ├── Try reproducing in a minimal environment45 └── If truly non-reproducible, document conditions and monitor46```4748**When a bug is non-reproducible:**49…
Excerpt shown under the repository's MIT license.
More skills in agent-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
The open-source app everyone uses to manage agents at work
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
