What problem does it solve?
This skill helps software teams systematically diagnose and fix bugs by applying rigorous root-cause analysis, structured reproduction, and documented memory to prevent regressions.
Core Features & Use Cases
- Pre-Flight Diagnostics: Align context by reviewing memory, memory lessons, and bug register to surface known patterns.
- Root-Cause Prelude (Phase 0.5): Generate Top-3 candidates and choose the most plausible cause using disconfirming evidence.
- Phase 1 — Reproduce & Isolate: Write minimal reproduction steps and isolate the failing path, then form 2-3 hypotheses with evidence levels.
- Phase 2 — Fix & Validate: Apply root-cause fixes with minimal changes and verify via a structured loop of tests.
- Phase 3 — Verify with Loop: Run iterative tests until all pass, capturing regressions and confirmations.
- Phase 4 — Register & Learn: Update bug register and capture debugging lessons for future issues.
- Lessons & Process: Use the provided artifacts to improve future debugging.
Quick Start
Describe the bug concisely and run the /debug command to initiate the investigation workflow.