router-first-architecture▌
parcadei/continuous-claude-v3 · updated Apr 8, 2026
Route through domain routers before using individual tools. Routers abstract tool selection.
Router-First Architecture
Route through domain routers before using individual tools. Routers abstract tool selection.
Pattern
Domain routers (like math-router) provide deterministic mapping from user intent to exact CLI commands. Always use the router first; only bypass for edge cases.
DO
- Call
math-router route "<intent>"before any math operation - Let domain skills co-activate with their router (via
coActivatein skill-rules.json) - Trust the router's confidence score; only fall back if
command: null - Keep trigger keywords/patterns in skill-rules.json broader than routing patterns
DON'T
- Call individual scripts directly when a router exists
- Duplicate routing logic in individual skills
- Let domain skills bypass their router
Co-Activation Pattern
Domain skills should co-activate with their router:
{
"math/abstract-algebra/groups": {
"coActivate": ["math-router"],
"coActivateMode": "always"
}
}
This ensures the router is always available when domain knowledge is activated.
Two-Layer Architecture
- Skill-rules trigger layer: Nudges Claude to use the router (keywords, intent patterns)
- Router routing layer: Deterministic mapping to scripts via regex patterns
Keep the trigger layer broader than routing - the router should handle "not found" gracefully.
Source Sessions
- 2bbc8d6e: "Trigger layer was narrower than routing layer" - expanded triggers
- This session: Wired 8 domain math skills to co-activate with math-router
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★63 reviews- ★★★★★Layla Harris· Dec 24, 2024
Registry listing for router-first-architecture matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Pratham Ware· Dec 20, 2024
router-first-architecture fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Advait Khanna· Dec 20, 2024
I recommend router-first-architecture for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Layla Nasser· Dec 20, 2024
We added router-first-architecture from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Advait Bansal· Dec 16, 2024
router-first-architecture fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Nia Liu· Dec 8, 2024
Useful defaults in router-first-architecture — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Advait Chawla· Dec 8, 2024
router-first-architecture has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Ganesh Mohane· Dec 4, 2024
Solid pick for teams standardizing on skills: router-first-architecture is focused, and the summary matches what you get after install.
- ★★★★★Nia Taylor· Nov 27, 2024
Registry listing for router-first-architecture matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Naina Robinson· Nov 15, 2024
Useful defaults in router-first-architecture — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 63