Debug

From pproenca/dot-skills · View interactive version

Debug is an AI agent skill from the GitHub repository pproenca/dot-skills. Comprehensive debugging methodology for finding and fixing bugs (formerly debugging). This skill should be used when debugging code, investigating errors, troubleshooting issues, performing root cause analysis, or responding to incidents. Covers systematic reproduction, hypothesis-driven investigati

How to use this skill

Skill file

dot-skills Debugging Best Practices

Comprehensive debugging methodology guide for software engineers, containing 54 rules across 10 categories prioritized by impact. Based on research from Andreas Zeller's "Why Programs Fail" and academic debugging curricula.

When to Apply

Reference these guidelines when:

Rule Categories by Priority

| Priority | Category | Impact | Prefix |

|----------|----------|--------|--------|

| 1 | Problem Definition | CRITICAL | prob- |

| 2 | Hypothesis-Driven Search | CRITICAL | hypo- |

| 3 | Observation Techniques | HIGH | obs- |

| 4 | Root Cause Analysis | HIGH | rca- |

| 5 | Tool Mastery | MEDIUM-HIGH | tool- |

| 6 | Bug Triage and Classification | MEDIUM | triage- |

| 7 | Common Bug Patterns | MEDIUM | pattern- |

| 8 | Fix Verification | MEDIUM | verify- |

| 9 | Anti-Patterns | MEDIUM | anti- |

| 10 | Prevention & Learning | LOW-MEDIUM | prev- |

Quick Reference

1. Problem Definition (CRITICAL)

2. Hypothesis-Driven Search (CRITICAL)

3. Observation Techniques (HIGH)

4. Root Cause Analysis (HIGH)

5. Tool Mastery (MEDIUM-HIGH)

6. Bug Triage and Classification (MEDIUM)

7. Common Bug Patterns (MEDIUM)

8. Fix Verification (MEDIUM)

9. Anti-Patterns (MEDIUM)

10. Prevention & Learning (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.