almogbaku avatar

Debugging Code

This turns Claude into an interactive debugging assistant that can set breakpoints, step through code, inspect variables, and navigate call stacks across Python, Go, Node.js, Rust, and C/C++. It wraps a CLI tool called dap that speaks the Debug Adapter Protocol, so you get real debugger state instead of guessing with print statements. The skill teaches Claude a disciplined approach: form a hypothesis, set strategic breakpoints at state transitions or boundaries, use conditional breaks to skip noise, and trace causation up the stack frame by frame. It's built for when crashes happen, exceptions fire in unclear places, or output is wrong and you need to see exactly what values exist at the moment things go sideways.

skills.sh installs
592
GitHub stars
336
last updated
Jun 3, 2026

Install

$ npx -y skills add almogbaku/debug-skill --skill debugging-code --agent claude-code

Installs into .claude/skills of the current project.

Files

Interactive Debugger

Use when a program crashes, produces wrong output, or you need to understand exactly how execution reached a particular state — and running it again with more print statements won't give you the answer fast enough.

You can pause a running program at any point, read live variable values and the call stack at that exact moment, step forward line by line or jump to the next breakpoint, and evaluate arbitrary expressions against the live process — all without restarting.

Setup

This skill uses dap, a CLI tool that background daemon to interact with the debugger via the DAP Protocol, maintain the debugger state, so you can simply interact with it with multiple calls.

If dap isn't installed (check: command -v dap), install it NOW. Ask/notify the user before proceeding to install it.

From Homebrew (macOS)

brew install AlmogBaku/tap/dap

Installer script:

bash scripts/install-dap.sh

Install from sources:

go install github.com/AlmogBaku/debug-skill/cmd/dap@latest

This tool is open-sourced and available on GitHub, maintained and follows best practices.

Sponsors

Details

Repository
github.com/almogbaku/debug-skill
Category
Debugging
First seen
Jun 3, 2026

Recommended

More Debugging
1aj-geddes avatarmemory-leak-detectionaj-geddes/useful-ai-promptsDetect and fix memory leaks using heap snapshots, memory profiling, and leak detection tools. Use when investigating memory growth, OOM errors, or optimizing me589skills.sh installs
2mohitmishra786 avatarzig-debuggingmohitmishra786/low-level-dev-skillsZig debugging skill. Use when debugging Zig programs with GDB or LLDB, interpreting Zig runtime panics, using std.debug.print for tracing, configuring debug bui555skills.sh installs
3aj-geddes avatarbrowser-debuggingaj-geddes/useful-ai-promptsDebug client-side issues using browser developer tools. Identify JavaScript errors, styling issues, and performance problems in the browser.545skills.sh installs
4aj-geddes avatarnetwork-debuggingaj-geddes/useful-ai-promptsDebug network issues using browser tools and network analysis. Diagnose connection problems, latency, and data transmission issues.531skills.sh installs
5aj-geddes avatarcontainer-debuggingaj-geddes/useful-ai-promptsDebug Docker containers and containerized applications. Diagnose deployment issues, container lifecycle problems, and resource constraints.494skills.sh installs
6parcadei avatarfixparcadei/continuous-claude-v3Meta-skill workflow orchestrator for bug investigation and resolution. Routes to debug, implement, test, and commit based on scope.486skills.sh installs