/ Verzeichnis / Playground / Debug Skill
● Community AlmogBaku ⚡ Sofort

Debug Skill

von 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.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

debug-skill.replay ▶ bereit
0/0

Installation

Repository des Autors · Offizielle Dokumentation zu Claude Skills

Anwendungsfälle

Praxisnahe Nutzung: Debug Skill

Find the nil deref a print loop can't catch

👤 Backend devs ⏱ ~15 min intermediate

Wann einsetzen: A specific input causes a panic and you can't see where without a debugger.

Voraussetzungen
  • Server/skill installed and authenticated — See repo README
Ablauf
  1. Reproduce under debugger
    Using the debug skill, run main_test.go::TestPanicCase under delve with a breakpoint at the panic frame.✓ Kopiert
    → Process paused at the panic
  2. Inspect
    Print locals and the call chain. Show me which variable is nil.✓ Kopiert
    → Variable value + caller chain

Ergebnis: Bug located, not guessed.

Fallstricke
  • 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.

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
See provider docs for rate limits
Tokens pro Aufruf
Varies by tool
Kosten in €
See repo README for pricing details
Tipp
Cache tool results and avoid repeated identical calls.

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: Use environment variables; never commit secrets
Datenabfluss: Tool calls go to the provider's API as documented

Fehlerbehebung

Häufige Fehler und Lösungen

delve not found

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

Prüfen: dlv version
debugger detaches randomly

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

Prüfen: Set the flag and retry

Alternativen

Debug Skill vs. andere

AlternativeWann stattdessenKompromiss
ad-hoc print debuggingTrivial bugsFaster setup; doesn't scale to hard bugs

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen