investigate-first
Installation
SKILL.md
Investigate First: Disciplined Root-Cause Debugging
Enforce the Iron Law of Engineering: Never touch product code until you have reproduced the failure and proved the exact mechanism of the root cause.
Guesswork and speculative patching create architectural slop, hide subtle race conditions, and cause cascading regressions.
When to Use
- When encountering a bug, unexpected exception, test failure, or production incident.
- When an AI agent or developer is trapped in a loop modifying files without resolving the problem.
- Before opening a PR that claims to "fix" an issue.
When NOT to Use
- Greenfield feature development with no existing codebase.
- Purely aesthetic copy or cosmetic styling tweaks.