What problem does it solve?
This Skill provides a structured, four-phase approach to debugging, ensuring that the root cause of a bug is identified and understood before any fixes are implemented, preventing superficial solutions and recurring issues.
Core Features & Use Cases
- Root Cause Investigation: Systematically analyze error messages, reproduce bugs, review changes, and trace data flow.
- Pattern Analysis: Compare broken code against working examples and map dependencies.
- Hypothesis and Testing: Formulate and test single hypotheses with minimal changes.
- Implementation: Write failing tests and implement single, targeted fixes.
- Use Case: When a critical test fails in the CI pipeline, this Skill guides the developer through a rigorous process to pinpoint the exact line of code and logical error causing the failure, rather than making a quick, potentially incorrect, patch.
Quick Start
Use the systematic-debugging skill to investigate the recent test failure by following the 4-phase process.