Advanced Bug Diagnosis
Implements a disciplined, multi-phase loop to identify, reproduce, and resolve complex software bugs and performance regressions.
The Advanced Bug Diagnosis skill provides a structured framework for tackling difficult software defects and performance bottlenecks. By prioritizing the creation of a fast, deterministic feedback loop—utilizing methods like failing tests, CLI mocks, or headless browser scripts—it ensures that developers spend less time guessing and more time validating. The skill guides Claude through systematic phases of reproduction, hypothesis testing with falsifiable predictions, and targeted instrumentation, ultimately leading to higher code quality and documented architectural insights that prevent future regressions.
Key Features
01Falsifiable hypothesis generation and ranking
02Automated regression test verification at the correct architectural seam
03Targeted instrumentation with unique log tagging for easy cleanup
04Performance regression bisection and measurement
050 GitHub stars
06Deterministic feedback loop construction (Tests, HTTP scripts, CLI mocks)
Use Cases
01Debugging non-deterministic 'flaky' bugs by increasing reproduction rates
02Identifying the root cause of sudden performance regressions in complex systems
03Systematically fixing legacy code issues where no test suite currently exists