What problem does it solve?
This Skill provides a structured framework to systematically investigate and resolve bugs, test failures, and unexpected behavior by focusing on root cause analysis before implementing fixes.
Core Features & Use Cases
- Systematic Debugging: A four-phase approach (Investigation, Pattern Analysis, Hypothesis & Testing, Implementation) to ensure thorough problem-solving.
- Root Cause Tracing: Techniques to trace errors backward through call stacks to pinpoint the origin of invalid data.
- Defense-in-Depth: Strategies for adding validation at multiple layers to prevent bugs from recurring.
- Verification Protocols: Ensuring fixes are validated before claiming completion.
- Use Case: When a critical test fails unexpectedly, use this Skill to meticulously trace the error, identify the exact line of code causing the issue, implement a targeted fix, and verify its effectiveness.
Quick Start
Use the debug skill to systematically investigate the root cause of the latest test failure.