What problem does it solve? When facing bugs, test failures, or unexpected behavior, it is tempting to guess at fixes or apply quick patches without understanding the underlying issue. This Skill enforces a disciplined debugging methodology that requires identifying the root cause with evidence before any code changes are proposed, preventing wasted effort and recurring defects. ## Core Features & Use Cases - Hard Gate on Fixes: Blocks any fix proposal until the root cause is identified with concrete evidence, eliminating shotgun debugging. - Four-Phase Method: Guides a structured workflow of reproduce, investigate, hypothesize, and fix, including writing a failing test before implementing the fix. - Red Flag Detection: Surfaces common anti-patterns like "let me just try changing X" or "quick fix for now" and redirects back to investigation. - Use Case: A test suite suddenly fails after a refactor. Instead of tweaking assertions, the Skill walks through checking recent git changes, tracing data flow to the failure point, forming a single testable hypothesis, and only then writing a regression test and fix. ## Quick Start Use the debug skill to investigate why the login integration test is failing and find the root cause before proposing any fix.