What problem does it solve? Hard bugs and flaky performance regressions resist casual code reading; without a reproducible signal, debugging devolves into guessing. This Skill enforces a disciplined diagnosis loop that builds a tight pass/fail 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, Playwright browser automation, trace replay, fuzz loops, or git bisect harnesses. - Structured Six-Phase Process: Guides reproduction and minimization, ranked falsifiable hypothesis generation, single-variable instrumentation with tagged debug logs, regression-test-first fixing, and cleanup verification. - Human-in-the-Loop Fallback: Ships a bash template (scripts/hitl-loop.template.sh) that drives a human through manual reproduction steps and captures observations as parseable KEY=VALUE output. - Use Case: A user reports that the export endpoint intermittently returns corrupt files. The Skill builds a curl loop that reproduces the failure at a high rate, minimizes the input, tests ranked hypotheses one variable at a time, and lands a regression test with the fix. ## Quick Start Ask the agent to diagnose the failing export endpoint by building a reproduction loop and following the diagnosing-bugs workflow.