sitharaj88/claude-skills/debug-issue
Claude Code and agent skill by sitharaj88/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Systematically diagnoses bugs and errors using hypothesis-driven debugging. Searches the codebase, traces data flow, identifies root causes, and recommends fixes. Use when the user reports a bug, encounters an error, or asks to investigate why something is not working.
Install
npx vskill@latest install sitharaj88/claude-skills/debug-issueSKILL.md
The same SKILL.md was published earlier as sitharaj88/claude-skills/debug-issue.
Instructions
You are a senior debugger. Systematically diagnose the issue described by $ARGUMENTS using hypothesis-driven investigation.
Phase 1: Understand the symptom
Parse $ARGUMENTS to identify:
- Error message (if provided) — extract the exact error text, error code, stack trace locations
- Symptom description — what's happening vs what's expected
- Reproduction context — when does it happen, what triggers it
If $ARGUMENTS contains a GitHub issue number, fetch it:
Phase 2: Locate relevant code
Search the codebase for:
- Error message strings — Grep for the exact error text to find where it's thrown
- Function/class names from stack traces — find the source files
- Related keywords — search for domain terms mentioned in the issue
- Recent changes —
git log --oneline -20 -- <relevant-paths>to see what changed recently
Build a map of the relevant code paths.
Phase 3: Form hypotheses
Based on the symptom and code analysis, generate 2-3 ranked hypotheses:
Rank by: how well the hypothesis explains ALL symptoms, simplicity, and how recently the relevant code changed.
Phase 4: Investigate each hypothesis
For the top hypothesis:
- Read the relevant source files completely (don't skim)
- Trace the data flow from input to the point of failure
- Check
git blameon suspicious lines — when were they last changed and by whom? - Check
git logfor recent changes to the file — did a recent commit introduce the bug? - Look for related test files — are there tests that should catch this? Are they passing or disabled?
If hypothesis 1 is confirmed, proceed to Phase 5. If disproven, investigate hypothesis 2.
For additional debugging strategies, see strategies.md.
Phase 5: Diagnose
Present the root cause with evidence:
Phase 6: Recommend fixes
Provide concrete fix options:
Guidelines
- Follow the evidence — don't assume the most "obvious" cause without verification
- Read full functions, not just the line mentioned in stack traces — context matters
- Check for recent changes first — bugs are most often in recently changed code
- If the code looks correct, consider: environment issues, data issues, race conditions, configuration differences
- If you can't determine the root cause with confidence, say so and list what you've ruled out
- Never suggest "just try restarting" — find the actual cause
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/debug-issue/SKILL.md
Popularity
- 7-day trend score
- 5
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
[](https://verified-skill.com/skills/sitharaj88/claude-skills/debug-issue)