What problem does it solve?
The diagnose skill solves the problem of difficult bugs and performance regressions by guiding users through a disciplined diagnosis loop that ensures thorough investigation and efficient resolution.
Core Features & Use Cases
- Disciplined Loop: Provides a systematic approach to debugging and performance troubleshooting with six clear phases: Build Feedback Loop, Reproduce, Hypothesise, Instrument, Fix + Regression Test, and Cleanup + Post-Mortem.
- Dynamic Feedback Loop: Encourages creating a feedback loop with methods ranging from failing tests to replaying traces.
- Minimisation and Hypothesising: Guides users to simplify issues and generate testable hypotheses.
- Instrumentation: Offers suggestions on debugging tools and techniques like debug logs and repl inspection.
- Regression Testing: Ensures the resolution of the problem through systematic testing before moving forward.
Quick Start
To use the diagnose skill, first create a reproducible loop for your bug. Then, iterate through the six-phase process to resolve your issue effectively.