● Comunidad
AlmogBaku
⚡ Instantáneo
Debug Skill
por 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.
Por qué usarlo
Características clave
- Real debuggers: delve (Go), debugpy (Python), gdb (C/C++)
- Breakpoints by file:line or by symbol
- Step into / over / out
- Variable inspection (locals, args, fields)
- Watch expressions
Demo en vivo
Cómo se ve en la práctica
debug-skill.replay
▶ listo
Casos de uso
Usos del mundo real: Debug Skill
Cuándo usarlo: A specific input causes a panic and you can't see where without a debugger.
Requisitos previos
- Server/skill installed and authenticated — See repo README
Flujo
-
Reproduce under debugger
Using the debug skill, run main_test.go::TestPanicCase under delve with a breakpoint at the panic frame.✓ Copiado
→ Process paused at the panic
-
Inspect
Print locals and the call chain. Show me which variable is nil.✓ Copiado
→ Variable value + caller chain
Resultado: Bug located, not guessed.
Errores comunes
- 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.
Coste y límites
Lo que cuesta ejecutarlo
- Cuota de API
- See provider docs for rate limits
- Tokens por llamada
- Varies by tool
- Monetario
- See repo README for pricing details
- Consejo
- Cache tool results and avoid repeated identical calls.
Seguridad
Permisos, secretos, alcance
Almacenamiento de credenciales: Use environment variables; never commit secrets
Salida de datos: Tool calls go to the provider's API as documented
Resolución de problemas
Errores comunes y soluciones
delve not found
Install delve: go install github.com/go-delve/delve/cmd/dlv@latest.
Verificar: dlv version
debugger detaches randomly
Long pauses can hit the IDE's heartbeat. Use the skill's --no-heartbeat option for slow flows.
Verificar: Set the flag and retry
Alternativas
Debug Skill vs otros
| Alternativa | Cuándo usarla | Contrapartida |
| ad-hoc print debugging | Trivial bugs | Faster setup; doesn't scale to hard bugs |