What problem does it solve?
Unstructured, ad-hoc debugging of hard bugs and performance regressions wastes developer time, leads to unreliable fixes, and often fails to address the root cause of elusive, intermittent issues.
Core Features & Use Cases
- Structured 6-Phase Diagnosis Loop: Guides users through building a deterministic feedback loop, reproducing the bug, generating falsifiable hypotheses, targeted instrumentation, implementing fixes with regression tests, and post-mortem cleanup.
- Non-Deterministic Bug Handling: Provides specific tactics to increase reproduction rates for flaky bugs that only appear intermittently under narrow conditions.
- Use Case: When a developer encounters a performance regression that only appears under high load, this skill guides them to build a timing harness, generate hypotheses about database query bottlenecks, instrument the code to measure query times, and implement a fix with a regression test to prevent the issue from recurring.
Quick Start
Use the diagnose skill to debug the reported performance regression in the checkout flow by following the structured 6-phase diagnosis loop.