/ الدليل / الملعب / Debug Skill
● مجتمع AlmogBaku ⚡ فوري

Debug Skill

بواسطة AlmogBaku · AlmogBaku/debug-skill

Real-debugger skill: breakpoints, stepping, variable inspection.

Most agents 'debug' by printing. This skill actually attaches a debugger (delve, debugpy, gdb) and exposes step/continue/inspect to Claude. Useful for nasty bugs where 'add a log' loops forever.

لماذا تستخدمه

الميزات الأساسية

عرض مباشر

كيف يبدو في الممارسة

debug-skill.replay ▶ جاهز
0/0

التثبيت

مستودع المؤلف · وثائق Claude Skills الرسمية

حالات الاستخدام

استخدامات عملية: Debug Skill

Find the nil deref a print loop can't catch

👤 Backend devs ⏱ ~15 min intermediate

متى تستخدمه: A specific input causes a panic and you can't see where without a debugger.

المتطلبات الأساسية
  • Server/skill installed and authenticated — See repo README
الخطوات
  1. Reproduce under debugger
    Using the debug skill, run main_test.go::TestPanicCase under delve with a breakpoint at the panic frame.✓ تم النسخ
    → Process paused at the panic
  2. Inspect
    Print locals and the call chain. Show me which variable is nil.✓ تم النسخ
    → Variable value + caller chain

النتيجة: Bug located, not guessed.

المزالق
  • Breakpoints by symbol can match multiple methods in Go interfaces — Breakpoints by symbol can match multiple methods in Go interfaces — qualify with the package path.

التكلفة والحدود

تكلفة التشغيل

حصة API
See provider docs for rate limits
الرموز لكل استدعاء
Varies by tool
التكلفة المالية
See repo README for pricing details
نصيحة
Cache tool results and avoid repeated identical calls.

الأمان

الصلاحيات والأسرار ونطاق الأثر

تخزين بيانات الاعتماد: Use environment variables; never commit secrets
نقل البيانات الخارجي: Tool calls go to the provider's API as documented

استكشاف الأخطاء

الأخطاء الشائعة وحلولها

delve not found

Install delve: go install github.com/go-delve/delve/cmd/dlv@latest.

تحقق: dlv version
debugger detaches randomly

Long pauses can hit the IDE's heartbeat. Use the skill's --no-heartbeat option for slow flows.

تحقق: Set the flag and retry

البدائل

Debug Skill مقابل البدائل

البديلمتى تستخدمهاالمقايضة
ad-hoc print debuggingTrivial bugsFaster setup; doesn't scale to hard bugs

المزيد

الموارد

📖 اقرأ ملف README الرسمي على GitHub

🐙 تصفح القضايا المفتوحة

🔍 تصفح أكثر من 400 خادم MCP و Skills