debugging · mrgoonie — Claude Code skill: what it does, how to install
Enforces a disciplined debugging methodology that stops guesswork and requires fresh test proof before marking tasks done.
npx skills add mrgoonie/claudekit-skills --skill debugging -a claude-codeWhat debugging does
The skill replaces trial-and-error patching with a structured investigation workflow. It organizes debugging into four sub-skills: systematic investigation, root-cause tracing, defense-in-depth validation, and mandatory post-fix verification.
Under these rules, an assistant cannot jump straight into editing code. It must investigate the root failure and track invalid inputs to their origin. The framework explicitly forbids declaring success without running verification commands and inspecting output.
This strict sequence prevents masking symptoms with temporary workarounds. According to the author, structured debugging achieves a 95% first-time fix rate compared to 40% when thrashing with random changes.
What it helps with
- trace root causes backward through complex call stacks
- stop the agent from applying random trial-and-error fixes
- prevent recurring regressions across multiple application layers
- verify bug fixes with fresh command execution before completion
Example prompts for the agent
- Use root-cause-tracing to find where this invalid payload originated in the stack
- Apply systematic-debugging to investigate the auth test failure
- Run verification-before-completion checks before marking this bug resolved
How to install debugging
1Skills CLI (Vercel)
npx skills add mrgoonie/claudekit-skills --skill debugging -a claude-code2Manually: put the files in place
~/.claude/skills/debugging/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/debugging/
1Skills CLI (Vercel)
npx skills add mrgoonie/claudekit-skills --skill debugging -a codex2Manually: put the files in place
.agents/skills/debugging/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mrgoonie/claudekit-skills --skill debugging -a cursor2Manually: put the files in place
.cursor/skills/debugging/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mrgoonie/claudekit-skills debugging2Manually: put the files in place
.github/skills/debugging/SKILL.md1Skills CLI (Vercel)
npx skills add mrgoonie/claudekit-skills --skill debugging -a gemini-cli2Platform CLI
gemini skills install https://github.com/mrgoonie/claudekit-skills --path .claude/skills/debuggingManually: put the files in place
.devin/skills/debugging/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add mrgoonie/claudekit-skills --skill debugging -a opencodeClaude.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 debugging
How to install debugging in Claude Code?
Run npx skills add mrgoonie/claudekit-skills --skill debugging -a claude-code in your terminal. The configuration file is saved to ~/.claude/skills/debugging/SKILL.md.
What does the debugging skill do?
It enforces a disciplined four-phase troubleshooting process. The agent must locate the origin of invalid data, build layered guards, and verify results with fresh test output before completing the task.
What sub-skills are included in debugging?
The suite contains four modules: systematic-debugging, root-cause-tracing, defense-in-depth validation across four application layers, and verification-before-completion.
Similar skills
All skills for Testing and QA →debugging by other authors comes first.