원클릭으로
ralphi-prd
Generates structured Product Requirements Documents from feature descriptions. Use when asked to create a PRD, write requirements, plan a feature, or draft a spec.
메뉴
Generates structured Product Requirements Documents from feature descriptions. Use when asked to create a PRD, write requirements, plan a feature, or draft a spec.
Executing a single iteration of the ralph autonomous coding loop. Use when ralph invokes the agent to implement the next user story from the PRD.
Scans a project and sets up ralphi loop configuration. Use when asked to initialize ralphi, set up a ralphi project, configure a project for AI-driven development, or run /ralphi-init.
Converts PRD markdown files to .ralphi/prd.json format for the Ralph autonomous agent loop. Use when asked to convert a PRD, create .ralphi/prd.json, or turn a PRD into Ralph format.
| name | ralphi-prd |
| description | Generates structured Product Requirements Documents from feature descriptions. Use when asked to create a PRD, write requirements, plan a feature, or draft a spec. |
Create detailed Product Requirements Documents that are clear, actionable, and suitable for implementation by AI agents.
tasks/prd-[feature-name].mdImportant: Do NOT start implementing. Only create the PRD.
Ask only critical questions where the initial prompt is ambiguous. Focus on:
Use the ralphi_ask_user_question tool to ask clarifying questions interactively with structured options:
{
"questions": [
{
"id": "goal",
"prompt": "What is the primary goal?",
"type": "single",
"options": ["Option one", "Option two", "Option three"],
"allowOther": true
},
{
"id": "scope",
"prompt": "What is the scope?",
"type": "single",
"options": ["Minimal / MVP", "Full feature"],
"allowOther": true
}
]
}
This gives the user a guided, selectable experience. Use type: "single" for pick-one questions and type: "multi" for pick-many. Set allowOther: true when the user might have an answer outside the listed options.
If the tool isn't working, fall back to text-based questions with lettered options.
Skip questions the user's prompt already answered clearly.
After receiving answers, generate a PRD with the following sections.
Brief description of the feature and the problem it solves.
Specific, measurable objectives (bullet list).
Each story needs:
Each story should be small enough to implement in one focused session.
Format:
### US-001: [Title]
**Description:** As a [user], I want [feature] so that [benefit].
**Acceptance Criteria:**
- [ ] Specific verifiable criterion
- [ ] Another criterion
- [ ] Tests/typecheck/lint passes
Rules for acceptance criteria:
Numbered list: "FR-1: The system must..."
What this feature will NOT include.
UI/UX requirements, existing components to reuse.
Known constraints, integration points, performance requirements.
How will success be measured?
Remaining questions or areas needing clarification.
Write for junior developers and AI agents:
.md)tasks/prd-[feature-name].md (kebab-case)write tool (or edit if updating an existing PRD file).