What problem does it solve?
Provides a disciplined, repeatable workflow to discover the true root cause of bugs, test failures, and unexpected runtime behavior so fixes address the underlying fault rather than superficial symptoms.
Core Features & Use Cases
- Reproduce & Observe: Capture exact error output, failing test traces, and the file:line of runtime exceptions to establish a reliable reproduction.
- Trace & Diagnose: Follow call chains upward and data origins backward, use git history or blame when intent is unclear, and apply the Five Whys to escalate from symptom to design assumption.
- Hypothesis-driven Testing: Generate 2–3 distinct hypotheses, gather targeted evidence, and report concise hypothesis results before changing code.
- Scope, Trade-offs & Minimal Fix: Classify fixes as in-scope, adjacent, or out-of-scope, weigh trade-offs, request user approval when appropriate, and aim for minimal, validated changes that resolve the whole class of failures.
Quick Start
Ask the skill to analyze a specific failing test or error by providing the full error output, relevant file:line, and any recent code changes so it can produce hypotheses, evidence-to-collect, and a recommended minimal fix.