What problem does it solve? Debugging often devolves into guesswork, random code changes, and fixes that address symptoms instead of root causes. This Skill enforces a disciplined investigation process that turns a bug report or stack trace into a confirmed root cause, a verified fix, and a permanent regression test. ## Core Features & Use Cases - Five-Phase Framework: Systematically reproduce the failure, narrow the search space, diagnose the root cause with ranked hypotheses, then fix and verify with targeted and full test suites. - Automated Regression Bisect: Use the --regression flag to run git bisect with a minimal reproducer test and pinpoint the exact commit that broke previously working behavior. - Quality Gates and Reports: Produce a structured debug report with root cause analysis, CQ/Q self-evaluation scores, adversarial review, and defense-in-depth guards. - Use Case: A user reports "checkout totals are wrong since last deploy." Invoke the skill with the error details; it classifies the bug, traces the call chain, confirms the root cause at a specific file and line, applies a minimal fix, and writes a regression test. ## Quick Start Ask the AI to debug the issue by pasting your error message or stack trace, or say "debug this regression with --regression" to bisect the breaking commit.