ワンクリックで
t-prd-publish
After implementation and acceptance, summarize the draft PRD against delivered facts, then revise the existing formal PRD.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
After implementation and acceptance, summarize the draft PRD against delivered facts, then revise the existing formal PRD.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run a single demo E2E test file, diagnose failures, dispatch fixes to agents, and re-run until pass.
Execute phased task plans by dispatching work to specialized sub-agents for backend, frontend, miniapp, Flutter, or demo phases.
Validate task plan executability and consistency with a 100-point score and P0/P1/P2 fix list.
Convert technical design documents into executable phased task plans with ordered work breakdown.
Evaluate technical design documents for implementability, completeness, and consistency with a quantitative 100-point score.
Initialize a full-stack project skeleton with Rust backend (Axum + SeaORM + Redis) and React frontend (TypeScript + TanStack + Tailwind).
| name | t-prd-publish |
| description | After implementation and acceptance, summarize the draft PRD against delivered facts, then revise the existing formal PRD. |
| argument-hint | [feature-name] |
| allowed-tools | ["AskUserQuestion","Read","Glob","Grep","Write","Bash"] |
运行时边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md
需求来源边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/requirement-source-contract.md
若草稿、正式 PRD、用户故事或规范之间冲突,以明确澄清为继续条件:停止、说明冲突并等待决策。
在实现、测试和 Demo 验收完成后,基于 .ai/prd/<domain>/<feature>.md 草稿、.ai/user-stories/<domain>/<feature>.md draft 用户故事、现有正式 PRD / 用户故事和实现后证据,先总结“草稿提出了什么、最终交付了什么、现有正式文档缺什么或哪里过期”,再修正增补现有 docs/prd/<domain>/<feature>.md 和 docs/user-stories/**/*.md。没有正式 PRD 或合适用户故事文件时才创建。完成后删除对应 .ai/prd 和 .ai/user-stories 草稿。
该 skill 聚焦“代码实现后,如何把通过草稿沉淀的新需求同步回长期 PRD”。输出应体现已稳定的产品事实、业务规则、用户场景和验收目标。
输出文件:
docs/prd/<domain>/<feature>.mddocs/prd/00-index.mddocs/user-stories/**/*.md/t-prd-publish [feature]
docs/prd。.ai/prd/<domain>/<feature>.md 和 .ai/user-stories/<domain>/<feature>.md(如存在)。必须读取:
.ai/prd/<domain>/<feature>.md — 待发布 PRD 草稿.ai/user-stories/<domain>/<feature>.md — 待发布 draft 用户故事(如存在)docs/prd/<domain>/<feature>.md — 已发布正式 PRD(如存在)docs/prd/00-index.md — 正式 PRD 索引(如存在)docs/user-stories/**/*.md — 草稿引用的用户故事.ai/design/<feature>.md — 相关技术设计(如存在).ai/task/<feature>/.state.json — 可选实现阶段背景材料(如存在).ai/quality/**/*.md — 相关 check / accept 报告(如存在)${CLAUDE_PLUGIN_ROOT}/guides/product/prd.md${CLAUDE_PLUGIN_ROOT}/guides/product/user-story.md${CLAUDE_PLUGIN_ROOT}/protocols/requirement-source-contract.md${CLAUDE_PLUGIN_ROOT}/protocols/prd-check-rubric.md如果找不到草稿,立即失败并提示先执行 /t-prd [feature]。
[feature] 非空且符合文件名规则.., /, \.ai/prd/**/*.md 中按文件名精确匹配 [feature]docs/prd/<domain>/<feature>.md读取草稿、正式 PRD、索引、相关用户故事、设计和验收报告;如 .ai/task/<feature>/.state.json 存在,可用于理解实现阶段背景。发布判断以 PRD 草稿、正式文档、设计、质量报告、Demo 验收和交付证据为准。检查:
docs/prd/00-index.md 是否需要新增或更新条目如果发现 P0 问题或缺少完成证据,停止发布并输出修复建议。
写入前先向用户展示:
使用 AskUserQuestion 请求确认。获得确认后进入正式文档写入;未获得确认则结束本轮发布。
用户确认后:
docs/prd/<domain>/<feature>.mddocs/user-stories/**/*.mddocs/prd/<domain>/<feature>.mddocs/prd/00-index.md 的对应条目;索引维护遵循目标项目现有索引文件.ai/prd/<domain>/<feature>.md.ai/user-stories/<domain>/<feature>.md(如存在).ai/prd/<domain>/ 删除草稿后为空,可删除该空目录.ai/user-stories/<domain>/ 删除草稿后为空,可删除该空目录.ai/prd/<domain>/<feature>.md 已不存在.ai/user-stories/<domain>/<feature>.md 已不存在或本轮不存在 draft 用户故事/t-html-show docs/prd/<domain>/<feature>.md 生成正式 PRD Preview/t-prd-check [feature] 对正式 PRD 做发布后校验完成后明确说明:
/t-prd-check [feature] 做正式 PRD 校验;通过后可进入 /t-release [version]/t-prd [feature]