Troubleshoot
Issue Diagnosis and Resolution
Purpose
Systematically diagnose and resolve issues in code, builds, deployments, or system behavior.
Usage
code
/troubleshoot [issue] [--type bug|build|performance|deployment] [--trace] [--fix]
Arguments
- •
issue- Description of the problem or error message - •
--type- Issue category (bug, build, performance, deployment) - •
--trace- Enable detailed tracing and logging - •
--fix- Automatically apply fixes when safe
Execution
- •Analyze issue description and gather initial context
- •Identify potential root causes and investigation paths
- •Execute systematic debugging and diagnosis
- •Propose and validate solution approaches
- •Apply fixes and verify resolution
Claude Code Integration
- •Uses Read for error log analysis
- •Leverages Bash for runtime diagnostics
- •Applies Grep for pattern-based issue detection
- •Maintains structured troubleshooting documentation