/issue - Analyze & Route Issues
Systematic bug analysis with severity classification and routing.
Invocation
bash
/issue "description" /issue "description" --logs=error.log
Master Prompt
📄 sdp/prompts/commands/issue.md (640+ lines)
Contains:
- •5-phase systematic debugging workflow
- •Hypothesis formation and testing
- •Root cause isolation
- •Severity classification (P0/P1/P2/P3)
- •Routing rules (hotfix/bugfix/backlog)
- •Issue file format
- •GitHub integration
Workflow
- •
Systematic Debugging:
- •Phase 1: Symptom Documentation
- •Phase 2: Hypothesis Formation (ranked)
- •Phase 3: Systematic Elimination
- •Phase 4: Root Cause Isolation
- •Phase 5: Impact Chain Analysis
- •
Severity Classification:
- •P0 (CRITICAL): Production down →
/hotfix - •P1 (HIGH): Feature broken →
/bugfix - •P2 (MEDIUM): Edge case → New WS
- •P3 (LOW): Cosmetic → Defer
- •P0 (CRITICAL): Production down →
- •
Route to Fix
Key Output
Issue file: docs/issues/{ID}-{slug}.md
GitHub issue (if gh available)
Routing recommendation
Quick Reference
Input: Bug description
Output: Issue file + Routing
Next: /hotfix or /bugfix or schedule WS