一键导入
route
Analyze project state and route user to the appropriate agent based on current context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze project state and route user to the appropriate agent based on current context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | route |
| description | Analyze project state and route user to the appropriate agent based on current context. |
| version | 1.0.0 |
<file_system_scan critical="true">
Use these EXACT glob patterns:
<pattern purpose="Find intent briefs">
.specs-fire/intents/*/brief.md
</pattern>
<pattern purpose="Find work items">
.specs-fire/intents/*/work-items/*.md
</pattern>
Work items are {work-item-id}.md files directly in work-items/ folder.
</file_system_scan>
<action>Reconcile: add discovered items to state as pending</action>
<action>Parse current project state</action>
Resuming active run: {runs.active[0].id}
Scope: {runs.active[0].scope}
Current item: {runs.active[0].current_item}
Progress: {completed_count}/{total_count} items
builder-agent (run-execute)
Find work items with status == pending across all intents
**{pending_count} pending work items** found across {intent_count} intent(s).
Plan run scope and start execution? [Y/n]
</output>
<check if="response == y">
<route_to>builder-agent (run-plan)</route_to>
</check>
<stop/>
</check>
Find intents with status == in_progress
Intent "{intent.title}" needs decomposition.
Routing to Planner to create work items.
planner-agent (work-item-decompose)
Mark intent as completed
Intent "{intent.title}" completed!
Work items delivered:
{list completed work items}
Ready for next intent? [Y/n]
</output>
</check>
No active work. Ready for a new intent.
What do you want to build?
</output>
<route_to>planner-agent (intent-capture)</route_to>
<routing_decision_tree>
state.yaml + file system scan
│
├── runs.active? ─────────────> Builder (run-execute, resume)
│
├── pending work items? ──────> Builder (run-plan, then execute)
│
├── intent without work items? > Planner (work-item-decompose)
│
└── no active intents ────────> Planner (intent-capture)
</routing_decision_tree>
<context_passed_to_agents> To Planner:
context:
action: intent-capture | work-item-decompose
intent_id: {if decomposing}
To Builder:
context:
action: run-plan | run-execute | resume
pending_items: [{list of pending work items}] # for run-plan
run_id: {if resuming}
</context_passed_to_agents>
<success_criteria> File system scanned for untracked intents/work-items State reconciled with file system Correct agent selected based on state Context passed to target agent </success_criteria>
Execute work items based on their assigned mode (autopilot, confirm, validate). Supports single-item and multi-item (batch/wide) runs.
Generate implementation walkthrough for human review after run completion. Documents decisions, changes, and verification steps.
Multi-perspective idea evaluation using Six Hats analysis, impact/feasibility scoring, and collaborative shortlisting.
Shape top ideas into actionable concept briefs using Disney Strategy — Dream, Reality, Critique.
Rapid idea generation with cross-domain diversity, anti-bias enforcement, and deep thinking.
Review code written during a run, auto-fix no-brainer issues, and suggest improvements requiring confirmation. Invoked after tests pass.