spec-doc-review
用 reviewer 角色审查需求、计划、task pack 或规格文档。
ASCII 链路图
text
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
|
v
spec-doc-review
entry: spec-doc-review
type: workflow command链路图表示该技能在研发阶段上的位置;阶段之间不是必经顺序,按当前任务直接进入最匹配的入口即可。
基本信息
| 字段 | 内容 |
|---|---|
| Skill | spec-doc-review |
| 类型 | workflow command |
| 研发链路位置 | Review |
| 当前入口 | spec-doc-review |
| 兼容别名 | /spec:doc-review、$spec-doc-review |
| 宿主投递 | Claude Code: command · Codex: skill · Cursor: skill · Kiro: skill · Qoder: command · OpenCode: command · ZCode: skill · Pi: skill |
| Source | skills/spec-doc-review/SKILL.md |
源码描述(原文)
Review requirements, plans, task packs, or specs through reviewer personas. Use to assess existing planning and execution documents; standard roster uses at most 3 reviewers, while roster:full selects every qualifying lens.
Source 契约摘要
以下各条摘自上游 SKILL.md 的契约摘要小节(Workflow Contract Summary 或 Contract Summary),过长时截断。
- 输入 — requirements, unified or legacy plans, task packs, or readable spec artifacts, with optional roster/output/mutation flags.
- 输出 — report-only findings by default, coverage, recommendations, and optional JSON. Markdown fixes require explicit apply authority.
- 硬出口 — unreadable documents, conflicting flags, task-pack/source-plan drift, ambiguous format/source ownership, or missing mutation authority block writes.
- Dispatch boundary —
worker_dispatch_authorization,capability_probe,worker_dispatch_capability,worker_capability_unproven,provider_untrusted,dispatch_authorization_missing, andsubagent_capability_missingare recorded before dispatch; direct invocation does not authorize workers, and inline fallback never claims independent persona coverage. - Mutation boundary —
mode:headless/mode:non-interactiveonly change delivery;requested_mutation: default-report-onlyremains the default. Withoutmutation:apply-fixes, ordinary writable Markdown resolves toreport-only; commit and landing remain unauthorized. - 权威 — the document and source refs supply facts; personas/LLMs judge semantic adequacy. Producers own derived-artifact repair; review inherits no commit or landing authority.
- 消费者 — document owners,
spec-brainstorm,spec-plan,spec-write-tasks,spec-work, and human reviewers.
何时使用
- 文档交给下一阶段前需要独立评审。
- 计划、需求或 task pack 可能有歧义、范围蔓延或设计缺口。
- 需要
mode:non-interactive的无人值守审查,或交互式逐项走查。
Agent / Persona 列表
该技能挂载了 8 个 persona,源码位置:skills/spec-doc-review/references/personas/。agent 可以点开查看详情;persona 只在所属技能的流程里使用,不单独成页。
| 名称 | 类型 | 摘要 |
|---|---|---|
spec-adversarial-document-reviewer | persona | You challenge plans by trying to falsify them. |
spec-coherence-reviewer | persona | You are a technical editor reading for internal consistency. |
spec-design-lens-reviewer | persona | You are a senior product designer reviewing plans for missing design decisions. |
spec-feasibility-reviewer | persona | You are a systems architect evaluating whether this plan can actually be built as described and whether an implementer could start working from it without ma... |
spec-product-lens-reviewer | persona | You are a senior product leader. |
spec-scope-guardian-reviewer | persona | You ask two questions about every plan: "Is this right-sized for its goals?" and "Does every abstraction earn its keep?" You are not reviewing whether the pl... |
spec-security-lens-reviewer | persona | You are a security architect evaluating whether this plan accounts for security at the planning level. |
spec-whole-doc-reviewer | persona | You are a generalist reviewing this entire document. |
边界
- 默认只读并输出 findings;Markdown 修复需要显式
mutation:apply-fixes。 - 标准阵容最多 3 个 reviewer,
roster:full才启用全部视角。 - 直接调用不授权派发 worker;内联回退不声称独立的多视角覆盖。
源码校准
本页由脚本从上游
skills/spec-doc-review/SKILL.md生成;入口、兼容别名与宿主投递以src/cli/contracts/dual-host-governance/skills-governance.json为准。
