From core
Debugs and fixes bugs, errors, or unexpected behavior: reproduces issues, diagnoses root causes, implements fixes, verifies resolution, and adds regression tests.
npx claudepluginhub thebushidocollective/han --plugin coreThis skill uses the workspace's default tool permissions.
han-core:fix - Debug and fix bugs, errors, or unexpected behavior
Systematically 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.
Guides systematic debugging of bugs, test failures, and unexpected behavior via root cause investigation. Enforces reproduction, evidence gathering, hypothesis testing before fixes.
Debugs errors, test failures, and unexpected behavior through root cause analysis, stack trace review, hypothesis testing, logging, and targeted code fixes.
Share bugs, ideas, or general feedback.
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]