AGENT SKILL
产品需求文档(PRD)撰写
project.write_prd
将想法转化为项目的产品需求文档(PRD)
适用职业产品经理
使用场景产品战略与路线图规划
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 155
- Forks
- 170
01 前言 Front Matter
- model
- opus
- description
- Turn an idea into a product requirements doc (PRD) for a project
03 SKILL.md 正文
Goal
- Given an idea, write
docs/prd.md: what the product must do and must not do - Do not design the solution and do not write code
Input
<IDEA>: an idea file (e.g.,research/ideas/<name>.md) or a free-text description<DOCS_DIR>: thedocs/dir of the project, optional- If missing, use
docs/in the current dir
- If missing, use
Workflow
Read the Idea
- Read
<IDEA>and the files it links to (papers, related ideas, existing code) - Read the existing docs in
<DOCS_DIR>, if any, to avoid repeating them
Ask If the Idea Is Unclear
- If the goal, the users, or the scope is not perfectly clear:
- Do not write the PRD
- Ask the user for clarification
- Wait for the answers
- Do not guess a requirement to fill a section
- Put each unresolved item in "Open Questions"
Write the PRD
- Create
<DOCS_DIR>/prd.md - Follow the rules in
.claude/skills/project.rules.mdsection "Write a PRD" - Follow the template
.claude/templates/project_prd.template.md - Follow
.claude/skills/markdown.rules.mdand.claude/skills/text.rules.md - Point to the idea file and to the background instead of copying them
Update the Index
- If
<DOCS_DIR>/README.mdexists, add a row forprd.md, per.claude/skills/project.rules.mdsection "Write an Index in docs/README.md"
Conventions
- Follow
.claude/skills/project.rules.mdfor the docs of a project - Follow
.claude/skills/markdown.rules.mdand.claude/skills/text.rules.md
Constraints
- Do not describe the solution: that is the job of
architecture.write_design - Do not commit any change
- Do not create a GitHub issue
Verification
- [ ] Every requirement is an H3
### `R<N>` (<short description>)and a test can check it - [ ] The non-goals are listed
- [ ] Every open question is numbered
- [ ] The PRD does not contain design or code
- [ ] The row for
prd.mdis in<DOCS_DIR>/README.md, if the file exists
04 同仓库更多 Skills
Docker 文件同步与模板对齐
tutorial_in_60_mins.propagate_docker_changes
同步教程和课程项目的 Docker 文件,使其与 project_template 保持一致。
★ 155
Markdown 合并至 Jupyter Notebook
tutorial_in_60_mins.merge_markdown
将 Markdown 文件的内容合并到 Jupyter Notebook 中。
★ 155
60 分钟教程格式规范化
tutorial_in_60_mins.format
格式化目录,使其遵循「Learn X in 60 Minutes」(60 分钟学会 X)教程约定。
★ 155
60 分钟教程目录创建
tutorial_in_60_mins.create
按照「Learn X in 60 Minutes」(60 分钟学会 X)约定创建教程目录。
★ 155
todo.reorg_in_progress
Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage
★ 155
todo.reorg_headers
Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage
★ 155