What problem does it solve?
This Skill helps you debug production or staging failures by enforcing root-cause investigation before any code change, preventing whack-a-mole fixes.
Core Features & Use Cases
- Root-cause first (Iron Law): gathers symptoms and evidence, then formulates a specific, testable hypothesis before touching code.
- 5-phase workflow with structured output: collects signals, locks scope (optional), tests hypotheses, implements the minimal fix, and verifies with regression proof.
- 3-strike escalation: after three failed hypotheses, stops guessing and escalates for human review or adds instrumentation.
Use case: you deploy yesterday, and today a 500 error appears on a POST endpoint; run investigate to trace the regression, confirm the exact failing layer, and produce a DEBUG REPORT with a regression test.
Quick Start
Use /investigate with a clear description of the bug and its context (error message, endpoint, timeframe, and reproduction steps if known) to get a structured root-cause investigation plan and DEBUG REPORT.