What problem does it solve?
This Skill helps you systematically diagnose hard bugs and performance regressions when staring at code is not enough.
Core Features & Use Cases
- Feedback loop first: Build an agent-runnable pass/fail signal (failing test, curl/HTTP script, CLI fixture diff, headless browser assertions, trace replay, or a minimal harness) before changing anything else.
- Structured investigation phases: Reproduce, generate 3–5 falsifiable hypotheses, instrument with targeted probes, and then fix with a regression test where a correct seam exists.
- Perf-aware measurement: Establish a baseline and bisect/measure first instead of relying on logs for performance regressions.
- Cleanup and post-mortem: Remove debug instrumentation and document what would have prevented the issue, including architecture handoff when testing seams are missing.
Quick Start
Use it when you need to diagnose this by running a structured loop: reproduce the failure with a reliable feedback signal, rank falsifiable hypotheses, instrument a single variable at a time, fix the root cause, and lock it in with a regression test.