From t-tools
Summarizes draft PRD against delivered implementation, test, and demo evidence, then revises or appends the existing formal PRD. Run only after acceptance to sync new facts into long-term product docs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/t-tools:t-prd-publish [feature-name][feature-name]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
运行时边界统一参考:`${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md`
运行时边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md
若草稿、正式 PRD、用户故事或规范之间冲突,停止、说明冲突并等待澄清;不要平均折中。
在实现、测试和 Demo 验收完成后,基于 .ai/prd/<domain>/<feature>.md 草稿、现有正式 PRD 和实现后证据,先总结“草稿提出了什么、最终交付了什么、现有正式 PRD 缺什么或哪里过期”,再修正增补现有 docs/prd/<domain>/<feature>.md。没有正式 PRD 时才创建。完成后删除对应 .ai/prd 草稿。
该 skill 解决的是“代码实现后,如何把通过草稿沉淀的新需求同步回长期 PRD”的问题。它不是实现报告生成器,也不是把 .ai/prd 直接复制到 docs/prd。
输出文件:
docs/prd/<domain>/<feature>.mddocs/prd/00-index.md/t-prd-publish [feature]
/t-design 前置步骤。docs/prd。.ai/prd/<domain>/<feature>.md。必须读取:
.ai/prd/<domain>/<feature>.md — 待发布 PRD 草稿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}/protocols/prd-check-rubric.md如果找不到草稿,立即失败并提示先执行 /t-prd [feature]。
[feature] 非空且符合文件名规则.., /, \.ai/prd/**/*.md 中按文件名精确匹配 [feature]docs/prd/<domain>/<feature>.md读取草稿、正式 PRD、索引、相关用户故事、设计、任务状态和验收报告,检查:
docs/prd/00-index.md 是否需要新增或更新条目如果发现 P0 问题或缺少完成证据,停止发布并输出修复建议。
写入前先向用户展示:
使用 AskUserQuestion 请求确认。未确认时不得写入 docs/prd。
用户确认后:
docs/prd/<domain>/<feature>.mddocs/prd/<domain>/<feature>.mddocs/prd/00-index.md 的对应条目;索引不存在时不强行创建.ai/prd/<domain>/<feature>.md.ai/prd/<domain>/ 删除草稿后为空,可删除该空目录.ai/prd/<domain>/<feature>.md 已不存在/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]docs/prdnpx claudepluginhub timzaak/web-dev-skillsCreates or updates a PRD draft with HTML preview and user stories for a feature. Reads existing docs, runs a clarification gate, and writes structured PRDs to `.ai/prd/`.
Writes Product Requirements Documents (PRDs) for new features (with/without UI), third-party integrations, feature refactoring, and performance/security optimizations. Scans project docs for consistency and embeds traceability metadata.
Generates a structured Product Requirements Document from a feature description, validated with the user before saving.