What problem does it solve?
This Skill provides a structured approach to diagnose hard bugs and performance regressions, guiding users through a systematic process to efficiently find and fix issues.
Core Features & Use Cases
- Disciplined Diagnosis Loop: A step-by-step process for reproducing, hypothesizing, and fixing bugs.
- Build a Feedback Loop: Focuses on creating a reliable reproducible test to accelerate debugging.
- Reproduce the Bug: Ensures the loop accurately reflects the user's description of the issue.
- Hypothesize Causes: Encourages forming falsifiable hypotheses based on observations.
- Instrumentation: Uses targeted debugging tools and logging for precise information.
- Fix and Regression Test: Implements fixes and verifies them with regression tests.
- Cleanup and Post-Mortem: Ensures a clean and informative bug fix for future reference.
Quick Start
To diagnose a performance issue, use the diagnose skill and follow the steps: build a feedback loop, reproduce the issue, hypothesize causes, instrument the code, fix the issue, and regression test the solution.