1.6 KiB
1.6 KiB
allowed-tools, description, wave-enabled, complexity-threshold
| allowed-tools | description | wave-enabled | complexity-threshold | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Diagnose and resolve issues in code, builds, or system behavior | true | 0.7 |
/hc:troubleshoot - Issue Diagnosis and Resolution
Purpose
Systematically diagnose and resolve issues in code, builds, deployments, or system behavior.
Usage
/hc:troubleshoot [issue] [--type bug|build|performance|deployment] [--trace]
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
- Use @agent-architect to analyze issue and gather initial context
- For security issues, engage @agent-security-analyst
- Identify potential root causes and investigation paths
- Execute systematic debugging and diagnosis
- Pass findings to @agent-coder for fix implementation
- Use @agent-test-engineer to validate the fix
- Apply fixes and verify resolution
Wave Trigger: Complex issues spanning >15 files or >3 domains Search Priority: WebSearch > WebFetch for error resolution patterns
Claude Code Integration
- Uses Task tool to orchestrate @agent-architect → @agent-coder → @agent-test-engineer workflow
- Uses Read for error log analysis
- Leverages Bash for runtime diagnostics
- Applies Grep for pattern-based issue detection
- Maintains structured troubleshooting documentation
- Shares diagnostic findings between agents via MCP memory server