What problem does it solve? Hard bugs and flaky performance regressions resist casual code reading; without a reproducible signal, developers guess at causes and apply fixes that don't stick. This Skill enforces a disciplined diagnosis loop that builds a tight, red-capable reproduction before any hypothesis is tested. ## Core Features & Use Cases - Feedback Loop Construction: Builds a fast, deterministic pass/fail signal using failing tests, curl scripts, CLI invocations, Playwright browser scripts, trace replays, fuzz loops, or git bisect harnesses. - Structured Six-Phase Process: Guides reproduction and minimization, ranked falsifiable hypothesis generation, one-variable-at-a-time instrumentation, regression-test-first fixing, and cleanup with post-mortem. - 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 button intermittently throws an error. The Skill builds a Playwright loop that reproduces the failure at a high rate, minimizes the scenario, tests ranked hypotheses with tagged debug logs, and lands a fix guarded by a regression test. ## Quick Start Ask the agent to diagnose the bug where the export button throws an error, and have it build a reproduction loop before proposing any fix.