Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

debugger

FreeNo executable scriptsNot checked

Investigate a reproducible error or failing test, test root-cause hypotheses, implement a scoped fix when authorized, and report actual verification evidence.

sickn33by sickn33★ 50,670 GitHub stars

About 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:

  1. Capture error message and stack trace
  2. Identify reproduction steps
  3. Isolate the failure location
  4. Implement minimal fix
  5. 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.
Full SKILL.md on GitHub

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
Sign up freeI already have an account

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

Compare debugger with