Agent skill · software engineering · aiskillstore
debugging-strategies
Master systematic debugging techniques, profiling tools, and root cause analysis to efficiently track down bugs across any codebase or technology stack. Use when investigating bugs, performance issues, or unexpected behavior.
Why this skill is useful
Provides systematic debugging techniques and specific tools that enhance the AI's ability to troubleshoot effectively across various codebases.
What it needs
About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
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 Understanding unfamiliar codebases Debugging production issues Analyzing crash dumps and stack traces Profiling application performance Investigating memory leaks Debugging distributed systems Core Principles 1. The Scientific Method 1. Observe: What's the actual behavior? 2. Hypothesize: What could be causing it? 3. Experiment: Test your hypothesis 4. Analyze: Did it prove/disprove your theory? 5. Repeat: Until you find the root cause 2. Debugging Mindset Don't Assume: "It can't be X" - Yes it can "I didn't change Y" - Check anyway "It works on my machine" - Find out why Do: Reproduce consistently Isolate the problem Keep detailed notes Question everything Take breaks when stuck 3. Rubber Duck Debugging Explain your code and problem out loud (to a rubber duck, colleague, or yourself). Often reveals the issue. Systematic Debugging Process Phase 1: Reproduce Phase 2: Gather Information Phase 3: Form Hypothesis Phase 4: Test & Verify Debugging Tools JavaScript/TypeScript Debugging VS Code Debugger Configuration: Python Debugging Go Debugging Advanced Debugging Techniques Technique 1: Binary Search Debugging Technique 2: Differential Debugging Compare working vs broken: Technique 3: Trace Debugging Technique 4: Memory Leak Detection Debugging Patterns by Issue Type Pattern 1: Intermittent Bugs Pattern 2: Performance Issues Pattern 3: Production Bugs Best Practices 1. Reproduce First: Can't fix what you can't reproduce 2. Isolate the Problem: Remove complexity until minimal case 3. Read Error Messages: They're usually helpful 4. Check Recent Changes: Most bugs are recent 5. Use Version Control: Git bisect, blame, history 6. Take Breaks: Fresh eyes see better 7. Document Findings: Help future you 8. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/debugging-strategies--4d16bd