investigate
Installation
SKILL.md
Use this skill for any bug, test failure, or unexpected behavior.
Core Rule
No fixes before root cause evidence.
Investigation Flow
- Define expected behavior and observed behavior.
- Reproduce with minimal, deterministic steps.
- Gather evidence (logs, stack traces, recent changes, failing tests).
- Form ranked hypotheses.
- Validate one hypothesis at a time.
- Confirm root cause with a reproducible proof.
- Propose fix options with risk and verification plan.
Guardrails
- Stop and report if three consecutive hypotheses fail.
- Avoid broad speculative refactors during investigation.
- Keep a short investigation log in the response for traceability.