| name | commands-router |
| description | Routes tasks to reasoning frameworks and command patterns in commands-db. Triggers on structured development workflows, skill commands (sc:*), brainstorming, architecture, or any task matching command framework patterns. Uses reasoning-index for semantic routing. |
Commands Router
Routes tasks to appropriate reasoning frameworks and command patterns.
Trigger Conditions
Activate when task involves:
- Structured development workflow (implement, build, test)
- Skill command invocation (sc:*)
- Brainstorming or ideation
- Architecture or design decisions
- Workflow templates
- Schema-based operations
Command Categories
SC Commands (Skill Commands)
Primary action verbs for development tasks.
| Command | Trigger Keywords | Purpose |
|---|
sc:analyze | analyze, evaluate, assess, audit | Deep analysis |
sc:build | build, compile, package | Build operations |
sc:cleanup | clean, organize, declutter | Code cleanup |
sc:design | design, architect, plan | Architecture |
sc:document | document, readme, guide | Documentation |
sc:estimate | estimate, cost, time | Estimation |
sc:explain | explain, clarify, describe | Explanations |
sc:git | commit, push, merge | Git operations |
sc:implement | implement, code, feature | Implementation |
sc:improve | improve, enhance, optimize | Improvement |
sc:load | load, context, import | Context loading |
sc:spawn | spawn, delegate, parallel | Delegation |
sc:task | task, complex, persistent | Complex tasks |
sc:test | test, verify, validate | Testing |
sc:troubleshoot | debug, fix, diagnose | Debugging |
sc:workflow | workflow, prd, process | Workflows |
BMAD Framework
| Module | Purpose |
|---|
bmad:brainstorm | Structured brainstorming |
bmad:party-mode | Multi-agent ideation |
bmad:prd | Product requirements |
bmad:architecture | System architecture |
Routing Logic
reasoning-index search "{user_intent}"
reasoning-index suggest "{task_description}"
Decision Tree
Command Task Detected
โ
โโโ Implementation?
โ โโโ New feature? โ sc:implement
โ โโโ Build? โ sc:build
โ โโโ Improvement? โ sc:improve
โ
โโโ Analysis?
โ โโโ Code review? โ sc:analyze
โ โโโ Debugging? โ sc:troubleshoot
โ โโโ Testing? โ sc:test
โ
โโโ Design?
โ โโโ Architecture? โ sc:design
โ โโโ Brainstorm? โ bmad:brainstorm
โ โโโ PRD? โ bmad:prd
โ
โโโ Documentation?
โ โโโ README? โ sc:document
โ โโโ Explain? โ sc:explain
โ โโโ Guide? โ sc:document
โ
โโโ Operations?
โโโ Git? โ sc:git
โโโ Cleanup? โ sc:cleanup
โโโ Complex? โ sc:task
Usage
reasoning-index search "debug authentication"
reasoning-index suggest "implement user login"
reasoning-index list sc
reasoning-index graph "optimize performance" --depth 2
Integration
- reasoning-index: Primary routing CLI
- commands-db: Command framework database
- skill-db: Skill integration
- meta-router: Parent router
Command Chaining
Design โ Implement โ Test โ Document
sc:design โ sc:implement โ sc:test โ sc:document