What problem does it solve? Hard bugs and flaky performance regressions resist casual code reading; without a reproducible pass/fail signal, debugging devolves into guessing. This Skill enforces a disciplined six-phase diagnosis loop that builds a tight, deterministic reproduction before any hypothesis is tested. ## Core Features & Use Cases - Feedback Loop Construction: Builds a red-capable, deterministic, fast reproduction command using failing tests, curl scripts, CLI fixtures, headless browser scripts, trace replay, fuzz loops, or bisection harnesses. - Ranked Hypothesis Testing: Generates 3-5 falsifiable hypotheses, then instruments with tagged debug logs or debugger breakpoints, changing one variable at a time. - Regression Test & Cleanup Discipline: Writes the regression test before the fix at a correct seam, then removes all tagged instrumentation and throwaway prototypes. - Use Case: A user reports that an export endpoint intermittently throws a 500 error. The Skill guides building a curl-based loop that reproduces the failure, minimizing the repro, testing ranked hypotheses, and landing a fix with a regression test. ## Quick Start Ask the agent to diagnose the bug where the export button intermittently fails, and have it build a reproduction loop before proposing any fix.