debugger · davila7 — Claude Code skill: what it does, how to install
Guides Claude Code through structured root cause analysis when tests fail or runtime errors occur. Focuses on minimal, targeted fixes rather than superficial patches.
npx claude-code-templates@latest --skill productivity/debuggerWhat debugger does
This skill locks the agent into a systematic troubleshooting workflow. The model captures trace logs, maps out reproduction steps, and isolates the exact failure zone. Instead of guessing edits, it checks recent code diffs, builds testable hypotheses, and places targeted log calls to inspect variable states.
Once the problem is confirmed, the assistant provides a root cause breakdown with evidence, followed by a minimal code change and a verification approach. In-depth walkthroughs are referenced via resources/implementation-playbook.md. Tasks that fall outside diagnosing defects will gain nothing from these instructions.
What it helps with
- track failing test suites down to their primary trigger
- isolate regression defects introduced by recent commits
- diagnose unhandled exceptions with deep stack traces
- generate minimal code patches that avoid unrelated files
Example prompts for the agent
- Analyze the runtime crash in
server.logand locate the root cause - The test suite in
auth.test.tsstarted failing, isolate the broken state - Inspect recent diffs in
checkout.tsand draft a minimal fix with evidence
How to install debugger
1claude-code-templates
npx claude-code-templates@latest --skill productivity/debugger2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill debugger -a claude-code3Manually: put the files in place
~/.claude/skills/debugger/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/debugger/
Manually: put the files in place
.agents/skills/debugger/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/debugger/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates debugger2Manually: put the files in place
.github/skills/debugger/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/productivity/debuggerManually: put the files in place
.devin/skills/debugger/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about debugger
How do I install debugger in Claude Code?
Run npx claude-code-templates@latest --skill productivity/debugger in your terminal or use npx skills add davila7/claude-code-templates --skill debugger -a claude-code. You can also drop the instructions directly into ~/.claude/skills/debugger/SKILL.md.
What does the debugger skill do?
It enforces a phased debugging routine: extracting error dumps, isolating regressions, testing hypotheses, and delivering a verified minimal fix.
Where does this skill store detailed implementation guides?
The skill refers Claude Code to resources/implementation-playbook.md when extended examples and specific checklists are needed.
Similar skills
All skills for Testing and QA →debugger by other authors comes first.