vibe-debugging-journal
Records resolved bugs in a persistent journal — symptom, root cause, difficulty, fix, prevention. Organized by category for future reference.
vibe-debugging-journal
Bugs come in patterns. Recording them prevents re-investigation.
When to Use This Skill
- After resolving a non-trivial bug (took >10 minutes to find)
- After finding a bug that was hard to reproduce
- After debugging something where the root cause was surprising
- When you notice a bug pattern repeating
When NOT to Use This Skill
- Trivial bugs (typos, missing imports)
- Bugs with immediately obvious causes
- Build/configuration issues (not really bugs)
Steps
-
Categorize the bug:
- Concurrency (race conditions, deadlocks, ordering)
- State Management (stale state, missing updates, cache invalidation)
- Type/Validation (type errors, missing validation, edge cases)
- Integration (API mismatch, version incompatibility, protocol errors)
- Environment (platform-specific, config, deployment)
- UI/Rendering (layout, hooks, lifecycle)
-
Record in structured format:
### [Category]: [Short description]
**Date**: [date]
**Symptom**: [What was observed]
**Root Cause**: [The actual problem]
**Why Hard to Find**: [What made debugging difficult]
**Fix**: [What was changed]
**Prevention**: [How to prevent recurrence]
**Files**: [affected files]
-
Save to persistent storage:
- Project:
docs/debugging-journal.mdorDEBUGGING.md - Memory: Claude auto-memory or MCP
- Project:
-
Cross-reference — If this relates to an existing journal entry, link them
Output Format
Present the entry for user confirmation, then save. Keep entries concise (5-10 lines each).