What problem does it solve? Debugging elusive bugs often devolves into guessing, random log-grepping, and unfounded hypotheses. This Skill enforces a disciplined six-phase diagnostic loop that starts by building a tight, deterministic pass/fail signal before any hypothesis is formed, so fixes are grounded in reproducible evidence. ## Core Features & Use Cases - Feedback Loop Construction: Ten ordered methods for building a red/green signal, from failing tests and curl scripts to headless browser automation, trace replay, fuzzing, git bisect fixtures, and differential runs. - Structured Diagnosis Phases: Reproduce and minimize, generate 3-5 ranked falsifiable hypotheses, instrument with tagged debug logs, fix with regression tests, and clean up with a postmortem. - Human-in-the-Loop Fallback: A bash template script guides users through manual reproduction steps when automation is impossible, capturing structured observations back to the agent. - Use Case: A user reports that the export button intermittently fails in production. The Skill builds a deterministic reproduction loop, minimizes the failing scenario, tests ranked hypotheses one variable at a time, and lands a fix with a regression test. ## Quick Start Use the diagnosing-bugs skill to diagnose why the checkout flow throws an intermittent error and build a failing test that reproduces it.