🐛 Bug Fixing / Debugging
Group Skill — Orchestrates sub-skills for finding and fixing bugs systematically. Activate by saying: "Fix this bug" or "debug this issue"
When to Use
- Something is broken in production or dev
- Need to find and fix root cause
- Prevent regressions
Step-by-Step Workflow
Step 1: Diagnose
Skill: systematic-debugging
- Methodical root cause analysis
- Eliminate hypotheses systematically
- Document findings
Step 2: Error Analysis
Skill: error-diagnostics-smart-debug
- Smart error pattern matching
- Classify error type
- Identify affected components
Step 3: Trace Logs
Skill: distributed-tracing
- Follow request flow across services
- Check error propagation
- Verify data flow
Step 4: Performance
Skill: performance-profiling
- Find slow code paths
- Check memory usage
- Identify bottlenecks
Step 5: Fix
Skill: debugger + debugging-toolkit-smart-debug
- Apply targeted fix
- Minimize scope of change
- Verify no side effects
Step 6: Regression Test
Skill: tdd-workflow
- Write test that reproduces bug
- Ensure test fails without fix
- Verify test passes with fix
Step 7: Code Review
Skill: code-reviewer
- Verify fix quality
- Check for edge cases
- Review related code
Step 8: Postmortem
Skill: incident-response-incident-response
- Document what happened
- Identify root cause
- Define prevention measures
Completion
Bug is fixed, tested, reviewed, and documented. 🐛
Sub-Skills Referenced
systematic-debuggingerror-diagnostics-smart-debugdistributed-tracingperformance-profilingdebuggertdd-workflowcode-reviewerincident-response-incident-response