PRD Created
【免费下载链接】ECCThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.项目地址: https://gitcode.com/GitHub_Trending/ev/ECC
File:.claude/PRPs/prds/{name}.prd.md
Summary
Problem: {One line}Solution: {One line}Key Metric: {Primary success metric}
Validation Status
| Section | Status |
|---|---|
| Problem Statement | {Validated/Assumption} |
| User Research | {Done/Needed} |
| Technical Feasibility | {Assessed/TBD} |
| Success Metrics | {Defined/Needs refinement} |
Open Questions ({count})
{List the open questions that need answers}
Recommended Next Step
{One of: user research, technical spike, prototype, stakeholder review, etc.}
Implementation Phases
| # | Phase | Status | Can Parallel |
|---|
{Table of phases from PRD}
To Start Implementation
Run:/prp-plan .claude/PRPs/prds/{name}.prd.md
This will automatically select the next pending phase and create an implementation plan.
这份报告本身就是一个"验收清单":它强制把 PRD 各章节的验证状态(Validated/Assumption、Done/Needed 等)显式呈现给用户,并给出唯一明确的下一步命令。 ## PRD 模板逐节解析 PRD 模板是该命令的核心产物规范,完整继承原文如下(占位符均为模板变量): ````markdown # {Product/Feature Name} ## Problem Statement {2-3 sentences: Who has what problem, and what's the cost of not solving it?} ## Evidence - {User quote, data point, or observation that proves this problem exists} - {Another piece of evidence} - {If none: "Assumption - needs validation through [method]"} ## Proposed Solution {One paragraph: What we're building and why this approach over alternatives} ## Key Hypothesis We believe {capability} will {solve problem} for {users}. We'll know we're right when {measurable outcome}. ## What We're NOT Building - {Out of scope item 1} - {why} - {Out of scope item 2} - {why} ## Success Metrics | Metric | Target | How Measured | |--------|--------|--------------| | {Primary metric} | {Specific number} | {Method} | | {Secondary metric} | {Specific number} | {Method} | ## Open Questions - [ ] {Unresolved question 1} - [ ] {Unresolved question 2} --- ## Users & Context **Primary User** - **Who**: {Specific description} - **Current behavior**: {What they do today} - **Trigger**: {What moment triggers the need} - **Success state**: {What "done" looks like} **Job to Be Done** When {situation}, I want to {motivation}, so I can {outcome}. **Non-Users** {Who this is NOT for and why} --- ## Solution Detail ### Core Capabilities (MoSCoW) | Priority | Capability | Rationale | |----------|------------|-----------| | Must | {Feature} | {Why essential} | | Must | {Feature} | {Why essential} | | Should | {Feature} | {Why important but not blocking} | | Could | {Feature} | {Nice to have} | | Won't | {Feature} | {Explicitly deferred and why} | ### MVP Scope {What's the minimum to validate the hypothesis} ### User Flow {Critical path - shortest journey to value} --- ## Technical Approach **Feasibility**: {HIGH/MEDIUM/LOW} **Architecture Notes** - {Key technical decision and why} - {Dependency or integration point} **Technical Risks** | Risk | Likelihood | Mitigation | |------|------------|------------| | {Risk} | {H/M/L} | {How to handle} | --- ## Implementation Phases <!-- STATUS: pending | in-progress | complete PARALLEL: phases that can run concurrently (e.g., "with 3" or "-") DEPENDS: phases that must complete first (e.g., "1, 2" or "-") PRP: link to generated plan file once created --> | # | Phase | Description | Status | Parallel | Depends | PRP Plan | |---|-------|-------------|--------|----------|---------|----------| | 1 | {Phase name} | {What this phase delivers} | pending | - | - | - | | 2 | {Phase name} | {What this phase delivers} | pending | - | 1 | - | | 3 | {Phase name} | {What this phase delivers} | pending | with 4 | 2 | - | | 4 | {Phase name} | {What this phase delivers} | pending | with 3 | 2 | - | | 5 | {Phase name} | {What this phase delivers} | pending | - | 3, 4 | - | ### Phase Details **Phase 1: {Name}** - **Goal**: {What we're trying to achieve} - **Scope**: {Bounded deliverables} - **Success signal**: {How we know it's done} **Phase 2: {Name}** - **Goal**: {What we're trying to achieve} - **Scope**: {Bounded deliverables} - **Success signal**: {How we know it's done} {Continue for each phase...} ### Parallelism Notes {Explain which phases can run in parallel and why} --- ## Decisions Log | Decision | Choice | Alternatives | Rationale | |----------|--------|--------------|-----------| | {Decision} | {Choice} | {Options considered} | {Why this one} | --- ## Research Summary **Market Context** {Key findings from market research} **Technical Context** {Key findings from technical exploration} --- *Generated: {timestamp}* *Status: DRAFT - needs validation*模板各章节与八阶段流程存在严格的一一映射,这是理解"问答如何变成文档"的关键:
| PRD 章节 | 数据来源阶段 |
|---|---|
| Problem Statement / Evidence | Phase 2 FOUNDATION + Phase 8 汇报中的 Validation Status |
| Key Hypothesis / Success Metrics | Phase 6 DECISIONS 第 3 问 |
| What We're NOT Building | Phase 6 DECISIONS 第 4 问 |
| Users & Context(Primary User / JTBD / Non-Users) | Phase 4 DEEP DIVE |
| Core Capabilities (MoSCoW) | Phase 6 DECISIONS 第 2 问(Must Have vs Nice to Have) |
| Technical Approach | Phase 5 GROUNDING 的 Technical Context 汇总 |
| Implementation Phases | Phase 6 答案 + 后续/prp-plan消费的机器可读表格 |
| Decisions Log / Research Summary | 全程 Gate 交互中的决策与 Phase 3/5 调研沉淀 |
其中两个细节值得单独强调:
Implementation Phases 表格是下游命令的接口。表头注释声明了四列机读语义:STATUS(pending / in-progress / complete)、PARALLEL(可并行阶段,如 "with 3")、DEPENDS(前置依赖,如 "1, 2")、PRP(生成的计划文件链接)。这正是 commands/prp-plan.md Phase 0(DETECT)所消费的结构:它按*.prd.md路径识别输入后,解析 "Implementation Phases" 章节,按状态与依赖链选出"下一个 eligible pending phase",用该阶段的 description 作为待规划特性。也就是说,/prp-prd生成的不只是给人读的文档,还是一份可被/prp-plan程序化遍历的路线图。
模板尾部固定为Status: DRAFT - needs validation。这与开篇的 Anti-pattern 约束首尾呼应:整份产物被显式标记为待验证草稿,任何"拍脑袋"的内容都必须在文档上留痕。
问题流全景图
原文附有一张完整的流程总览图,完整保留如下:
┌─────────────────────────────────────────────────────────┐ │ INITIATE: "What do you want to build?" │ └─────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────┐ │ FOUNDATION: Who, What, Why, Why now, How to measure │ └─────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────┐ │ GROUNDING: Market research, competitor analysis │ └─────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────┐ │ DEEP DIVE: Vision, Primary user, JTBD, Constraints │ └─────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────┐ │ GROUNDING: Technical feasibility, codebase exploration │ └─────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────┐ │ DECISIONS: MVP, Must-haves, Hypothesis, Out of scope │ └─────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────┐ │ GENERATE: Write PRD to .claude/PRPs/prds/ │ └─────────────────────────────────────────────────────────┘【免费下载链接】ECCThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.项目地址: https://gitcode.com/GitHub_Trending/ev/ECC
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考