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/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. Delegate only when the user explicitly starts an Octopus workflow.
Cloud architect. Delegate only when the user explicitly starts an Octopus workflow.
Code reviewer. Delegate only when the user explicitly starts an Octopus workflow.
Database architect. Delegate only when the user explicitly starts an Octopus workflow.
Debugger. Delegate only when the user explicitly starts an Octopus workflow.
Documentation architect. Delegate only when the user explicitly starts an Octopus workflow.
Frontend developer. Delegate only when the user explicitly starts an Octopus workflow.
Performance engineer. Delegate only when the user explicitly starts an Octopus workflow.