一键导入
generate-prd
Generates PRDs through guided discovery. Use when starting a feature or defining requirements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generates PRDs through guided discovery. Use when starting a feature or defining requirements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | generate-prd |
| description | Generates PRDs through guided discovery. Use when starting a feature or defining requirements. |
| context | fork |
Important: This skill creates PRDs only—it does NOT begin implementation.
<quick_start>
tasks/prd-[feature-name].md
</quick_start>Each question should have 3-4 concrete options (A, B, C, D format) plus "Other" for custom input.
Create the PRD document with these sections:Use kebab-case for feature name (e.g., prd-user-authentication.md).
Good: "Login button redirects to /dashboard on success" Bad: "Login works correctly"
Each user story should be small enough to implement in one session. If a story feels too large, break it into smaller stories.<prd_template>
# PRD: {{Feature Name}}
## 1. Introduction
{{Brief description of the feature and the problem it solves}}
## 2. Goals
- {{Goal 1: Specific, measurable objective}}
- {{Goal 2: Specific, measurable objective}}
## 3. User Stories
### US-1: {{Story Title}}
**As a** {{user type}}, **I want** {{feature}} **so that** {{benefit}}.
**Acceptance Criteria:**
- {{Specific, testable criterion}}
- {{Specific, testable criterion}}
### US-2: {{Story Title}}
...
## 4. Functional Requirements
- **FR-1**: {{Explicit requirement}}
- **FR-2**: {{Explicit requirement}}
## 5. Non-Goals
- {{What this feature explicitly does NOT do}}
## 6. Design Considerations
{{UI/UX requirements, wireframe references, design patterns}}
## 7. Technical Considerations
{{Constraints, dependencies, integration points, performance requirements}}
## 8. Success Metrics
- {{Measurable outcome 1}}
- {{Measurable outcome 2}}
## 9. Open Questions
- [ ] {{Unresolved question needing clarification}}
</prd_template>
**Good:** - "Search results display within 2 seconds" - "Error message shows 'Invalid email format' for malformed input" - "Clicking 'Save' disables button and shows spinner until complete"Bad:
<success_criteria> PRD is complete when:
tasks/prd-[feature-name].mdPromotes recurring feedback into the right skill, then guides /compact at phase boundaries.
Testing guidance for pytest, Jest/Vitest, Go, and TDD. Use when writing tests or improving coverage.
Methodical debugging with evidence and hypothesis testing. Use when troubleshooting fails or root cause is unclear.
Create new skills, commands, hooks, or subagents. Use when adding capabilities to Claude Code or Cursor.
PostgreSQL patterns for queries, schema, indexing, security. Use when writing SQL, designing schema, or adding indexes.
Reviews a GitHub PR diff for correctness, security, tests, architecture. Use when asked to review a PR or pull request.