Debug
Debug code, analyze errors, interpret stack traces, find root causes, and suggest fixes. Use when troubleshooting bugs, analyzing crashes, or investigating unexpected behavior.
Install
npx skills add thechandanbhagat/claude-skills --skill debuggit clone --depth 1 https://github.com/thechandanbhagat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/debug ~/.claude/skills/debugPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Debug Skill Comprehensive debugging assistance for finding and fixing bugs. ## 1. Stack Trace Analysis **Python Stack Traces:** ```python # Read and analyze Python tracebacks # Look for: # - File paths and line numbers # - Exception types # - Variable values # - Call stack order # Common patterns: # - AttributeError: Check object types # - KeyError: Check dictionary keys # - IndexError: Check list bounds # - TypeError: Check function arguments # - ImportError: Check module installation ``` **JavaScript Stack Traces:** ```javascript // Analyze JavaScript errors // Look for: // - Error type (TypeError, ReferenceError, etc.) // - File and line numbers // - Function call stack // - Async operation context // Common patterns: // - "Cannot read property 'x' of undefined" // - "x is not a function" // - "Maximum call stack size exceeded" ``` ## 2. Log Analysis **Parse Application Logs:** ```bash # Find errors in logs grep -i "error\|exception\|fatal\|critical" logs/*.log # Find warnings grep -i "warn\|warning" logs/*.log # Analyze by timestamp grep "2026-01-22" logs/*.log | grep -i "error" # Count error types grep -i "error" logs/*.log | cut -d: -f2 | sort | uniq -c | sort -rn # Find patterns before crashes grep -B10 "fatal\|crash" logs/*.log ``` **Structured Log Analysis:**
Details
- Skill name
debug- Repository
- thechandanbhagat/claude-skills
- Path
skills/debug/SKILL.md- Repo updated
- 22 January 2026
FAQ
What does the Debug skill do?
Debug code, analyze errors, interpret stack traces, find root causes, and suggest fixes. Use when troubleshooting bugs, analyzing crashes, or investigating unexpected behavior.
How do I install the Debug skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add thechandanbhagat/claude-skills --skill debug. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Debug popular?
It lives in thechandanbhagat/claude-skills, which has 9 GitHub stars and 0 forks.
Related skills
Code Review
9thechandanbhagat/claude-skills
Perform automated code reviews with best practices, security checks, and refactoring suggestions. Use when reviewing code, checking for vulnerabilities, or analyzing code quality.
CSV
9thechandanbhagat/claude-skills
Parse, analyze, transform, and manipulate CSV files. Use for data processing, cleaning, and CSV operations.
Docker
9thechandanbhagat/claude-skills
Create Dockerfiles, Docker Compose files, optimize containers, and troubleshoot Docker issues. Use for containerization and Docker operations.
Debugger
9ydnikolaev/antigravity-factory
Systematic debugging skill. 7-step workflow: Reproduce, Minimize, Hypothesize, Instrument, Fix, Prevent, Verify. Activate when troubleshooting errors.
Idea Interview
9ydnikolaev/antigravity-factory
Interview-mode skill that extracts complete project information from the user. Activates when starting a new project or discussing an idea. NO CODE — only structured discovery.
CLI Architect
9ydnikolaev/antigravity-factory
Expert in Go CLI Architecture (Cobra, Viper, POSIX).
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.