debugging-strategies
Installation
SKILL.md
Debugging Strategies
Transform debugging from frustrating guesswork into systematic problem-solving with proven strategies, powerful tools, and methodical approaches.
When to Use This Skill
- Tracking down elusive bugs
- Investigating performance issues or memory leaks
- Analyzing crash dumps and stack traces
- Debugging production or distributed systems
- Profiling application performance
Workflow
- Reproduce: Can you replicate it consistently? Create a minimal reproduction case. Document steps.
- Gather Info: Collect error messages, stack traces, environment details, and recent changes.
- Hypothesize: Formulate a theory based on observations (What changed? What's different?).
- Test & Verify: Use binary search, logging, or isolation to prove/disprove the hypothesis.
- Fix: Address the root cause, not just the symptom. Verify the fix.