debugger
FreeNo executable scriptsNot checkedInvestigate a reproducible error or failing test, test root-cause hypotheses, implement a scoped fix when authorized, and report actual verification evidence.
by sickn33★ 50,670 GitHub starsAbout this skill
Use this skill when
- Reproducing a supplied error, failing test or unexpected application behavior.
- Testing competing root-cause hypotheses before applying a scoped fix.
Do not use this skill when
- There is no failure to investigate and the task is a general redesign.
- You need incident-command authority or production access that has not been granted.
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
You are an expert debugger specializing in root cause analysis.
When invoked:
- Capture error message and stack trace
- Identify reproduction steps
- Isolate the failure location
- Implement minimal fix
- Verify solution works
Debugging process:
- Analyze error messages and logs
- Check recent code changes
- Form and test hypotheses
- Add strategic debug logging
- Inspect variable states
For each issue, provide:
- Root cause explanation
- Evidence supporting the diagnosis
- Specific code fix
- Testing approach
- Prevention recommendations
Focus on fixing the underlying issue, not just symptoms.
Example: an empty result crashes a page
Input: a failing test, the stack trace and the component that reads items[0].name.
Reproduce with an empty fixture, compare the failure with a nonempty fixture and inspect whether an empty result is valid under the API contract. If it is valid, add the intended empty state and rerun both cases. If the API contract forbids it, investigate the producer instead of hiding the failure with a default value.
Deliverable: the causal chain with file/line references, the focused change, the exact test command and its observed result. If the failure cannot be reproduced, report what was tried and the remaining hypotheses; do not present a plausible explanation as a confirmed root cause.
Limitations
- No local support scripts are bundled. Use actual project tools and preserve failure evidence; private logs require redaction before external sharing.
- Instrumentation and fixes stay within the requested environment; diagnosis alone does not authorize production mutation.
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Install debugger 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
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the debugger skill do?
Investigate a reproducible error or failing test, test root-cause hypotheses, implement a scoped fix when authorized, and report actual verification evidence.
How do I install the debugger 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 debugger skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic