What problem does it solve?
This Skill addresses the common and costly issue of inefficient bug fixing by enforcing a structured, root-cause-driven investigation process, preventing wasted time and the introduction of new errors.
Core Features & Use Cases
- Systematic Root Cause Analysis: Guides users through a four-phase process to identify the fundamental reason for a bug, not just its symptoms.
- Error Message Interpretation: Emphasizes careful reading and understanding of error messages and stack traces.
- Reproducibility: Focuses on reliably reproducing the issue before attempting any fixes.
- Change Analysis: Integrates checking recent code changes (git diffs) as a key investigation step.
- Data Flow Tracing: Provides methods to trace data flow in complex, multi-component systems.
- Hypothesis Testing: Encourages forming and testing specific hypotheses with minimal changes.
- Architectural Questioning: Prompts users to question the underlying architecture when multiple fixes fail.
- Use Case: When a critical test fails in a CI/CD pipeline, this Skill ensures the engineer thoroughly investigates the error, reproduces the failure, checks recent commits, and traces the data flow to pinpoint the exact line of code or configuration issue causing the problem, rather than making a speculative change.
Quick Start
Use the systematic-debugging skill to investigate a test failure by carefully reading error messages and reproducing the issue.