diagnose - Disciplined diagnosis loop for hard bugs and regressions.
Executes a structured six-phase loop to reproduce, instrument, fix, and regression-test hard bugs and performance regressions.
Tags
Updated: 2026-09-18Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Build deterministic feedback loop
- Reproduce reported failure mode
- Generate ranked falsifiable hypotheses
- Instrument targeted probes
- Apply bug fix
- Run regression test
- Clean up debug instrumentation
Inputs
- Bug report or failure description
- Project codebase and domain glossary
- Execution environment or repro server
- Captured traces or diagnostic artifacts
Outputs
- Verified bug fix
- Regression test case
- Post-mortem summary in commit message
- Cleaned codebase without debug instrumentation
- Architecture improvement recommendation
Requirements
- Environment capable of running test harnesses or scripts
- Access to bug reproduction environment
