一键导入
prd-create
Use when asked to create, write, or draft a PRD, product requirements document, design doc, or feature specification for a software project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when asked to create, write, or draft a PRD, product requirements document, design doc, or feature specification for a software project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when asked to audit, verify, validate, or check the implementation of a PRD against the shipped code -- confirming every goal is met, no stubs or TODOs remain, tests/playbooks/build/lint pass, no regressions were introduced, and scope matches what the PRD promised
Use when asked to review, audit, critique, or validate an existing PRD, design doc, or feature specification
| name | prd-create |
| description | Use when asked to create, write, or draft a PRD, product requirements document, design doc, or feature specification for a software project |
Create a comprehensive PRD through iterative questioning. Never assume -- ask the user for every design decision. Produce a document that matches the project's existing PRD conventions.
Your ONLY deliverable is a written PRD document in the docs/ folder. Do NOT edit source files, generate content files, write code, or produce an implementation plan. The PRD describes WHAT to build and WHY -- implementation happens separately after the user approves the PRD.
You MUST use the AskUserQuestion tool for ALL questions to the user. This includes question rounds, draft review feedback, and clarification requests. Do not ask questions as plain text output -- always route them through AskUserQuestion so the user gets a structured prompt they can respond to.
digraph prd_create {
rankdir=TB;
node [shape=box];
explore [label="Explore codebase:\nexisting PRDs, docs,\nproject structure"];
r1 [label="Round 1: Vision & Scope\n(3-5 questions via AskUserQuestion)"];
r2 [label="Round 2: Technical & Design\n(3-5 questions via AskUserQuestion)"];
rn [label="Round N: Gaps & Edge Cases\n(2-4 questions via AskUserQuestion)"];
gaps [label="All gaps resolved?" shape=diamond];
draft [label="Draft PRD\n(match project format,\nuse proven structure)"];
review [label="Present draft,\nask about gaps found\nwhile writing\n(via AskUserQuestion)"];
done [label="Write final PRD\nto docs folder" shape=doublecircle];
explore -> r1;
r1 -> r2;
r2 -> rn;
rn -> gaps;
gaps -> rn [label="no"];
gaps -> draft [label="yes"];
draft -> review;
review -> draft [label="changes needed"];
review -> done [label="approved"];
}
CLAUDE.md, README.md, or similar project convention docsdocs/, design/, specifications/, or similarAll questions in every round must be asked via AskUserQuestion. Batch 3-5 questions per round (the tool supports up to 4 questions per call -- use multiple calls if needed).
Ask about the big picture. Explain WHY each question matters so the user can give better answers.
Based on Round 1 answers, ask about implementation specifics.
Identify what is still ambiguous after earlier rounds.
Keep asking until every section can be written without guessing. It is always better to ask one more round than to fill in a gap with an assumption.
The following structure has proven effective across many successfully implemented PRDs. Use it as your default when the project has no existing PRD convention. Adapt, reorder, or omit sections based on what the feature needs -- not every PRD requires every section.
1. Status Line (top of document, blockquote)
> **Status: NOT STARTED** -- Brief description of current state
Use NOT STARTED, IN PROGRESS, DONE, or REFACTOR as appropriate.
2. Executive Summary 1-3 paragraphs covering what this PRD proposes and why. Optionally include a "Why?" or "Motivation" subsection for complex changes. If major design decisions were made during the question rounds, list them as bullets here so readers get the high-level picture immediately.
3. Problem Statement / Current State
4. Goals and Non-Goals
5. Target Syntax / User Experience
6. Architecture / Technical Design
7. Impact Assessment A table or list showing what stays the same vs what changes. Prevents implementers from accidentally modifying stable components or missing required changes.
| Component | Status | Notes |
|---|---|---|
| X | Stays | No changes needed |
| Y | Modified | Reason for change |
| Z | New | Created by this work |
8. File-Level Changes Tables mapping specific files to the changes needed. Include both files to modify and files to create. If applicable, note files that explicitly require NO changes.
| File | Change |
|---|---|
| path/to/existing.ext | Description of modification |
| path/to/new.ext | New file -- purpose |
9. Implementation Phases (when the work is complex enough to warrant staging) Numbered phases with:
10. Edge Cases Explicitly enumerate edge cases. For each, show:
Format as subsections or a structured list, not a vague paragraph.
11. Testing / Verification Strategy
---) between major sections| Temptation | Do this instead |
|---|---|
| Filling gaps with reasonable defaults | Ask about the gap (via AskUserQuestion) |
| Asking all questions in one huge list | 3-5 per round, digest answers first |
| Asking questions as plain text | Always use AskUserQuestion tool |
| Assuming technology choices | Ask what tools/patterns to use |
| Skipping codebase exploration | Always explore first |
| Writing after one round of questions | Minimum 2-3 rounds |
| Making design decisions for the user | Present options, let user choose |
| Jumping to implementation after (or instead of) writing the PRD | Write the PRD document to docs/ and STOP. No code, no content files, no implementation plan |
| Writing abstract descriptions without examples | Include concrete code/config/CLI examples for every feature |
| Skipping edge cases | Enumerate at least the obvious boundary conditions |
| Describing tests vaguely ("write unit tests") | Specify concrete test inputs and expected outputs |
| Omitting impact on existing systems | Include a "what stays vs what changes" assessment |
Only push back on choices that are obviously problematic -- contradictions, impossible constraints, or conflicts with existing systems. When pushing back:
AskUserQuestion) if the user has considered the issueWrite the final PRD to the project's docs/ directory matching existing naming conventions. Report the file path to the user.
Then stop. Do not proceed to implementation planning, code changes, file generation, or any other modifications. The PRD document is the complete deliverable. If the user wants to implement, they will ask separately.