# 撰写 PRD (create-prd)

> 用8个部分的模板撰写精简、可供决策的产品需求文档，默认篇幅约一到两页。

- 分类: [需求分析](https://www.myskills.tools/zh/categories/requirements/)
- 来源: 社区 · Pawel Huryn
- 代码仓库: https://github.com/phuryn/pm-skills/tree/main/pm-execution/skills/create-prd (commit 6058e29)
- SKILL.md: https://github.com/phuryn/pm-skills/blob/main/pm-execution/skills/create-prd/SKILL.md
- 安装命令: `npx skills add phuryn/pm-skills --skill create-prd`
- 许可证: MIT
- 兼容工具: Claude Code, Codex, Gemini CLI, OpenCode
- 权限: read-repo ✓, write-files ✓, shell ✗, network ✓
- 状态: 扫描通过
- 规则扫描无法覆盖所有风险，安装前请阅读此技能的 SKILL.md，确认权限后再使用。

## 核心规则

不要编造：未知内容放进“假设与待解问题”并明确标注，而不是当作事实写进正文。

## 执行阶段

1. **收集输入** — 阅读用户提供的文件；若缺少问题、目标用户或成功指标，先在一条消息里问最多三个简短问题，暂不写 PRD。
2. **按需调研** — 上网查市场、竞品、法规或近期变化，在相关论点旁注明来源；只有能改变决策的发现才写进文档。
3. **撰写8个部分** — 依次写摘要、联系人、背景、目标、市场细分、价值主张、解决方案和发布；市场细分与价值主张必不可少。
4. **保存并说明取舍** — 保存为 PRD-[product-name].md，并在回复中用一行列出有意省略的内容。

## 权限说明（据 SKILL.md 整理）

| 能力 | 是否需要 | 说明 |
|---|---|---|
| 文件写入 | 部分需要 | 只写 Markdown 格式的 PRD-[product-name].md。 |
| 命令执行 | 不需要 | 写作类技能，不运行命令。 |
| 网络外发 | 需要 | 可上网调研市场、竞品与法规，并阅读用户指定的来源。 |

## SKILL.md 头部信息（YAML）

```yaml
---
name: create-prd
description: "Create a lean, decision-ready Product Requirements Document with an 8-section template: summary, contacts, background, objective, market segments, value propositions (6-part JTBD template), solution, and release. Lean by default (about one to two pages), with a fuller spec on request. Use when writing a PRD, documenting product requirements, preparing a feature spec, or reviewing an existing PRD."
---
```

首页: https://www.myskills.tools/zh/ · URL: https://www.myskills.tools/zh/skills/create-prd/
