Tooluck logoTooluck
SKILL.md

dev-debug

Agent skill fromcodeaholicguy/ai-devkit

AI DevKit · Guide structured debugging before code changes by clarifying expected behavior, reproducing issues, identifying likely root causes, and agreeing on a fix plan with validation steps. Use when users ask to debug bugs, investigate regressions, triage incidents, diagnose failing behavior, handle failing tests, analyze production incidents, investigate error spikes, or run root cause analysis (RCA).

How to install dev-debug

install dev-debug
# install the ai-devkit pack with the skills CLI
npx skills add codeaholicguy/ai-devkit

# or add only this skill to Claude Code: copy the folder

skills/dev-debug/

# into

~/.claude/skills/dev-debug/ (all projects)

.claude/skills/dev-debug/ (one project)

skills/dev-debug/SKILL.md

Apache-2.0Full file
1# Local Debugging Assistant
2
3Debug with an evidence-first workflow before changing code.
4
5## Hard Rule
6- Do not modify code until the user approves a selected fix plan.
7
8## Workflow
9
101. Clarify
11- Restate observed vs expected behavior in one concise diff.
12- Confirm scope and measurable success criteria.
13- Before investigating, search for similar past incidents: `npx ai-devkit@latest memory search --query "<observed behavior>" --tags "debug,root-cause"`
14
152. Reproduce
16- Capture minimal reproduction steps. For user-flow bugs, make the repro a `dev-smoke` check that fails before the fix and passes after.
17- Capture environment fingerprint: runtime, versions, config flags, data sample, and platform.
18
193. Hypothesize and Test
20For each hypothesis, include:
21- Predicted evidence if true.
22- Disconfirming evidence if false.
23- Exact test command or check.
24- Prefer one-variable-at-a-time tests.
25
264. Plan
27- Present fix options with risks and verification steps.
28- Recommend one option and request approval.
29
30## Validation
31- Confirm a pre-fix failing signal exists.
32- Confirm post-fix success using the `verify` skill — including regression verification for bug fixes.
33- Summarize remaining risks and follow-ups.
34- Offer `dev-retro` to prevent recurrence; run only if the user agrees.
35- Store root cause and fix for future sessions: `npx ai-devkit@latest memory store --title "<root cause>" --content "<diagnosis and fix>" --tags "debug,root-cause"`
36
37## Task Tracing
38…

Excerpt shown under the repository's Apache-2.0 license.

More skills in ai-devkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates