Skip to content
parcadei avatar

Router First Architecture

Routing-first pattern that sends domain intent through a deterministic router before any individual tool runs.

CCM score
43 of 100
skills.sh installs
469
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the two-layer design: a skill-rules trigger layer that nudges toward the router, and a routing layer that maps intent to scripts
  • Explains co-activation via coActivate in skill-rules.json so domain skills always load alongside their router
  • Enforces use of math-router route "<intent>" first, falling back only when the router returns command: null
  • Designed for math-domain skill sets where individual scripts should not be called directly and routing logic must not be duplicated

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill router-first-architecture -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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 coActivate in 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

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Skill & Plugin Building, Data Science & Analytics, Agent Workflow & Planning
First seen
Jun 3, 2026

Questions

What does the router-first-architecture skill do?

It tells the agent to route through domain routers, such as math-router, before calling individual tools. The router maps a user's intent to an exact CLI command, and the agent falls back only when the router returns no command.

How do I install the router-first-architecture skill?

Run npx -y skills add parcadei/continuous-claude-v3 --skill router-first-architecture -y in your project. Once installed, the agent follows the router-first pattern when it works on domain tasks.

Which skills lead the Skill and Plugin Building category next to this one?

This skill sits in the Skill and Plugin Building category alongside find-skills, writing-for-agents, lark-skill-maker, skill-creator and discover-azure-skills. It differs from those by focusing on how domain skills co-activate with a router and how trigger keywords should stay broader than routing patterns.

Does router-first-architecture need any tools or accounts?

The facts only show that it expects a domain router such as math-router and a skill-rules.json file that defines coActivate settings. No API keys or paid accounts are mentioned in its source.

More from parcadei/continuous-claude-v3

All 108

Similar to Router First Architecture

More Skill & Plugin Building