debugging-investigatorlisted
Install: claude install-skill alphasafal/production-agent-skills
# Purpose
Turn debugging into an auditable, evidence-driven investigation instead of a
sequence of speculative edits. Every claim about the cause of a bug must be
backed by observed evidence before it is acted on.
# When to use
- A bug, crash, failing test, or incident has been reported and the cause is
not yet known.
- Behavior changed after a deploy, dependency upgrade, or config change and
the trigger isn't obvious from the diff alone.
- "Works on my machine" / intermittent / hard-to-reproduce failures.
# When NOT to use
- The user is asking a conceptual question ("what is a race condition?") with
no actual failure to investigate — just answer it.
- The task is "add feature X" with no reported defect.
- The root cause is already known and stated by the user, and they've only
asked for the fix to be applied — implement it directly, referencing this
skill's regression-check step only.
# Required inputs
- A description of the observed failure (error message, stack trace, failing
test name, or behavioral symptom).
- Access to reproduce it: a repo, a failing test command, logs, or a way to
exercise the code path.
If these are missing, the first workflow step (OBSERVE) is how you get them —
ask the user rather than guessing.
# Workflow
Work through these steps in order. Do not skip from OBSERVE straight to a fix.
1. **OBSERVE** — Record the exact symptom: error text, stack trace, failing
assertion, or metric anomaly. Note when it started and what chan