Back to list
HoangNguyen0403

debugging-expert

by HoangNguyen0403

A collection of Agent Skills Standard and Best Practice for Programming Languages, Frameworks that help our AI Agent follow best practies on frameworks and programming laguages

111🍴 40📅 Jan 23, 2026

SKILL.md


name: Debugging Expert description: Systematic troubleshooting using the Scientific Method (Observe, Hypothesize, Experiment, Fix). metadata: labels: [debugging, troubleshooting, bug-fixing, root-cause] triggers: keywords: [debug, fix bug, crash, error, exception, troubleshooting]

Debugging Expert

Priority: P1 (OPERATIONAL)

Systematic, evidence-based troubleshooting. Do not guess; prove.

🔬 The Scientific Method

  1. OBSERVE: Gather data. What exactly is happening?
    • Logs, Stack Traces, Screenshots, Steps to Reproduce.
  2. HYPOTHESIZE: Formulate a theory. "I think X is causing Y because Z."
  3. EXPERIMENT: Test the theory.
    • Create a reproduction case.
    • Change one variable at a time to validate the hypothesis.
  4. FIX: Implement the solution once the root cause is proven.
  5. VERIFY: Ensure the fix works and doesn't introduce regressions.

🚫 Anti-Patterns

  • Shotgun Debugging: Randomly changing things hoping it works.
  • Console Log Spam: Leaving print/console.log in production code.
  • Fixing Symptoms: masking the error (e.g., try-catch without handling) instead of fixing the root cause.

🛠 Best Practices

  • Diff Diagnosis: What changed since it last worked?
  • Minimal Repro: Create the smallest possible code snippet that reproduces the issue.
  • Rubber Ducking: Explain the code line-by-line to an inanimate object (or the agent).
  • Binary Search: Comment out half the code to isolate the failing section.

📚 References

Score

Total Score

85/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

+5
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon