What problem does it solve?
Diagnose helps you systematically find the root cause of hard-to-reproduce bugs and performance regressions when the system behavior is unclear or failing.
Core Features & Use Cases
- Disciplined feedback loop: Build a deterministic pass/fail signal so you can minimize time spent reading code and maximize time spent testing hypotheses.
- Reproduce → hypothesize → instrument → fix: Use a structured sequence that confirms the failure mode, ranks falsifiable hypotheses, and validates changes with targeted probes.
- Regression test and cleanup: Lock in the fix by writing the regression test (when a correct seam exists) and removing all debug instrumentation afterward.
- Use case: When users report that a feature started throwing errors after a change or that response time regressed, run the skill to create a loop that reliably triggers the issue and converts it into a measurable, testable correction.
Quick Start
Ask the agent to diagnose the bug by creating the fastest deterministic repro loop, then use it to reproduce the exact failure, rank falsifiable hypotheses, instrument with targeted changes, apply a fix, and confirm the regression test (or document that no correct test seam exists).