What problem does it solve? Hard bugs and performance regressions resist casual code reading; without a fast, deterministic pass/fail signal, debugging stalls. This Skill enforces a disciplined six-phase loop — feedback loop, reproduce, hypothesise, instrument, fix, regression test — so root causes are found systematically instead of by guesswork. ## Core Features & Use Cases - Feedback-loop construction: Ten ranked strategies for building an agent-runnable repro signal, from failing tests and CLI snapshots to Playwright scripts, fuzz loops, and git bisect harnesses. - Ranked falsifiable hypotheses: Forces 3-5 hypotheses with explicit predictions before any testing, avoiding single-hypothesis anchoring. - Tagged instrumentation and cleanup: Every debug log gets a unique [DEBUG-xxxx] prefix so removal is a single grep, and a post-mortem template captures root cause, fix, and prevention follow-ups. - Use Case: A user reports that a chat bar intermittently fails to expand. The Skill guides building a headless-browser loop that reproduces the glitch at a high rate, ranking hypotheses, instrumenting one variable at a time, writing a regression test at the correct seam, and filing a post-mortem in docs/post-mortems/. ## Quick Start Use the diagnose skill to build a feedback loop and root-cause the bug where the checkout total is occasionally wrong.