What problem does it solve? When tests fail, builds break, or runtime behavior goes wrong, guessing at fixes wastes time and compounds errors. This Skill enforces a systematic stop-the-line process that preserves evidence, localizes the failure, fixes the root cause instead of symptoms, and guards against recurrence with regression tests. ## Core Features & Use Cases - Six-Step Triage Checklist: Reproduce, localize, reduce, fix the root cause, guard with a regression test, and verify end-to-end. - Error-Specific Decision Trees: Structured triage flows for test failures, build failures, and runtime errors, plus strategies for non-reproducible bugs (timing, environment, or state dependent). - Safe Fallback and Instrumentation Patterns: Graceful degradation code patterns, guidance on when to add or remove logging, and rules for treating error output as untrusted data. - Use Case: A previously passing test suite breaks after a refactor. Use this Skill to reproduce the failure, bisect the offending commit with git bisect, reduce to a minimal failing case, fix the underlying cause, and add a regression test before resuming feature work. ## Quick Start Use the debugging-and-error-recovery skill to triage this failing test and find its root cause before fixing it.