write-a-prd by mattpocock/skills
npx skills add https://github.com/mattpocock/skills --skill write-a-prd当用户想要创建 PRD 时,将调用此技能。如果认为某些步骤不必要,可以跳过。
向用户询问他们想要解决的问题的详细描述以及任何潜在的解决方案想法。
探索代码库以验证他们的断言并了解代码库的当前状态。
就计划的每个方面对用户进行不懈的访谈,直到达成共识。沿着设计树的每个分支深入探讨,逐一解决决策之间的依赖关系。
勾勒出完成实现所需构建或修改的主要模块。积极寻找机会提取可以独立测试的深层模块。
深层模块(与浅层模块相对)是指在一个简单、可测试且很少变化的接口中封装了大量功能的模块。
与用户确认这些模块是否符合他们的期望。与用户确认他们希望为哪些模块编写测试。
从用户角度描述用户面临的问题。
从用户角度描述问题的解决方案。
一份冗长的、带编号的用户故事列表。每个用户故事应采用以下格式:
这份用户故事列表应极其详尽,涵盖该功能的所有方面。
一份已做出的实施决策列表。可以包括:
请不要包含具体的文件路径或代码片段。它们可能很快就会过时。
一份已做出的测试决策列表。包括:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
描述此 PRD 范围之外的事项。
关于该功能的任何补充说明。
每周安装量
5.1K
代码库
GitHub 星标数
9.5K
首次出现
2026年2月12日
安全审计
安装于
codex5.0K
opencode5.0K
gemini-cli5.0K
github-copilot5.0K
amp5.0K
kimi-cli5.0K
This skill will be invoked when the user wants to create a PRD. You may skip steps if you don't consider them necessary.
Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions.
Explore the repo to verify their assertions and understand the current state of the codebase.
Interview the user relentlessly about every aspect of this plan until you reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one.
Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.
A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.
Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.
The problem that the user is facing, from the user's perspective.
The solution to the problem, from the user's perspective.
A LONG, numbered list of user stories. Each user story should be in the format of:
This list of user stories should be extremely extensive and cover all aspects of the feature.
A list of implementation decisions that were made. This can include:
Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.
A list of testing decisions that were made. Include:
A description of the things that are out of scope for this PRD.
Any further notes about the feature.
Weekly Installs
5.1K
Repository
GitHub Stars
9.5K
First Seen
Feb 12, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex5.0K
opencode5.0K
gemini-cli5.0K
github-copilot5.0K
amp5.0K
kimi-cli5.0K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装