debug
The debug slash command initiates a systematic debugging workflow that guides users through reproducing, isolating, and analyzing software problems. Use this command when troubleshooting failing tests, runtime errors, performance issues, or other technical problems that require methodical root cause investigation and solution verification.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nyldn/claude-octopus/HEAD/.claude/commands/debug.md -o ~/.claude/commands/debug.mddebug.md
# Debug - Systematic Debugging Skill
**Your first output line MUST be:** `🐙 Octopus Debug Mode`
## Instructions
Read and follow the full skill instructions from:
`${HOME}/.claude-octopus/plugin/.claude/skills/skill-debug/SKILL.md`
## Quick Usage
Just use natural language:
```
"Debug why the login is failing"
"Help me debug this memory leak"
"Systematically debug the API timeout issue"
```
## Debugging Approach
1. **Reproduce**: Understand and reproduce the issue
2. **Isolate**: Narrow down the root cause
3. **Analyze**: Examine code, logs, and state
4. **Hypothesize**: Form theories about the bug
5. **Test**: Validate hypotheses
6. **Fix**: Implement and verify the solution
## What You Get
- Step-by-step debugging plan
- Root cause analysis
- Fix recommendations
- Prevention strategies
- Test cases to prevent regression
## Natural Language Examples
```
"Debug the failing test in test_auth.py"
"Help me debug why the API is returning 500 errors"
"Systematic debugging of the memory usage issue"
```Backend architect for scalable API design, microservices, and distributed systems
Cloud architect for AWS/Azure/GCP infrastructure, IaC, FinOps, and multi-cloud strategies
Code review expert for quality analysis, security vulnerabilities, and production reliability
Database architect for data modeling, technology selection, schema design, and migration planning
Debugging specialist for errors, test failures, and unexpected behavior
Technical documentation architect for comprehensive system docs and architecture guides
Frontend developer for React, Next.js, responsive layouts, and accessible UI components
Performance engineer for optimization, observability, and scalable system performance