router-first-architecture by parcadei/continuous-claude-v3
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill router-first-architecture在使用单个工具之前,先通过领域路由器进行路由。路由器抽象了工具选择。
领域路由器(如 math-router)提供从用户意图到确切 CLI 命令的确定性映射。始终优先使用路由器;仅在边缘情况下绕过。
math-router route "<intent>"skill-rules.json 中的 coActivate)command: null 时回退skill-rules.json 中的触发关键词/模式比路由模式更宽泛领域技能应与其路由器协同激活:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
{
"math/abstract-algebra/groups": {
"coActivate": ["math-router"],
"coActivateMode": "always"
}
}
这确保了当领域知识被激活时,路由器始终可用。
保持触发层比路由层更宽泛 - 路由器应优雅地处理"未找到"的情况。
每周安装量
192
代码仓库
GitHub 星标数
3.6K
首次出现
2026年1月22日
安全审计
安装于
opencode187
codex185
gemini-cli184
cursor183
github-copilot181
amp178
Route through domain routers before using individual tools. Routers abstract tool selection.
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.
math-router route "<intent>" before any math operationcoActivate in skill-rules.json)command: nullDomain 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.
Keep the trigger layer broader than routing - the router should handle "not found" gracefully.
Weekly Installs
192
Repository
GitHub Stars
3.6K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode187
codex185
gemini-cli184
cursor183
github-copilot181
amp178
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装