prd-generator — community prd-generator, copilot-ralph, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Autonomous AI Agents needing structured product requirements documentation generation. Copilot ralph is an autonomous AI agent loop that runs repeatedly until all PRD items are complete.

brenbuilds1 brenbuilds1
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The prd-generator skill by brenbuilds1 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Autonomous AI Agents needing structured product requirements documentation generation.

Core Value

Empowers agents to create detailed Product Requirements Documents in JSON format, utilizing clarifying questions and feature descriptions to generate actionable PRDs, saving them as `prd.json` files for seamless implementation.

Capabilities Granted for prd-generator

Generating PRDs for new feature development
Automating requirements gathering with clarifying questions
Creating structured documentation for autonomous implementation

! Prerequisites & Limits

  • Requires user input for feature descriptions
  • Limited to generating PRDs, does not implement features
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

prd-generator

Install prd-generator, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

PRD Generator

Create detailed Product Requirements Documents that are clear, actionable, and suitable for autonomous implementation by Ralph.


The Job

  1. Receive a feature description from the user
  2. Ask 3-5 essential clarifying questions (with lettered options)
  3. Generate a structured PRD based on answers
  4. Save to prd.json in 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:

1. What is the primary goal of this feature?
   A. Improve user onboarding experience
   B. Increase user retention
   C. Reduce support burden
   D. Other: [please specify]

2. Who is the target user?
   A. New users only
   B. Existing users only
   C. All users
   D. Admin users only

3. What is the scope?
   A. Minimal viable version (MVP)
   B. Full-featured implementation
   C. Just the backend/API
   D. Just the UI/frontend

4. What technology stack?
   A. React + Node.js
   B. Next.js
   C. Plain HTML/CSS/JS
   D. Other: [please specify]

5. What's explicitly OUT of scope?
   A. Authentication/login
   B. Database persistence
   C. Mobile responsiveness
   D. None of the above - include everything

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:

  1. Priority 1-2: Setup, scaffolding, database schema
  2. Priority 3-5: Core functionality, main features
  3. 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:

json
1{ 2 "projectName": "Feature Name", 3 "branchName": "ralph/feature-name", 4 "description": "Brief description of the feature and problem it solves", 5 "userStories": [ 6 { 7 "id": "US-001", 8 "title": "Short action-oriented title", 9 "priority": 1, 10 "description": "Detailed context: what to build and why. Include relevant technical details.", 11 "acceptanceCriteria": [ 12 "Specific verifiable criterion", 13 "Another specific criterion", 14 "Typecheck passes" 15 ], 16 "passes": false 17 } 18 ] 19}

Fields:

  • projectName: Human-readable feature name
  • branchName: Git branch (convention: ralph/kebab-case-name)
  • description: Overview of the feature and problem it solves
  • userStories: Array of stories, ordered by priority
  • passes: Always false initially (Ralph sets to true when complete)

Example PRD

json
1{ 2 "projectName": "Task Priority System", 3 "branchName": "ralph/task-priority", 4 "description": "Add priority levels to tasks so users can focus on what matters most. Tasks can be marked as high, medium, or low priority with visual indicators and filtering.", 5 "userStories": [ 6 { 7 "id": "US-001", 8 "title": "Add priority field to database schema", 9 "priority": 1, 10 "description": "Add a priority column to the tasks table to persist priority across sessions. Priority should be an enum of 'high', 'medium', or 'low' with 'medium' as the default.", 11 "acceptanceCriteria": [ 12 "Migration adds priority column to tasks table", 13 "Column type is enum: 'high' | 'medium' | 'low'", 14 "Default value is 'medium'", 15 "Migration runs without errors", 16 "Existing tasks get 'medium' priority" 17 ], 18 "passes": false 19 }, 20 { 21 "id": "US-002", 22 "title": "Display priority badge on task cards", 23 "priority": 2, 24 "description": "Show a colored badge on each task card indicating its priority level. Users should see priority at a glance without hovering or clicking.", 25 "acceptanceCriteria": [ 26 "Each task card shows a priority badge", 27 "High priority: red badge with 'High' text", 28 "Medium priority: yellow badge with 'Medium' text", 29 "Low priority: gray badge with 'Low' text", 30 "Badge is visible without interaction", 31 "Typecheck passes", 32 "Visually verified in browser" 33 ], 34 "passes": false 35 }, 36 { 37 "id": "US-003", 38 "title": "Add priority selector to task edit form", 39 "priority": 3, 40 "description": "Allow users to change a task's priority when editing it. The selector should show the current priority and save changes immediately.", 41 "acceptanceCriteria": [ 42 "Priority dropdown appears in task edit modal", 43 "Dropdown shows all three options: High, Medium, Low", 44 "Current priority is pre-selected", 45 "Selection change saves to database immediately", 46 "UI updates to reflect new priority without page reload", 47 "Typecheck passes", 48 "Visually verified in browser" 49 ], 50 "passes": false 51 }, 52 { 53 "id": "US-004", 54 "title": "Add priority filter to task list", 55 "priority": 4, 56 "description": "Add a filter dropdown to the task list header so users can view only tasks of a specific priority level.", 57 "acceptanceCriteria": [ 58 "Filter dropdown in task list header", 59 "Options: All, High, Medium, Low", 60 "Selecting a filter shows only matching tasks", 61 "Filter state persists in URL query params", 62 "Shows 'No tasks found' when filter has no matches", 63 "Typecheck passes", 64 "Visually verified in browser" 65 ], 66 "passes": false 67 } 68 ] 69}

After Generation

Tell the user:

PRD saved to prd.json

To start Ralph:
  ./ralph.sh

To check story status:
  cat prd.json | jq '.userStories[] | {id, title, passes}'

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-name convention
  • All stories have "passes": false
  • Saved to prd.json

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is prd-generator?

Perfect for Autonomous AI Agents needing structured product requirements documentation generation. Copilot ralph is an autonomous AI agent loop that runs repeatedly until all PRD items are complete.

How do I install prd-generator?

Run the command: npx killer-skills add brenbuilds1/copilot-ralph. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for prd-generator?

Key use cases include: Generating PRDs for new feature development, Automating requirements gathering with clarifying questions, Creating structured documentation for autonomous implementation.

Which IDEs are compatible with prd-generator?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for prd-generator?

Requires user input for feature descriptions. Limited to generating PRDs, does not implement features.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add brenbuilds1/copilot-ralph. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use prd-generator immediately in the current project.

Related Skills

Looking for an alternative to prd-generator or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI