What problem does it solve? When a test fails for a non-obvious reason or behavior is unexpected, guessing at fixes wastes time and often patches symptoms while the real bug survives. This Skill runs a disciplined root cause investigation so the actual cause is proven by evidence before any code changes. ## Core Features & Use Cases - Structured investigation loop: Reproduce the bug deterministically, localize it by bisecting code paths or git history, then test one falsifiable hypothesis at a time until the cause is confirmed. - Minimal root cause fixes: Applies the smallest targeted change that addresses the proven cause, with no opportunistic refactors or scope creep. - Regression protection: Verifies the fix against the original reproduction and surrounding test suite, adds a regression test, and greps for sibling occurrences of the same root cause. - Use Case: A CI test fails intermittently with a timezone-related error. The Skill captures the symptom, makes the failure deterministic, bisects to the date parsing code, proves the cutoff is off by the timezone offset, fixes the parsing, and adds a regression test. ## Quick Start Run the debug skill to find and fix the root cause of this failing test, then add a regression test.