spec-prd
在已有系统上创建、编写、细化或验证 planning-readiness 的 PRD 级增量需求。
ASCII 链路图
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
|
v
spec-prd
entry: spec-prd
type: workflow command链路图表示该技能在研发阶段上的位置;阶段之间不是必经顺序,按当前任务直接进入最匹配的入口即可。
基本信息
| 字段 | 内容 |
|---|---|
| Skill | spec-prd |
| 类型 | workflow command |
| 研发链路位置 | Spec |
| 当前入口 | spec-prd |
| 兼容别名 | /spec:prd、$spec-prd |
| 宿主投递 | Claude Code: command · Codex: skill · Cursor: skill · Kiro: skill · Qoder: command · OpenCode: command · ZCode: skill · Pi: skill |
| Source | skills/spec-prd/SKILL.md |
源码描述(原文)
Public workflow entrypoint (spec-prd): create, write, refine, or validate planning-readiness of brownfield PRD-grade requirements for existing systems before implementation planning. Do not use for 0-1 product exploration, unresolved product shape, HOW planning/task compilation, implementation/debug/review, lightweight direct fixes, generated runtime mirror edits, or PRD/design-source/source consistency audits; route to spec-brainstorm, spec-plan/spec-write-tasks, spec-work, review workflows, or spec-debug for fix/crash requests as appropriate.
Source 契约摘要
以下各条摘自上游 SKILL.md 的契约摘要小节(Workflow Contract Summary 或 Contract Summary),过长时截断。
- 何时使用 — Use for brownfield increment PRD authoring, existing PRD refinement, and code-aware PRD validation when the product owner already knows the existing product/system surface being changed.
- 何时不使用 — Do not use for 0-1 product exploration, unresolved product shape, implementation planning, task execution, debugging, PRD/design-source/source audit, or requests that only need a lightweight direct fix.
- 输入 — An increment request, existing PRD or requirements draft, rough Markdown notes, extracted multimodal material (image/PDF/meeting-notes/chat-log transcripts), source/docs evidence, current-system context, domain terms, and product-owner decisions.
- 输出 — A PRD-grade requirements artifact for create/refine, concise optimization suggestions for refine, a source-resolved compact PRD or explicit route-out when PRD authoring adds no durable WHAT value, a split-decision summary pending owner confirmation, or a report-only validation result with source/checker facts, blockers, questions, and readiness outcome.
- 产物 — Requirements artifacts under
docs/brainstorms/usingartifact_kind: prd-requirements, optional split summary and child PRDs for owner-confirmed oversized initial PRDs, and no generated runtime mirror edits. - 失败模式 — Missing target surface, unresolved product identity, current-state claims without evidence, owner decisions that would change scope, unconfirmed source candidates presented as confirmed truth, or PRD readiness gaps that would force planning to invent WHAT.
- 流程 — Classify intent and input mode, gather current-state evidence, run the Requirement Analysis Gate to map materials into understanding, uncertainty/contradiction points, grill decisions, and PRD write targets, then branch: create/refine may write after closure and run finalize; validate runs readiness/check-only and returns a report without mutation. Hand off to refine, doc review, plan, or done from the observed result.
- 下游消费者 —
spec-plan,spec-doc-review, product owners, implementation reviewers, and future work/review flows that need stable PRD-grade WHAT/WHY context.
何时使用
- 面向已有产品的增量需求。
- 已有 PRD 或需求草稿需要细化。
- 需要结合代码验证 PRD 是否可以进入规划。
边界
- 0-1 产品探索或产品形态未定时请用 spec-brainstorm。
- 不写实现计划、不执行任务。
源码校准
本页由脚本从上游
skills/spec-prd/SKILL.md生成;入口、兼容别名与宿主投递以src/cli/contracts/dual-host-governance/skills-governance.json为准。
