templates/ralph/skills/prd/SKILL.md
Generate detailed Product Requirements Documents (PRDs) through interactive conversation.
npx skillsauth add doravidan/supreme-ralph prdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate detailed Product Requirements Documents (PRDs) through interactive conversation.
This skill activates when the user asks to:
Ask 3-5 clarifying questions to understand the feature. Format each question with lettered options:
Before I create the PRD, I have a few questions:
**1. What is the primary goal?**
a) [Option 1]
b) [Option 2]
c) [Option 3]
d) Something else (please specify)
**2. Who is the target user?**
a) [Option 1]
b) [Option 2]
...
Wait for the user's answers before proceeding.
Create a detailed PRD in Markdown format with these sections:
# PRD: [Feature Name]
## Overview
[2-3 sentence summary of what we're building and why]
## Goals
1. [Primary goal]
2. [Secondary goal]
3. [Tertiary goal]
## User Stories
### US-001: [Story Title]
**As a** [user type]
**I want** [capability]
**So that** [benefit]
**Acceptance Criteria:**
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Typecheck passes
**Priority:** 1 (Highest)
### US-002: [Story Title]
...
## Functional Requirements
### FR-001: [Requirement Name]
[Description of the requirement]
### FR-002: [Requirement Name]
...
## Non-Goals
- [What we are explicitly NOT doing]
- [Scope limitations]
## Technical Considerations
- [Architecture decisions]
- [Dependencies]
- [Performance requirements]
## Success Metrics
- [How we measure success]
- [KPIs]
## Open Questions
- [Unresolved decisions]
- [Items needing clarification]
Save to: tasks/prd-[feature-name].md
mkdir -p tasks
cat > tasks/prd-[feature-name].md << 'EOF'
[PRD content]
EOF
For a "user authentication" feature:
**1. What authentication methods are needed?**
a) Email/password only
b) Email/password + OAuth (Google, GitHub)
c) Magic link (passwordless)
d) All of the above
**2. What should happen after login?**
a) Redirect to dashboard
b) Return to previous page
c) Show welcome modal
d) Custom behavior
**3. Is MFA (Multi-Factor Authentication) required?**
a) Yes, mandatory for all users
b) Yes, optional per user preference
c) No, not needed initially
d) Only for admin users
After generating the PRD:
PRD created at: tasks/prd-[feature-name].md
Next steps:
1. Review the PRD and make any adjustments
2. Convert to prd.json: /ralph-convert tasks/prd-[feature-name].md
3. Run RALPH: ./scripts/ralph/ralph.sh 20
development
Run RALPH autonomous development loop. Converts PRD markdown to prd.json and runs autonomous implementation.
development
Run RALPH autonomous development loop to implement features from the PRD.
development
Initialize any project with Claude Code best practices and RALPH autonomous development
development
RALPH autonomous development management - status, validation, analysis