What problem does it solve?
This Skill consolidates systematic debugging methodologies to tackle hard bugs that resist quick fixes, helping engineers identify root causes and reduce debugging time.
Core Features & Use Cases
- Rubber Ducking: verbalize the logic and compare expected versus actual behavior to reveal discrepancies.
- Code Flow Tracing: trace data through each transformation from input to output to identify where expectations diverge.
- Hypothesis Testing: generate 3-5 possible causes and 3-5 assumptions, then test to eliminate them.
- Logging: insert targeted logs at decision points and async boundaries to aid diagnosis, with cleanup after validation.
- Agent Investigation: spawn Explore agents to trace a specific code path and report back; use multiple advisor perspectives when stuck.
- Before Fixing: verify exact failing lines and understand why it fails before making changes.
- Related: Frontend Debugging
Quick Start
Start a debugging session by articulating a failing hypothesis, tracing the data flow from entry to failure, and adding minimal, targeted logs to capture key states.