What problem does it solve?
It solves ineffective, trial-and-error debugging by enforcing a structured workflow that turns uncertainty into reproducible evidence and validated fixes.
Core Features & Use Cases
- Reproduce first to capture exact expected vs actual behavior before changing anything.
- Isolate with targeted investigation using boundaries, logging, and regression tools like git bisect.
- Validate root cause with predictive theory and a test case that proves correctness before any fix is accepted.
- Fix with safety constraints by writing a failing test and making the minimum change that resolves the underlying issue.
Use Case: When a bug appears after an upgrade and you keep changing the wrong things, this skill guides you to reproduce reliably, locate the divergence, confirm the violated assumption, and implement a test-backed minimal fix.
Quick Start
Run spectra-debug with a clear description of the bug, such as the steps to trigger it and what you expected versus what actually happens.