What problem does it solve?
The diagnose skill helps you systematically find the root cause of hard bugs and performance regressions instead of guessing, by turning the problem into a repeatable feedback loop with a fast pass/fail signal.
Core Features & Use Cases
- Phase 1 feedback loop first: build a deterministic, agent-runnable signal (test, HTTP script, CLI fixture, Playwright assertions, trace replay, or a minimal harness) before hypothesising.
- Structured investigation: reproduce the exact user-reported failure, generate 3–5 falsifiable ranked hypotheses, then instrument only what can confirm or falsify those predictions.
- Fix with verification: implement the fix and lock it down with a regression test (or explicitly document when no correct test seam exists), then clean up instrumentation and record the winning hypothesis.
- Performance-focused mode: prioritize measurement and baselining before changes, using profiling/profiling-friendly instrumentation and bisection rather than broad logging.
Quick Start
Tell the assistant to diagnose the failure, and ask it to first build the tightest reproducible feedback loop for your failing test, request, CLI, trace, or UI action.