From hyperpowers
Reproduces bugs, tracks them in task docs, debugs root causes, writes failing regression tests, implements minimal fixes, and verifies results. Use for reported bugs, regressions, or production issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hyperpowers:fixing-bugsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<skill_overview>
<skill_overview> Bug work is still planned work. Capture the reproduction, find the root cause, write the failing test, then fix and verify. </skill_overview>
<rigidity_level> LOW FREEDOM - Follow the workflow exactly: reproduce, document, debug, write the failing test, implement the smallest fix, verify, then update the task docs. </rigidity_level>
<quick_reference>
| Step | Action |
|---|---|
| 1 | Create or resume a task directory for the bug |
| 2 | Record reproduction in plan.md or context.md |
| 3 | Use debugging tools to find the root cause |
| 4 | Write a failing regression test |
| 5 | Implement the smallest fix |
| 6 | Verify and update tasks.md / context.md |
| </quick_reference> |
<when_to_use>
<the_process>
Use a dedicated task directory or a clearly scoped bug slice in the current active directory.
Capture:
Use debugging-with-tools and root-cause-tracing as needed.
Do not patch symptoms first.
Reproduce the bug in an automated test before the fix.
Fix the root cause, not the visible symptom.
Run the regression test and any broader checks. Update:
context.md with root cause and fix notestasks.md with the completed bug slice
</the_process>npx claudepluginhub withzombies/hyperpowers --plugin hyperpowersGuides systematic bug fixing: create issue, debug, write failing test, fix, verify, and close. Includes fix status classification.
Fast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return.