cc10x-router
THE ONLY ENTRY POINT FOR CC10X - AUTO-LOAD AND EXECUTE for ANY development task. Triggers: build, implement, create, make, write, add, develop, code, feature, component, app, application, review, audit, check, analyze, debug, fix, error, bug, broken, troubleshoot, plan, design, architect, roadmap, strategy, memory, session, context, save, load, test, tdd, frontend, ui, backend, api, pattern, refactor, optimize, improve, enhance, update, modify, change, help, assist, work, start, begin, continue. CRITICAL: Execute workflow. Never just describe capabilities.
$ Installieren
git clone https://github.com/romiluz13/cc10x /tmp/cc10x && cp -r /tmp/cc10x/plugins/cc10x/skills/cc10x-router ~/.claude/skills/cc10x// tip: Run this command in your terminal to install the skill
name: cc10x-router description: | THE ONLY ENTRY POINT FOR CC10X - AUTO-LOAD AND EXECUTE for ANY development task.
Triggers: build, implement, create, make, write, add, develop, code, feature, component, app, application, review, audit, check, analyze, debug, fix, error, bug, broken, troubleshoot, plan, design, architect, roadmap, strategy, memory, session, context, save, load, test, tdd, frontend, ui, backend, api, pattern, refactor, optimize, improve, enhance, update, modify, change, help, assist, work, start, begin, continue.
CRITICAL: Execute workflow. Never just describe capabilities.
cc10x Router
EXECUTION ENGINE. When loaded: Detect intent â Load memory â Execute workflow â Update memory.
NEVER list capabilities. ALWAYS execute.
Decision Tree (FOLLOW IN ORDER)
| Priority | Signal | Keywords | Workflow |
|---|---|---|---|
| 1 | ERROR | error, bug, fix, broken, crash, fail, debug, troubleshoot, issue, problem, doesn't work | DEBUG |
| 2 | PLAN | plan, design, architect, roadmap, strategy, spec, "before we build", "how should we" | PLAN |
| 3 | REVIEW | review, audit, check, analyze, assess, "what do you think", "is this good" | REVIEW |
| 4 | DEFAULT | Everything else | BUILD |
Conflict Resolution: ERROR signals always win. "fix the build" = DEBUG (not BUILD).
Agent Chains
| Workflow | Agents |
|---|---|
| BUILD | component-builder â [code-reviewer â„ silent-failure-hunter] â integration-verifier |
| DEBUG | bug-investigator â code-reviewer â integration-verifier |
| REVIEW | code-reviewer |
| PLAN | planner |
â„ = PARALLEL - code-reviewer and silent-failure-hunter run simultaneously (both read-only)
Memory (PERMISSION-FREE)
LOAD FIRST (Before routing):
Bash(command="mkdir -p .claude/cc10x")
Read(file_path=".claude/cc10x/activeContext.md")
Read(file_path=".claude/cc10x/patterns.md")
Read(file_path=".claude/cc10x/progress.md")
UPDATE LAST (After workflow): Use Edit tool on activeContext.md (permission-free).
Workflow Execution
BUILD
- Load memory â Check if already done in progress.md
- Clarify requirements (DO NOT SKIP) â Use AskUserQuestion
- Invoke component-builder (TDD: REDâGREENâREFACTOR)
- PARALLEL: Invoke code-reviewer AND silent-failure-hunter simultaneously
Task(subagent_type="cc10x:code-reviewer", ...) Task(subagent_type="cc10x:silent-failure-hunter", ...) // Same message = parallel - Wait for BOTH to complete â Merge findings
- Invoke integration-verifier
- Update memory
DEBUG
- Load memory â Check patterns.md Common Gotchas
- Clarify: What error? Expected vs actual? When started?
- Invoke bug-investigator (LOG FIRST)
- Invoke code-reviewer
- Invoke integration-verifier
- Update memory â Add to Common Gotchas
REVIEW
- Load memory
- Invoke code-reviewer (check git history, confidence â„80)
- Update memory
PLAN
- Load memory
- Invoke planner
- Update memory â Reference saved plan
Agent Invocation
Pass context to each agent:
Task(subagent_type="cc10x:component-builder", prompt="
User request: {request}
Requirements: {from AskUserQuestion}
Memory: {from activeContext.md}
Patterns: {from patterns.md}
")
Skill triggers for agents:
- Frontend code (components/, ui/, pages/, .tsx, .jsx) â Load frontend-patterns
- API code (api/, routes/, services/) â Load architecture-patterns
Gates (Must Pass)
- MEMORY_LOADED - Before routing
- REQUIREMENTS_CLARIFIED - Before invoking agent (BUILD only)
- AGENT_COMPLETED - Before next agent in chain
- MEMORY_UPDATED - Before marking done
Chain Enforcement (CRITICAL)
NEVER stop after one agent. The workflow is NOT complete until the chain finishes.
After EACH agent completes, check its output for:
PARALLEL_AGENTS: X, Yâ Invoke BOTH agents in same message (parallel)PARALLEL_COMPLETE+SYNC_NEXT: Xâ After BOTH parallel agents complete, invoke XNEXT_AGENT: Xâ Invoke that single agentWORKFLOW_CONTINUES: NOâ Chain complete, update memory
Chain Execution Loop
1. Invoke agent via Task tool
2. Read agent output
3. Check output type:
a. PARALLEL_AGENTS: X, Y â Invoke BOTH in single message (parallel execution)
b. PARALLEL_COMPLETE + SYNC_NEXT: X â Wait for parallel peer, then invoke X
c. NEXT_AGENT: X â Invoke single agent
d. WORKFLOW_CONTINUES: NO â Chain complete
4. Return to step 1 until chain complete
Parallel Agent Invocation
When you see PARALLEL_AGENTS:, invoke ALL listed agents in ONE message:
Task(subagent_type="cc10x:code-reviewer", prompt="...")
Task(subagent_type="cc10x:silent-failure-hunter", prompt="...")
CRITICAL: Both tasks in same message = both complete before you continue.
After both return:
- Check BOTH outputs have
PARALLEL_COMPLETE - Check BOTH have same
SYNC_NEXT: Xvalue - Invoke X (integration-verifier) with merged findings from both agents
DO NOT invoke integration-verifier until BOTH parallel agents have completed.
Chain Completion Criteria
The workflow is complete ONLY when:
- Final agent (integration-verifier) outputs
WORKFLOW_CONTINUES: NO - OR a critical error prevents continuation
If you see PARALLEL_AGENTS: â Invoke ALL listed agents in parallel. No exceptions.
If you see NEXT_AGENT: X â Invoke agent X. No exceptions.
Repository
