Agent skill
phase-router
Intent recognition and workflow routing. Analyzes user input to determine task type and routes to appropriate agent. Core decision layer.
Install this agent skill to your Project
npx add-skill https://github.com/WenJunDuan/Rlues/tree/main/vibeCoding/old version/claude/config-agent_v7.8/.claude/skills/phase-router
SKILL.md
Phase Router Skill
Routing Rules
| Input Pattern | Route To | Workflow |
|---|---|---|
| No task ID + new keywords | requirement-mgr | 需求创建 |
| Task ID + change keywords | requirement-mgr | 变更管理 |
| Task ID + design keywords | design-mgr | 方案设计 |
| Task ID + develop keywords | impl-executor | 开发实施 |
| Task ID only | Query status | 智能推断 |
Complexity Assessment (P.A.C.E.)
| Path | Criteria | Workflow | Duration |
|---|---|---|---|
| A | 单文件, <30行 | R1→E→R2 | 30-60分 |
| B | 2-10文件 | R1→I→P→E→R2 | 2-8小时 |
| C | >10文件, 跨模块 | 完整九步 | 数天+ |
Output Format
RouteDecision:
intent: [new|change|design|develop|complete]
task_id: REQ-xxx
complexity: [A|B|C]
agent: [requirement-mgr|design-mgr|impl-executor]
workflow: [path-a|path-b|path-c]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-teams
Path D 并行编排 — 子代理分工 + Agent Teams 协作。需要 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
tdd
Path 分级 TDD 策略
context7
E 阶段按需拉取库文档 — 用 ctx7 获取准确 API 信息
knowledge
跨会话经验管理 — 在 .ai_state 内沉淀和复用项目经验
code-quality
Rev 阶段 Plugin 编排顺序
verification
V 阶段 Path 分级验证清单
Didn't find tool you were looking for?