What problem does it solve?
This skill prevents the common trap of applying random, ineffective patches to symptoms, which often leads to technical debt and new bugs. It enforces a disciplined, scientific approach to debugging that saves time by ensuring the actual root cause is identified and resolved.
Core Features & Use Cases
- Root Cause Mandate: Forces a structured investigation process before any code changes are proposed.
- Defense-in-Depth: Provides patterns for adding multi-layer validation to make bugs structurally impossible.
- Flaky Test Resolution: Includes specific techniques for replacing arbitrary timeouts with reliable condition-based waiting.
- Use Case: When a production service experiences intermittent failures, use this skill to trace the data flow backward from the error, identify the original trigger, and implement robust validation at every layer of the system.
Quick Start
Load the systematic-debugging skill and follow the four-phase framework to investigate the current test failure.