What problem does it solve?
This Skill prevents guess-driven fixes by guiding you through evidence-based root-cause investigation for bugs, test failures, and unexpected behavior.
Core Features & Use Cases
- Root-Cause Investigation: Read complete errors, reproduce failures consistently, inspect recent changes, instrument component boundaries, and trace incorrect data back to its origin.
- Pattern-Based Diagnosis: Compare broken behavior with working examples, identify meaningful differences, and verify dependencies and assumptions.
- Hypothesis Testing: Form one testable hypothesis at a time, apply the smallest possible change, and validate results before proceeding.
- Guardrails for Reliable Fixes: Require regression tests, prohibit speculative multi-change fixes, and trigger architectural review after three unsuccessful attempts.
- Use Case: When a test fails unexpectedly, use this Skill to isolate the failure boundary, identify the originating cause, create a reproducing test, and implement only the verified root-cause fix.
Quick Start
Ask the systematic-debugging skill to investigate the root cause of the failing test using its four-phase process before proposing any code changes.