write-prd
它能做什么
这个技能根据想法或请求撰写产品需求文档,附带图示和验收标准。适合需要清晰规格来指导开发的产品经理和团队。
适用场景
- ✓你有一个功能想法,需要为团队写一份开发规格的时候。
- ✓你希望在同一份文档中写明验收标准和上线检查的时候。
- ✓你想要一份以 Markdown 保存、包含较多图示的产品规格的时候。
技能链接
https://github.com/digoal/blog/blob/master/skills/write-prd/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我为习惯追踪应用写一份 PRD,加入每日提醒功能,并附上验收标准。”
每周 5 个新技能,1 分钟读完。
工作原理
它把用户的问题和所要求的解决方案区分开,设定目标和范围,描述功能行为,然后加入测试和上线检查。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Write PRD
Core Rule
Turn the user's idea into a PRD that helps a team decide, build, test, launch, and review the product work. A good PRD is not a feature list; it is a clear product bet:
problem -> user -> goal -> evidence -> scope -> behavior -> acceptance -> launch validation
Save the final PRD as Markdown under the current project's markdown/ directory. Create the directory if missing.
Inputs
Use the user's prompt as the source idea. If the prompt is vague, infer conservatively and write assumptions explicitly in the PRD. Ask a clarification question only when the missing information would materially change the product direction, such as target user, business domain, or platform.
If the user provides source notes, meeting records, screenshots, tickets, links, or existing docs, use them as evidence. If current market, competitor, pricing, regulation, or live product data is required and not provided, verify with reliable sources before using specific claims.
Workflow
Normalize the idea
- Identify the product/domain, target user, triggering scenario, problem, proposed solution, and expected business outcome.
- Separate user problem from requested solution. For example, "export Excel" may mean reporting, sharing, audit, migration, or offline analysis.
- Name the PRD topic in a short Chinese or English slug.
Build the product argument
- Write a one-sentence product bet: "For [user], in [scenario], solve [problem], by [solution], measured by [metric]."
- State assumptions when evidence is absent.
- Include existing alternatives or workarounds; a new product competes with the user's current behavior.
- Define goals and non-goals before writing feature details.
Design the PRD structure
- Read
references/prd-template.mdwhen drafting the document. - Keep sections practical. Do not pad with generic market background.
- Scale detail with risk: simple internal tools can be concise; payment, data, permission, compliance, AI, or customer-facing flows need stronger edge cases and acceptance criteria.
- Read
Add diagrams
- Include at least one useful diagram.
- Prefer Mermaid for workflows, user journeys, state transitions, data flow, decision trees, and metric chains.
- ASCII text is acceptable for simple state tables or wireframe sketches.
- If using SVG, output the
.svgfile separately inmarkdown/and reference it from the PRD with a relative Markdown image link, for example. - Diagrams must support reasoning; do not add decorative graphics.
Write feature requirements
- For each major capability, cover: user story, main path, edge cases, permissions, data rules, system behavior, analytics/events, and acceptance criteria.
- Do not prescribe technical architecture unless the user asks. Product should define behavior, constraints, and verification, not implementation internals.
- For AI features, specify input, output, quality bar, editability, failure modes, human review, data retention, and safety boundaries.
Define validation
- Include result metrics, process metrics, and guardrail metrics.
- Define launch plan, rollout scope, rollback conditions, and post-launch review timing.
- Include stop conditions: what evidence means the team should stop, rollback, or change hypothesis.
Save and verify
- File name:
markdown/<topic>-prd-<YYYYMMDD>.md. - If SVG diagrams are created, use
markdown/<topic>-<diagram-name>-<YYYYMMDD>.svg. - After writing, verify the Markdown file exists and includes a diagram, goals/non-goals, requirements, acceptance criteria, metrics, launch plan, and open questions.
- File name:
Output Requirements
The PRD must be written in Chinese unless the user asks for another language.
The final Markdown should be complete enough for product, design, engineering, testing, and business stakeholders to review. Use tables where they improve scanning, but do not hide weak reasoning in tables. Use concrete defaults for missing details and mark them as assumptions.
Required sections:
- Title and metadata
- One-sentence product bet
- Background and problem
- Target users and scenarios
- Evidence and assumptions
- Goals and non-goals
- Scope and release slicing
- User journey or workflow diagram
- Functional requirements
- Edge cases and constraints
- Data, permissions, analytics, and observability
- Acceptance criteria
- Launch, rollout,
常见问题
PRD 和 BRD 有什么不同?
PRD 给出功能行为和验收细节,而 BRD 侧重业务理由。
如果我的想法比较模糊怎么办?
技能会把它的假设清楚地写进文档。
文件保存在哪里?
保存为项目 markdown 文件夹中的 Markdown 文件。
详情
作者的原始描述
Write a practical Product Requirements Document (PRD) from a product idea, feature concept, customer request, business problem, or rough product opportunity. Use when the user asks to write, draft, create, generate, or save a PRD, product requirements document, product spec, feature requirements, 产品需求文档, 产品方案, 需求说明, or PRD from an idea. Output a diagram-rich Markdown PRD under the current project's markdown/ directory.
repo: digoal/blog
热度
- GitHub 星标
- 8.6k
- 排名
- #12380
- 许可证
- GPL-2.0
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
article-to-podcast-script
8.6k帮你的智能体把 Markdown 文章改写成播客脚本,支持一到四位说话人,并保存为文本文件,默认使用中文。
axiom-explainer
8.6k帮你的智能体写一篇清晰的中文文章,讲解一个观点、定律或理论,并附上例子、适用范围和简单示意图。
blog-cover-poster
8.6k帮你的智能体把文章或笔记做成一组竖版海报图,包括封面和若干张讲解要点的幻灯片。
buffett
8.6k帮你的智能体用沃伦·巴菲特的思路分析公司和股票,参考他关于护城河、管理层和安全边际的观点。