router-first-architecture

Route user intents through domain routers before executing individual scripts.

3.9k|296|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill router-first-architecture-parcadei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: router-first-architecture
Source: https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/router-first-architecture
Command: npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill router-first-architecture-parcadei

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill establishes a standardized and efficient way to route user intents to the correct domain-specific tools or scripts, preventing direct script calls and ensuring a more organized and maintainable system.

Core Features & Use Cases

  • Domain Routing: Directs requests to appropriate domain routers (e.g., math-router) before invoking individual tools.
  • Abstracted Tool Selection: Routers act as intermediaries, simplifying tool invocation and management.
  • Use Case: When a user asks to perform a mathematical calculation, the math-router is invoked first to determine the most suitable mathematical operation and its parameters, rather than the user directly calling a specific math script.

Quick Start

Use the math-router to route the intent 'calculate the area of a circle with radius 5'.

Frequently Asked Questions about router-first-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a router-first architecture for intent routing?

A router-first architecture for intent routing directs user requests through domain routers before executing scripts, ensuring deterministic mapping and abstracting tool selection to maintain clear separation of concerns.

How do I route user intents to specific domain tools instead of calling scripts directly?

You route user intents by invoking a domain router, such as a math-router, which evaluates the request to determine the most suitable operation and parameters before triggering the underlying script.

When do I need a domain router for skill management?

You need a domain router for skill management when handling complex skill ecosystems where preventing direct script calls is crucial for maintaining an organized, deterministic, and maintainable system.

Does this routing pattern require any dependencies to manage tool selection?

No, this routing pattern requires no external dependencies to manage tool selection, relying entirely on internal domain routers to abstract and route intents deterministically.

What is the best way to organize complex skill ecosystems with multiple domain tools?

The best way to organize complex skill ecosystems is implementing a router-first pattern, using domain routers as intermediaries to abstract tool invocation and ensure a standardized separation of concerns.