PRD 产品需求文档生成
create-prd
生成产品需求文档(PRD)。当用户想要创建 PRD、定义功能需求或规划新功能时使用。
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- create-prd
- description
- Generate a Product Requirements Document. Use when the user wants to create a PRD, define feature requirements, or plan a new feature.
02 资源文件 1
- 参考文档REFERENCE.md10.7 KB
03 SKILL.md 正文
Rule: Generating a Product Requirements Document (PRD)
Goal
To guide an AI assistant in creating a detailed Product Requirements Document (PRD) in Markdown format, based on an initial user prompt. The PRD should be clear, actionable, and suitable for a junior developer to understand and implement the feature.
Process
- Receive Initial Prompt: The user provides a brief description or request for a new feature or functionality.
- Ask Clarifying Questions: Before writing the PRD, the AI must ask only the most essential clarifying questions needed to write a clear PRD. Limit questions to 3-5 critical gaps in understanding. The goal is to understand the "what" and "why" of the feature, not necessarily the "how" (which the developer will figure out). Make sure to provide options in letter/number lists so I can respond easily with my selections.
- Generate PRD: Based on the initial prompt and the user's answers to the clarifying questions, generate a PRD using the structure outlined below.
- Save PRD: Save the generated document as
prd-[feature-name].mdinside the/tasksdirectory.
Clarifying Questions (Guidelines)
Ask only the most critical questions needed to write a clear PRD. Focus on areas where the initial prompt is ambiguous or missing essential context. Common areas that may need clarification:
- Problem/Goal: If unclear - "What problem does this feature solve for the user?"
- Core Functionality: If vague - "What are the key actions a user should be able to perform?"
- Scope/Boundaries: If broad - "Are there any specific things this feature should not do?"
- Success Criteria: If unstated - "How will we know when this feature is successfully implemented?"
Important: Only ask questions when the answer isn't reasonably inferable from the initial prompt. Prioritize questions that would significantly impact the PRD's clarity.
Formatting Requirements
- Number all questions (1, 2, 3, etc.)
- List options for each question as A, B, C, D, etc. for easy reference
- Make it simple for the user to respond with selections like "1A, 2C, 3B"
Example Format
1. What is the primary goal of this feature?
A. Improve user onboarding experience
B. Increase user retention
C. Reduce support burden
D. Generate additional revenue
2. Who is the target user for this feature?
A. New users only
B. Existing users only
C. All users
D. Admin users only
3. What is the expected timeline for this feature?
A. Urgent (1-2 weeks)
B. High priority (3-4 weeks)
C. Standard (1-2 months)
D. Future consideration (3+ months)
PRD Structure
The generated PRD should include the following sections:
- Introduction/Overview: Briefly describe the feature and the problem it solves. State the goal.
- Goals: List the specific, measurable objectives for this feature.
- User Stories: Detail the user narratives describing feature usage and benefits.
- Functional Requirements: List the specific functionalities the feature must have. Use clear, concise language (e.g., "The system must allow users to upload a profile picture."). Number these requirements.
- Non-Goals (Out of Scope): Clearly state what this feature will not include to manage scope.
- Design Considerations (Optional): Link to mockups, describe UI/UX requirements, or mention relevant components/styles if applicable.
- Technical Considerations (Optional): Mention any known technical constraints, dependencies, or suggestions (e.g., "Should integrate with the existing Auth module").
- Success Metrics: How will the success of this feature be measured? (e.g., "Increase user engagement by 10%", "Reduce support tickets related to X").
- Open Questions: List any remaining questions or areas needing further clarification.
Target Audience
Assume the primary reader of the PRD is a junior developer. Therefore, requirements should be explicit, unambiguous, and avoid jargon where possible. Provide enough detail for them to understand the feature's purpose and core logic.
Output
- Format: Markdown (
.md) - Location:
/tasks/ - Filename:
prd-[feature-name].md
Final instructions
- Do NOT start implementing the PRD
- Make sure to ask the user clarifying questions
- Take the user's answers to the clarifying questions and improve the PRD
04 同仓库更多 Skills
Claude 技能创建指南
skill-creator
创建有效技能的指南。当用户想要创建新技能(或更新现有技能),以通过专业知识、工作流或工具集成来扩展 Claude 的能力时,应使用此技能。
素材成文逐段撰写
writing-shape
写作,利用(exploit):将原始素材逐段塑造成一篇文章。
Playwright 网页应用测试
webapp-testing
使用 Playwright 测试本地 Web 应用。适用于验证前端功能、调试 UI 行为、截取浏览器截图或查看浏览器日志。
消息重述
wait-what
停。上一条消息没有被理解(没说清楚):换一种方式重新表述。
快速原型构建
prototype
构建一个一次性原型来回答设计问题。当用户想要验证某个状态模型或逻辑是否合理,或探索 UI 应该是什么样子时使用。
代码库架构优化分析
improve-codebase-architecture
扫描代码库以发现可深化改进的机会,将其以可视化 HTML 报告的形式呈现,然后对你选中的某一项进行深入质询。