ao92265/claude-code-playbook/debug

Claude Code and agent skill by ao92265/claude-code-playbook

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Structured debugging workflow using the scientific method. Form a hypothesis, test it, narrow down, and fix. Prevents random-walk debugging. Triggers: "debug", "investigate", "why is this broken", "root cause". Do NOT use this skill for: known fixes (just fix it), performance issues (use /perf-check), or environment problems (use /check-env).

Install

npx vskill@latest install ao92265/claude-code-playbook/debug

SKILL.md

The same SKILL.md was published earlier as ao92265/claude-code-playbook/debug.

Structured Debugging

Systematic debugging using the scientific method. No more random changes hoping something works.

Steps

  1. Reproduce the bug:
  • Get the exact error message, stack trace, or unexpected behavior
  • Find the minimal reproduction case
  • Confirm it's reproducible (not a flaky test or race condition)
  • If it can't be reproduced, gather more data before proceeding
  1. Form a hypothesis:
  • Based on the error and context, what's the most likely cause?
  • List 2-3 possible causes ranked by probability
  • State what you'd expect to see if each hypothesis is correct
  1. Test the hypothesis:
  • Add a targeted log, breakpoint, or assertion to test the top hypothesis
  • Run the reproduction case
  • Does the evidence support or refute the hypothesis?
  1. Narrow down:
  • If hypothesis is supported: zoom in on the specific code path
  • If hypothesis is refuted: move to the next hypothesis
  • Use binary search: add a check at the midpoint of the suspected code path
  • Each step should cut the problem space in half
  1. Identify the root cause:
  • Don't stop at the symptom — find why it's happening
  • Check: is this a data issue, logic error, race condition, or configuration problem?
  • Verify the root cause explains ALL observed symptoms
  1. Fix and verify:
  • Make the minimum change that fixes the root cause
  • Run the original reproduction case — does it pass?
  • Run the full test suite — did the fix introduce regressions?
  • Remove any debugging artifacts (extra logs, breakpoints)
  1. Prevent recurrence:
  • Add a test case that would have caught this bug
  • Consider: should this be in tasks/lessons.md?
  • Is there a class of similar bugs that should be checked?

Important

  • Don't change code randomly. Every change should test a specific hypothesis.
  • Don't fix symptoms. A null check at the crash site is a band-aid — find why it's null.
  • Keep notes. Write down hypotheses and results so you don't re-test the same thing.
  • Time-box. If you're stuck after 3 hypotheses, step back and reconsider assumptions.
  • Remove debug artifacts. No console.log, debugger statements, or commented-out code in the final commit.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ao92265/claude-code-playbook/debug/badge)](https://verified-skill.com/skills/ao92265/claude-code-playbook/debug)

Something wrong with this skill or its page? Tell us.