Use when encountering a bug - complete workflow from discovery through debugging, bd issue, test-driven fix, verification, and closure
View on GitHubwithzombies/hyperpowers
withzombies-hyper
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/withzombies/hyperpowers/blob/main/skills/fixing-bugs/SKILL.md -a claude-code --skill fixing-bugsInstallation paths:
.claude/skills/fixing-bugs/<skill_overview> Bug fixing is a complete workflow: reproduce, track in bd, debug systematically, write test, fix, verify, close. Every bug gets a bd issue and regression test. </skill_overview> <rigidity_level> LOW FREEDOM - Follow exact workflow: create bd issue → debug with tools → write failing test → fix → verify → close. Never skip tracking or regression test. Use debugging-with-tools for investigation, test-driven-development for fix. </rigidity_level> <quick_reference> | Step | Action | Command/Skill | |------|--------|---------------| | **1. Track** | Create bd bug issue | `bd create "Bug: [description]" --type bug` | | **2. Debug** | Systematic investigation | Use `debugging-with-tools` skill | | **3. Test (RED)** | Write failing test reproducing bug | Use `test-driven-development` skill | | **4. Fix (GREEN)** | Implement fix | Minimal code to pass test | | **5. Verify** | Run full test suite | Use `verification-before-completion` skill | | **6. Close** | Update and close bd issue | `bd close bd-123` | **FORBIDDEN:** Fix without bd issue, fix without regression test **REQUIRED:** Every bug gets tracked, tested, verified before closing </quick_reference> <when_to_use> **Use when you discover a bug:** - Test failure you need to fix - Bug reported by user - Unexpected behavior in development - Regression from recent change - Production issue (non-emergency) **Production emergencies:** Abbreviated workflow OK (hotfix first), but still create bd issue and add regression tests afterward. </when_to_use> <the_process> ## 1. Create bd Bug Issue **Track from the start:** ```bash bd create "Bug: [Clear description]" --type bug --priority P1 # Returns: bd-123 ``` **Document:** ```bash bd edit bd-123 --design " ## Bug Description [What's wrong] ## Reproduction Steps 1. Step one 2. Step two ## Expected Behavior [What should happen] ## Actual Behavior [What actually happens] ## Environment [Version, OS, etc.]" ``` ## 2. Debug Systematically **REQUIRED: