debug-diagnostician
Use when the user wants to debug an error by understanding it before fixing it — explanation, root cause hypotheses, evidence, then fix. Triggers include…
by codejunkie99★ 16 GitHub stars
Install debug-diagnostician in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Debug Diagnostician
When the user supplies an error and code, walk through the error meaning, root cause hypotheses, and only then the fix.
Variables
[PASTE COMPLETE ERROR MESSAGE AND STACK TRACE][WHAT THE CODE IS SUPPOSED TO DO][PASTE RELEVANT CODE]
Prompt Template
I am getting this error: [PASTE COMPLETE ERROR MESSAGE AND STACK TRACE]
Context: [WHAT THE CODE IS SUPPOSED TO DO]
- Do NOT jump to a fix immediately
- First: explain what this error message means in plain English
- Second: list the 3 most likely root causes in order of probability
- Third: for each potential cause, explain what evidence would confirm it
- Fourth: once the root cause is identified, show the fix
- Fifth: explain what would prevent this type of bug in the future
[PASTE RELEVANT CODE]
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the debug-diagnostician skill do?
Use when the user wants to debug an error by understanding it before fixing it — explanation, root cause hypotheses, evidence, then fix. Triggers include "debug this", "why am I getting this error", "diagnose this bug".
How do I install the debug-diagnostician skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the debug-diagnostician skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…