Bug Hunter
Version: 1.0.0 Purpose: Systematic bug investigation and resolution
Workflow
Step 1: Reproduce
# Run failing test/command
npm test
Document:
- Expected behavior
- Actual behavior
- Error message
Step 2: Locate
# Search for error
grep -r "error message" src/
Step 3: Trace
- Find error origin
- Trace call stack
- Identify root cause
Step 4: Fix
- Write failing test
- Implement fix
- Verify test passes
Step 5: Document
## Bug Fix Report
**Issue**: [Description]
**Root Cause**: [Explanation]
**Fix**: [What was changed]
**Test**: [How to verify]
Tips
- Check recent commits:
git log --oneline -20 - Look for similar issues:
git log --grep="bug" - Binary search:
git bisect