requirement-to-prd
Skill1 starsChanged 8 months agoMITView on GitHub
将用户需求转换为规范的产品需求文档(PRD)。用户说"生成PRD"、"需求转PRD"、"创建PRD"、"写PRD"或"帮我写个PRD"时立即触发。支持一句话需求、功能清单、用户故事等多种输入形式。PRD 默认保存到项目目录下的 docs/prd/(如果在项目目录中),否则询问用户或保存到全局目录。
2 other projects use a version of this.
Adopted by
Most recently taken up by
- SajidRahman-BS/Project-Initiation-Assistanttheir own version, first seen Jul 7, 2026
- chenpianzhou/requirement-to-prd-skilltheir own version, first seen Jun 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- chenpianzhou/requirement-to-prd-skill★ 0same name
- SajidRahman-BS/Project-Initiation-Assistant★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- ralphSkill
- prdSkill
- th-prd-driven-dev-workflowSkill
- th-ralph-evoSkill
- th-ralphSkill
- th-workflow-decision-engineSkill
- agent-factorySkill
- arch-linuxSkill
- article-writingSkill
- browser-useSkill
- code-reviewSkill
- decision-recordSkill
- githubSkill
- knowledge-hubSkill
- long-doc-generatorSkill
- long-running-agentSkill
- th-model-compare-searchSkill
- newapi-cliSkill
- orchestratorSkill
- playwright-cliSkill
- prd-evolutionSkill
- prd-to-codeSkill
- prompt-expertSkill
- prompt-optimizerSkill
- puppeteer-cliSkill
- ralphSkill
- prdSkill
- site-analyzerSkill
- skill-creatorSkill
- skill-stocktakeSkill
- src-linkSkill
- th-bug-analyzerSkill
- th-deep-coder2Skill
- th-deep-coderSkill
- th-enterprise-test-agentSkill
- gitnexus-assistantSkill
- th-ralph-evoSkill
- th-ralphSkill
- unified-searchSkill
- web-fetchSkill
The file
Files
Requirement to PRD - 需求转 PRD 生成器
执行流程(严格遵循)
Step 1: 解析需求与确定项目
- 识别输入类型:一句话需求 / 功能清单 / 用户故事
- 提取关键信息:目标用户、核心功能、技术栈(如有)
- 确定 PRD 保存位置:
- 检查当前工作目录是否在项目目录下(
~/src/production/*或~/src/projects/*/*) - 如果是,提取项目名,PRD 保存到
{项目目录}/docs/prd/ - 如果不是,询问用户:"这个 PRD 属于哪个项目?" 或保存到全局
~/src/docs/prd/
- 检查当前工作目录是否在项目目录下(
- 如果信息不足,向用户确认(最多3个问题)
Step 2: 读取模板
读取 references/prd-template.md,严格按照模板结构生成。
Step 3: 生成 PRD
必须包含的章节(按模板):
- 文档信息(版本历史、相关人员)
- 产品概述(背景、目标、目标用户)
- 功能需求(清单+详细描述,含验收标准)
- 非功能需求(性能、安全、兼容)
- 技术方案(技术栈、架构、数据模型、API)
- UI/UX 设计(原则、页面、交互流程)
- 项目规划(里程碑、任务分解)
- 附录(术语表、参考资料)
输出要求:
- PRD ID:
prd-YYYYMMDD-HHMMSS-[4位随机] - 项目内保存:
{项目目录}/docs/prd/prd-[ID].md - 全局保存(无项目时):
~/src/docs/prd/prd-[ID].md - 确保目录存在:
mkdir -p {保存目录}/docs/prd/
Step 4: 输出结果
返回格式:
✅ PRD 生成完成
**PRD ID**: [ID]
**文件**: `{实际保存路径}/prd-[ID].md`
**项目**: [项目名 或 "全局文档"]
**技术栈**: [技术栈]
**功能清单**:
- P0: [核心功能数量] 个
- P1: [重要功能数量] 个
- P2: [增强功能数量] 个
**下一步**:
1. [ ] 评审 PRD
2. [ ] 确认技术方案
3. [ ] 运行 `根据 PRD [ID] 实现代码`输入类型处理
| 输入类型 | 处理方式 |
| 一句话需求 | 推断关键信息,补充合理假设 |
| 功能清单 | 逐项扩展为详细功能描述 |
| 用户故事 | 提取角色、功能、价值,扩展相关功能 |
| 竞品参考 | 分析核心功能,定义差异化范围 |
协作流程
requirement-to-prd (本技能)
↓
prd-evolution (版本管理)
↓
prd-to-code (代码实现)原则
- 效率优先 - 不追求完美,先完成核心内容
- 合理推断 - 用户未明确时,基于最佳实践自动补充
- MVP 导向 - 区分 P0(必须)/ P1(应该)/ P2(可以)
- 可执行性 - PRD 必须可直接用于开发
版本: v2.0 | 优化: 精简流程,提升效率
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

