What problem does it solve?
Random patches and guesswork waste time and introduce new bugs by addressing symptoms instead of causes. This Skill provides a structured, pressure-resistant process to identify the true root cause of bugs, test failures, flaky behavior, build issues, and multi-component integration problems before any fix is applied.
Core Features & Use Cases
- Phase-driven workflow: four mandatory phases (Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, Implementation) that must be completed in order.
- Evidence-first techniques: reproduce reliably, add diagnostic instrumentation at component boundaries, trace data flow back through the call stack, and collect concrete evidence before proposing changes.
- Safe testing practices: single-hypothesis minimal changes, create a failing test before fixing, and clear rules for when to escalate to architectural review after repeated failures.
- Practical tools and examples: includes tracing guidance, defense-in-depth validation patterns, condition-based waiting patterns, and a bisection script to find test polluters.
Quick Start
Load the systematic-debugging skill, reproduce the issue, gather diagnostic evidence, form a single hypothesis, test with the smallest change, and create a failing test before implementing the fix.