codewithbehnam/cc-docs/debug
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Systematic debugging using hypothesis testing. Reproduces the error, isolates the cause, and implements a fix. Use when the user reports a bug, error, or unexpected behavior, or says "debug this", "fix this error", "why is this failing", or "it's not working".
Install
npx vskill@latest install codewithbehnam/cc-docs/debugSKILL.md
Debug the following issue: $ARGUMENTS
Phase 1: Reproduce
- Understand the error:
- Read $ARGUMENTS carefully. Extract: the error message, the affected component, any stack trace or file/line references.
- If a stack trace is provided, read every file and line mentioned.
- Reproduce the failure:
- Find or write a command, test, or script that triggers the error reliably
- Confirm it fails consistently before investigating the cause
Phase 2: Isolate
- Form hypotheses (list at least 3):
- Based on the error message and stack trace, what are the most likely root causes?
- Rank them by likelihood
- Test each hypothesis systematically (highest likelihood first):
- Add targeted logging or print statements to narrow the scope
- Check variable values at key points
- Inspect config files, environment variables, and dependencies that could be involved
- Use binary search: disable/simplify half the code to find which half contains the bug
- Read the documentation or source of any library involved if the error is unfamiliar
- Identify the root cause:
- A hypothesis is confirmed when you can explain both WHY the error occurs and WHY it does NOT occur in other cases
- Do not fix until the root cause is confirmed
Phase 3: Fix
- Implement the minimal fix:
- Change only what is necessary to address the root cause
- Do not refactor or add features in the same change
- Verify the fix:
- Re-run the reproduction case - it must succeed
- Run the full test suite - no regressions allowed
- Report the finding:
- Root cause (one sentence)
- Fix applied (file and line)
- How to prevent similar issues in the future (if obvious)
Error Handling
- If the bug cannot be reproduced: ask the user for more context (environment, inputs, exact error message)
- If multiple root causes are found: fix the most critical one, then list the others
- If the fix would be a large refactor: describe it and get user approval before implementing
- If the root cause is in a third-party dependency: report it, provide a workaround, and suggest filing an issue upstream
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/debug/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 5
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
[](https://verified-skill.com/skills/codewithbehnam/cc-docs/debug)