Skip to main content

router-first-architecture

Router-First Architecture

소스 정보

저장소
parcadei/Continuous-Claude-v3
최근 소스 활동
2026년 1월 10일 01:54
감지된 SKILL.md 언어
영어
스타
3,943
포크
303

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
router-first-architecture
description
Router-First Architecture
# 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: ```json { "math/abstract-algebra/groups": { "coActivate": ["math-router"], "coActivateMode": "always" } } ``` This ensures the router is always available when domain knowledge is activated. ## Two-Layer Architecture 1. **Skill-rules trigger layer**: Nudges Claude to use the router (keywords, intent patterns) 2. **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
GitHub에서 보기