Skip to content
Back to skills

Investigate

ASecurity

Systematic debugging with root cause investigation. Use when debugging, investigating bugs, or tracing errors. Use before fixing any non-trivial bug.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgodebugging

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add imoonkey/yaco --skill investigate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Investigate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Investigate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/imoonkey-investigate/badge)](https://www.skillsdirectory.com/skills/imoonkey-investigate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: investigate
description: Systematic debugging with root cause investigation. Use when debugging, investigating bugs, or tracing errors. Use before fixing any non-trivial bug.
---

# Investigate

Phases 1-3 are INVESTIGATION ONLY — no code changes until the root cause is confirmed.

## Phases

1. **Reproduce & gather evidence.** Reproduce it. Define expected vs actual. Collect logs, traces, stack traces, repro steps.
2. **Form hypotheses.** Rank 1-3 by likelihood. Each MUST cite specific evidence (log line, stack frame, state value) — "maybe it's X" with no evidence is not a hypothesis.
3. **Test hypotheses.** Add temporary logging, inspect state, trace execution paths. Confirm or eliminate each. Still no fixes.
4. **Fix the root cause.** Fix only the confirmed cause, one atomic commit. Remove the debug instrumentation. If the fix is non-trivial, run a full plan → build → verify.
5. **Validate.** Confirm the original repro is gone and related tests pass. On failure, return to phase 2.

## Hard limits

- **Max 3 fix attempts.** If all fail, stop and report: what was tried, what was learned, what remains unknown.
- **Done = root cause identified + fix verified.** "Seems to work" is not done.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…