What problem does it solve?
Debugging often devolves into guessing and patching symptoms, which creates recurring bugs and wasted effort. This Skill enforces a disciplined root cause investigation process so you fix the actual problem instead of playing whack-a-mole.
Core Features & Use Cases
- Four-Phase Investigation Workflow: Systematically moves through investigate, analyze, hypothesize, and implement phases with mandatory evidence gathering before any fix is written.
- Scope Lock & Safety Guardrails: Automatically restricts code edits to the affected module to prevent accidental changes elsewhere, with clear freeze and unfreeze controls.
- Pattern Matching & Learnings: Checks bugs against known failure patterns, searches prior session learnings for similar issues, and enforces a 3-strike rule to stop unproductive guessing.
- Use Case: When your staging environment throws a cryptic 500 error and git log shows recent changes to the auth module, this Skill guides you to trace the exact code path, verify the root cause with temporary instrumentation, and write a regression test before applying the minimal fix.
Quick Start
Use the investigate skill to debug the 500 error on the checkout page by first gathering the error logs and recent git changes before proposing any fix.