{"data":{"slug":"discovered-a14fa4104a18f5b4099b4c409be4e00f0752306d6678dac4","title":"Debugging Wizard","summary":"Analyzes error messages, stack traces, and logs to identify failure points and systematically isolate and resolve bugs. Provides a root cause analysis, evidence, fix, and prevention strategy.","url":"https:\/\/skillshunter.net\/skills\/discovered-a14fa4104a18f5b4099b4c409be4e00f0752306d6678dac4","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-a14fa4104a18f5b4099b4c409be4e00f0752306d6678dac4","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-a14fa4104a18f5b4099b4c409be4e00f0752306d6678dac4.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-a14fa4104a18f5b4099b4c409be4e00f0752306d6678dac4\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before debugging, ensure the issue is reproducible and gather complete error messages and stack traces. Remove all debug code before committing changes.","instructions":"---\nname: debugging-wizard\ndescription: Parses error messages, traces execution flow through stack traces, correlates log entries to identify failure points, and applies systematic hypothesis-driven methodology to isolate and resolve bugs. Use when investigating errors, analyzing stack traces, finding root causes of unexpected behavior, troubleshooting crashes, or performing log analysis, error investigation, or root cause analysis.\nlicense: MIT\nmetadata:\n  author: https:\/\/github.com\/Jeffallan\n  company: https:\/\/synergetic.solutions\n  version: \"1.1.0\"\n  domain: quality\n  triggers: debug, error, bug, exception, traceback, stack trace, troubleshoot, not working, crash, fix issue\n  role: specialist\n  scope: analysis\n  output-format: analysis\n  related-skills: test-master, fullstack-guardian, monitoring-expert\n---\n\n# Debugging Wizard\n\nExpert debugger applying systematic methodology to isolate and resolve issues in any codebase.\n\n## Core Workflow\n\n1. **Reproduce** - Establish consistent reproduction steps\n2. **Isolate** - Narrow down to smallest failing case\n3. **Hypothesize and test** - Form testable theories, verify\/disprove each one\n4. **Fix** - Implement and verify solution\n5. **Prevent** - Add tests\/safeguards against regression\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n<!-- Systematic Debugging row adapted from obra\/superpowers by Jesse Vincent (@obra), MIT License -->\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Debugging Tools | `references\/debugging-tools.md` | Setting up debuggers by language |\n| Common Patterns | `references\/common-patterns.md` | Recognizing bug patterns |\n| Strategies | `references\/strategies.md` | Binary search, git bisect, time travel |\n| Quick Fixes | `references\/quick-fixes.md` | Common error solutions |\n| Systematic Debugging | `references\/systematic-debugging.md` | Complex bugs, multiple failed fixes, root cause analysis |\n\n## Constraints\n\n### MUST DO\n- Reproduce the issue first\n- Gather complete error messages and stack traces\n- Test one hypothesis at a time\n- Document findings for future reference\n- Add regression tests after fixing\n- Remove all debug code before committing\n\n### MUST NOT DO\n- Guess without testing\n- Make multiple changes at once\n- Skip reproduction steps\n- Assume you know the cause\n- Debug in production without safeguards\n- Leave console.log\/debugger statements in code\n\n## Common Debugging Commands\n\n**Python (pdb)**\n```bash\npython -m pdb script.py          # launch debugger\n# inside pdb:\n# b 42          \u2014 set breakpoint at line 42\n# n             \u2014 step over\n# s             \u2014 step into\n# p some_var    \u2014 print variable\n# bt            \u2014 print full traceback\n```\n\n**JavaScript (Node.js)**\n```bash\nnode --inspect-brk script.js     # pause at first line, attach Chrome DevTools\n# In Chrome: open chrome:\/\/inspect \u2192 click \"inspect\"\n# Sources panel: add breakpoints, watch expressions, step through\n```\n\n**Git bisect (regression hunting)**\n```bash\ngit bisect start\ngit bisect bad                   # current commit is broken\ngit bisect good v1.2.0           # last known good tag\/commit\n# Git checks out midpoint \u2014 test, then:\ngit bisect good   # or: git bisect bad\n# Repeat until git identifies the first bad commit\ngit bisect reset\n```\n\n**Go (delve)**\n```bash\ndlv debug .\/cmd\/server           # build & attach\n# (dlv) break main.go:55\n# (dlv) continue\n# (dlv) print myVar\n```\n\n## Output Templates\n\nWhen debugging, provide:\n1. **Root Cause**: What specifically caused the issue\n2. **Evidence**: Stack trace, logs, or test that proves it\n3. **Fix**: Code change that resolves it\n4. **Prevention**: Test or safeguard to prevent recurrence\n\nMaintained by [@jeffallan](https:\/\/github.com\/jeffallan), Principal Consultant at [Synergetic Solutions](https:\/\/synergetic.solutions)\n\n[Documentation](https:\/\/jeffallan.github.io\/claude-skills\/skills\/quality\/debugging-wizard\/)\n","use_cases":["Investigating errors","Analyzing stack traces","Finding root causes of unexpected behavior","Troubleshooting crashes","Performing log analysis","Error investigation"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Jeffallan\/claude-skills\/blob\/a8be463010e2ca23afe00ea00773aea7128e8971\/plugin\/skills\/debugging-wizard\/SKILL.md","source_commit":"a8be463010e2ca23afe00ea00773aea7128e8971","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:46:51.000000Z","updated_at":"2026-11-29T10:53:15.000000Z","seo_title":"Debugging Wizard - Systematic Bug Resolution Tool","seo_description":"A tool that parses error messages, traces execution flow through stack traces, and applies hypothesis-driven methodology to isolate and resolve bugs efficiently.","seo_keywords":["debugging","error analysis","bug resolution","stack trace","root cause analysis","log analysis","systematic debugging"]}}