Systematic debugging with v-analyst - find root cause, not symptoms
View on GitHubskills/v-debug/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/kks0488/vibe-claude/blob/main/skills/v-debug/SKILL.md -a claude-code --skill v-debugInstallation paths:
.claude/skills/v-debug/# V-Debug Skill
Systematic approach to debugging. No guessing.
## When to Use
- Unexpected behavior
- Test failures
- Runtime errors
- Performance issues
## Philosophy
```
DON'T: Randomly change things hoping it works
DO: Understand the system, find root cause, fix once
```
## Process
```
1. REPRODUCE
└─ Confirm the bug exists
└─ Document exact steps
└─ Capture error output
2. ISOLATE
└─ Identify affected components
└─ Find minimal reproduction
└─ Rule out unrelated code
3. HYPOTHESIZE
└─ Form theories about cause
└─ Rank by likelihood
└─ Design tests for each
4. VERIFY
└─ Test each hypothesis
└─ Gather evidence
└─ Find root cause
5. FIX
└─ Minimal change
└─ Don't break other things
└─ Add regression test
6. CONFIRM
└─ Original bug gone
└─ No new bugs introduced
└─ Tests pass
```
## Debug Document
```markdown
# Debug: {issue description}
## Reproduction
Steps:
1. {step}
2. {step}
Expected: {what should happen}
Actual: {what happens}
Error: {if any}
## Isolation
Affected files: {list}
Related systems: {list}
Recent changes: {list}
## Hypotheses
| # | Theory | Likelihood | Test |
|---|--------|------------|------|
| 1 | {theory} | HIGH | {how to test} |
| 2 | {theory} | MEDIUM | {how to test} |
## Investigation Log
### [timestamp] Tested hypothesis #1
Result: {confirmed/rejected}
Evidence: {what we found}
## Root Cause
{Explanation of actual cause}
## Fix
File: {path}
Change: {description}
## Verification
- [ ] Original bug fixed
- [ ] Regression test added
- [ ] Related tests pass
```
## Anti-Patterns
| Bad | Good |
|-----|------|
| "Let me try this..." | "My hypothesis is..." |
| Random print statements | Strategic logging |
| Changing multiple things | One change at a time |
| "It works now" | "Here's why it works" |
## Integration
v-debug automatically uses:
- v-analyst for deep analysis
- v-finder to locate related code
- v-tester to verify fixes