brenbuilds1/copilot-ralph/prd
Claude Code and agent skill by brenbuilds1/copilot-ralph
- community
Checking that the SKILL.md file is still in the repository.
Generate a Product Requirements Document (prd.json) for the Ralph autonomous agent loop. Use when planning a feature, starting a new project, or preparing work for Ralph to implement. Triggers on: create a prd, write prd for, plan this feature, generate user stories, set up ralph for, spec out.
Install
npx vskill@latest install brenbuilds1/copilot-ralph/prdSKILL.md
PRD Generator
Create detailed Product Requirements Documents that are clear, actionable, and suitable for autonomous implementation by Ralph.
The Job
- Receive a feature description from the user
- Ask 3-5 essential clarifying questions (with lettered options)
- Generate a structured PRD based on answers
- Save to
prd.jsonin project root
Important: Do NOT start implementing. Just create the PRD.
Step 1: Clarifying Questions
Ask only critical questions where the initial prompt is ambiguous. Focus on:
- Problem/Goal: What problem does this solve? Why build this?
- Core Functionality: What are the key user actions?
- Scope/Boundaries: What should it NOT do?
- Technology: What stack/framework to use?
- Success Criteria: How do we know it's done?
Format Questions Like This:
This lets users respond with "1A, 2C, 3A, 4B, 5A" for quick iteration.
Step 2: Break Down Into User Stories
After gathering answers, break the feature into small, focused user stories.
Story Size Rule
Each story must be small enough to complete in one Ralph iteration (one agent context window, ~15-30 minutes of focused work).
Good story sizes:
- Add a single component
- Create one API endpoint
- Add form validation
- Create a database migration
- Wire up frontend to API
Too large (must split):
- "Build the dashboard" → Split into: layout, sidebar, header, each widget
- "Add authentication" → Split into: login form, API endpoint, session handling, protected routes
- "Create the API" → Split into: one endpoint per story
Story Format
Each story needs:
- id: Unique identifier (US-001, US-002, etc.)
- title: Short action-oriented name
- priority: Order of implementation (1 = first)
- description: Context for implementation - what and why
- acceptanceCriteria: Verifiable checklist of "done"
Writing Good Acceptance Criteria
Criteria must be specific and verifiable, not vague.
Bad (too vague):
- "Works correctly"
- "Handles errors"
- "Is responsive"
- "Looks good"
Good (specific and testable):
- "Form shows red border and error message when email format is invalid"
- "API returns 400 status with
{ error: 'Invalid email' }for malformed input" - "Button is disabled and shows spinner while request is in flight"
- "Cards stack vertically on screens < 768px wide"
Standard Criteria to Include
For every story, include relevant items from:
- "Typecheck passes" (if using TypeScript)
- "Lint passes"
- "No console errors in browser"
For UI stories, always include:
- "Visually verified in browser"
- Specific responsive behavior if applicable
For API stories, always include:
- Success response format
- Error response format
- Edge cases (duplicate, not found, etc.)
Step 3: Define Non-Goals
Explicitly state what this PRD will NOT include. This prevents scope creep and sets clear boundaries.
Examples:
- "No user authentication - assumes public access"
- "No email notifications"
- "No mobile app - web only"
- "No analytics tracking"
Step 4: Order by Dependencies
Arrange stories so foundations come first:
- Priority 1-2: Setup, scaffolding, database schema
- Priority 3-5: Core functionality, main features
- Priority 6+: Enhancements, polish, nice-to-haves
A story cannot depend on a higher-numbered story.
Writing for Junior Developers and AI Agents
The PRD reader may be a junior developer or AI agent (Ralph). Therefore:
- Be explicit and unambiguous
- Avoid jargon or explain technical terms
- Provide enough detail to understand purpose and implementation approach
- Use concrete examples where helpful
- Each acceptance criterion should be independently verifiable
Output Format
Save as prd.json in the project root:
Fields:
projectName: Human-readable feature namebranchName: Git branch (convention:ralph/kebab-case-name)description: Overview of the feature and problem it solvesuserStories: Array of stories, ordered by prioritypasses: Alwaysfalseinitially (Ralph sets totruewhen complete)
Example PRD
After Generation
Tell the user:
Checklist
Before saving the PRD:
- [ ] Asked 3-5 clarifying questions with lettered options
- [ ] Incorporated user's answers into the PRD
- [ ] Each user story is small enough for one iteration
- [ ] Stories are ordered by dependency (foundations first)
- [ ] Acceptance criteria are specific and verifiable (not vague)
- [ ] Non-goals/scope boundaries are clear from description
- [ ] Branch name follows
ralph/feature-nameconvention - [ ] All stories have
"passes": false - [ ] Saved to
prd.json
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/prd/SKILL.md
Popularity
- Repository stars
- 47
- Repository forks
- 4
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brenbuilds1/copilot-ralph/prd)