Create a Product Requirements Document (PRD) for a feature
Generates a comprehensive Product Requirements Document for a feature with overlap analysis and validation.
/plugin marketplace add eLafo/hefesto/plugin install elafo-hefesto-2@eLafo/hefesto<feature_id>po/Generate a comprehensive Product Requirements Document following the Single Source of Truth principle.
createdVerify:
.hefesto/features/{feature_id}/feature.jsoncreatedIf not met, show error with correct command.
.hefesto/features/{feature_id}/feature.jsoncreated.hefesto/features/*/prd.mdExplore the codebase to understand:
Write .hefesto/features/{feature_id}/prd.md:
# PRD: {Feature Title}
## Metadata
- **Feature ID**: {id}
- **Created**: {date}
- **Author**: {author}
- **Status**: Draft
## Gap Analysis
### Overlap with Existing Features
{findings from Phase 2}
### Dependencies
{identified dependencies}
## Executive Summary
{2-3 sentence summary}
## Problem Statement
{What problem does this solve?}
## Target Users
{Who will use this feature?}
## Scope
### In Scope
- {What this feature WILL do}
### Out of Scope
- {What this feature will NOT do}
## Functional Requirements
### FR-001: {Requirement Name}
- **Description**: {Detailed description}
- **Priority**: {P0/P1/P2/P3}
- **Acceptance Criteria**:
- [ ] {Criterion 1}
- [ ] {Criterion 2}
## Non-Functional Requirements
{Performance, security, accessibility}
## User Flows
### Flow 1: {Flow Name}
1. User does X
2. System responds with Y
3. User sees Z
## Technical Considerations
{Architecture notes, API design}
## Open Questions
{Unresolved questions}
## Notes
{Additional context}
Update feature.json:
status: prd_createdphase: prdworkflow.prd_created: trueVerify:
✅ PRD Created Successfully
Feature: {title}
Path: .hefesto/features/{id}/prd.md
Summary:
- Functional Requirements: 8
- Non-Functional Requirements: 3
- User Flows: 4
- Overlap Warnings: 2 (see Gap Analysis)
→ Next (PO): po:stories {id}