From core
Debugs and fixes bugs, errors, or unexpected behavior: reproduces issues, diagnoses root causes, implements fixes, verifies resolution, and adds regression tests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/core:fixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
han-core:fix - Debug and fix bugs, errors, or unexpected behavior
han-core:fix - Debug and fix bugs, errors, or unexpected behavior
/fix [arguments]
Debug and fix bugs, errors, or unexpected behavior
Investigate, diagnose, and fix bugs or unexpected behavior in the codebase.
Follow this process to fix bugs:
Understand before fixing:
Fix properly:
Verify thoroughly:
When the user says:
Add logging:
console.log('Value at checkpoint:', value)
logger.debug('Processing item', { id: item.id, status: item.status })
Use debugger:
debugger; // Browser will pause here
Binary search:
Compare working vs broken:
After fixing:
## Bug Fix: [Brief description]
### Issue
[What was broken and how it manifested]
### Root Cause
[Why the bug existed]
### Fix
[What was changed and why it fixes the issue]
### Verification
[Evidence the fix works - use proof-of-work skill]
- Original issue no longer reproduces
- Tests pass (include test output)
- Related scenarios still work
### Prevention
[What test was added to prevent regression]
npx claudepluginhub thebushidocollective/han --plugin coreSystematically reproduces bugs, gathers evidence from logs/state/errors, forms/tests hypotheses, traces root causes like nulls/race conditions, implements fixes. For bug reports, errors, or unexpected behavior.
Enforces a structured bug-fix workflow: reproduce, isolate, apply smallest fix, and verify. Helps investigate errors, debug crashes, and make failing tests pass.