Phase Router
Agent Buildingphase-routerPhase Router is an Agent Skill for agent building published in the WenJunDuan/Rlues repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Intent recognition and workflow routing. Analyzes user input to determine task type and routes to appropriate agent. Core decision layer.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/WenJunDuan/Rlues/blob/HEAD/vibeCoding/old-version/claude/config-agent_v7.8/.claude/skills/phase-router/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/phase-router, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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]