一键导入
handoff-routing-policy
Route the next allowed role after one explicit subAgent result, or stop, without encoding full workflows, registries, or runtime semantics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Route the next allowed role after one explicit subAgent result, or stop, without encoding full workflows, registries, or runtime semantics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a new single-purpose Agent Skill folder that reaches review-ready with a clear trigger, risk-appropriate validation, concise positive and negative examples, and explicit roles for all local files. Use this when asked to draft or scaffold a new Agent Skill for this repository.
Review a review-ready Agent Skill folder for required core files, complexity-gated sections, YAML-body alignment, risk-appropriate validation, concise positive and negative examples, declared local file roles, single responsibility, portability, independence, and explicit trigger clarity. Use this when a skill draft is ready to be approved or sent back for rework.
Provide the canonical structure for a review-ready, portable, single-purpose Agent Skill in this repository, including complexity-gated sections and risk-based validation guidance. Use this when asked for the standard shape of a new skill or when building a new skill manually from a template.
Generate or backfill the minimum v1 spec document set for one explicit `spec-name` using only the local templates, while preserving existing authored content and refusing out-of-scope outputs.
Build one minimal task-specific handoff package for a real subAgent dispatch without carrying unrelated history, registry hints, or workflow reconstruction.
Enforce a strict release gate for PR readiness, version-source synchronization, tagging safety, emergency exceptions, and release repair guidance without bypassing core quality checks.
| name | handoff-routing-policy |
| description | Route the next allowed role after one explicit subAgent result, or stop, without encoding full workflows, registries, or runtime semantics. |
| complexity | medium |
Choose the next route after one explicit subAgent result.
This skill works only after a real dispatch has already occurred and a result payload has been returned.
Use this skill when:
ROUTINGDo not use this skill when:
result_role: one of Planner, Implementer, Reviewer, Correction Plannerverdict: one of
PASSPATCH_REQUIREDREPLAN_REQUIREDMISSING_EVIDENCEBLOCKEDMISSING_EVIDENCEPASS: choose the next role only if one more bounded role handoff is
needed; otherwise stopPATCH_REQUIRED: route to ImplementerREPLAN_REQUIRED: route to Correction PlannerMISSING_EVIDENCE: route only to the bounded role that can supply the
missing evidence; if that owner is unknown, stopBLOCKED: stop unless a bounded route to Planner is explicitly justifiedstop, with a short factual reason.Implementer returns PATCH_REQUIRED with concrete bounded
evidence, and the skill routes to Implementer.next_role: Planner | Implementer | Reviewer | Correction Planner |
stopreason: short factual reasonstop_condition: none or exact blockerPASS: the result came from real dispatch, the Observer is in ROUTING, the
verdict is exactly one frozen allowed value, and the skill returns exactly
one allowed next_role or stop consistent with the stated verdict.BLOCKED: stop when the verdict is unknown, unstructured, or unsupported;
when the evidence owner for MISSING_EVIDENCE is unknown; or when proceeding
would require invented workflow state, registry behavior, runtime semantics,
or a broader routing model than this skill allows.SOFT FAIL: mark status as INCOMPLETE when the allowed verdict is clear
enough to route or stop, but the bounded evidence summary or blocker detail is
incomplete.SOFT FAIL, keep the routing decision within the frozen verdict set,
state the missing evidence explicitly, and avoid inventing additional workflow
state.stop with the limitation stated explicitly.BLOCKED and stop.MISSING_EVIDENCE lacks a known bounded owner, stop instead of inventing
one.stop or BLOCKED with the limitation stated explicitly.examples.md: verdict-driven routing examples, including stop conditions for
missing evidence and out-of-scope expansion