What problem does it solve?
This Skill provides a structured, four-phase process to systematically investigate and resolve bugs, test failures, and unexpected behavior, ensuring root causes are identified before any fixes are attempted.
Core Features & Use Cases
- Root Cause Investigation: Guides through careful error message analysis, reproduction steps, change tracking, and data flow tracing.
- Pattern Analysis: Helps compare broken code against working examples and understand dependencies.
- Hypothesis Testing: Encourages a scientific approach with single hypotheses and minimal, verifiable tests.
- Implementation: Ensures fixes target the root cause with regression tests and defines a "Rule of Three" to question architecture if multiple fixes fail.
- Use Case: When a critical test fails in production, this Skill ensures the team doesn't just patch the symptom but rigorously finds and fixes the underlying issue, preventing recurrence.
Quick Start
Use the systematic-debugging skill to investigate a test failure in the file 'src/user_auth.py'.