What problem does it solve? Debugging often devolves into whack-a-mole symptom patching that makes the next bug harder to find. This Skill enforces a disciplined four-phase workflow (investigate, analyze, hypothesize, implement) with one iron law: no fixes without a confirmed root cause. ## Core Features & Use Cases - Root Cause Investigation: Collects symptoms, traces code paths with Grep/Read, checks recent git history, and reproduces the bug before forming any hypothesis. - Pattern Analysis & Hypothesis Testing: Matches bugs against known patterns (race conditions, null propagation, stale cache, config drift), optionally searches the web for sanitized error signatures, and enforces a 3-strike escalation rule. - Scope Lock & Regression Tests: Freezes edits to the affected directory to prevent scope creep, then requires a regression test that fails without the fix and passes with it. - Use Case: A user reports "the checkout total is wrong intermittently." The Skill traces the data flow, identifies a race condition in concurrent cart updates, locks edits to the checkout module, applies a minimal fix, and ships a regression test with a structured debug report. ## Quick Start Ask the assistant to investigate why a specific error or unexpected behavior is happening, providing the error message or reproduction steps.