debugging-and-error-recovery
Systematically identifies and fixes the root cause of errors in code.
What it does
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. Use when asked what broke, why a test started failing, or why code throws, even when the diff, the function, or the stack trace is pasted inline and the cause looks obvious from reading it, so that the cause is named, the fix is minimal, and the reply says how to confirm it.
Quality judgment
A thorough, well-structured debugging skill with clear triggers, decision trees, concrete examples, anti-rationalization table, and even prompt-injection guidance for error output. Minor gaps: no guidance on when debugging is inappropriate (e.g., intentional failures), and examples lean JS/TS-specific despite claims of generality.