Skills prd
Create and manage Product Requirements Documents (PRDs). Use when: (1) Creating structured task lists with user stories, (2) Specifying features with acceptance criteria, (3) Planning feature implementation for AI agents or human developers.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/bjesuiter/prd" ~/.claude/skills/openclaw-skills-prd && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/bjesuiter/prd" ~/.openclaw/skills/openclaw-skills-prd && rm -rf "$T"
manifest:
skills/bjesuiter/prd/SKILL.mdsource content
PRD Skill
Create and manage Product Requirements Documents (PRDs) for feature planning.
What is a PRD?
A PRD (Product Requirements Document) is a structured specification that:
- Breaks a feature into small, independent user stories
- Defines verifiable acceptance criteria for each story
- Orders tasks by dependency (schema → backend → UI)
Quick Start
- Create/edit
in the projectagents/prd.json - Define user stories with acceptance criteria
- Track progress by updating
→passes: falsetrue
prd.json Format
{ "project": "MyApp", "branchName": "ralph/feature-name", "description": "Short description of the feature", "userStories": [ { "id": "US-001", "title": "Add priority field to database", "description": "As a developer, I need to store task priority.", "acceptanceCriteria": [ "Add priority column: 'high' | 'medium' | 'low'", "Generate and run migration", "Typecheck passes" ], "priority": 1, "passes": false, "notes": "" } ] }
Field Descriptions
| Field | Description |
|---|---|
| Project name for context |
| Git branch for this feature (prefix with ) |
| One-line feature summary |
| List of stories to complete |
| Unique identifier (US-001, US-002) |
| Short descriptive title |
| "As a [user], I want [feature] so that [benefit]" |
| Verifiable checklist items |
| Execution order (1 = first) |
| Completion status ( → when done) |
| Runtime notes added by agent |
Story Sizing
Each story should be completable in one context window.
✅ Right-sized:
- Add a database column and migration
- Add a UI component to an existing page
- Update a server action with new logic
- Add a filter dropdown to a list
❌ Too large (split these):
- "Build the entire dashboard" → Split into: schema, queries, UI, filters
- "Add authentication" → Split into: schema, middleware, login UI, session
Story Ordering
Stories execute in priority order. Earlier stories must NOT depend on later ones.
Correct order:
- Schema/database changes (migrations)
- Server actions / backend logic
- UI components that use the backend
- Dashboard/summary views
Acceptance Criteria
Must be verifiable, not vague.
✅ Good:
- "Add
column to tasks table with default 'pending'"status - "Filter dropdown has options: All, Active, Completed"
- "Typecheck passes"
❌ Bad:
- "Works correctly"
- "User can do X easily"
Always include:
"Typecheck passes"
Progress Tracking
Update
passes: true when a story is complete. Use notes field for runtime observations:
"notes": "Used IF NOT EXISTS for migrations"
Quick Reference
| Action | Command |
|---|---|
| Create PRD | Save to |
| Check status | `cat prd.json |
| View incomplete | `jq '.userStories[] |
Resources
See
references/ for detailed documentation:
- How AI agents execute PRDs (Claude Code, OpenCode, etc.)agent-usage.md
- Sequential workflow patternsworkflows.md
- Templates and examplesoutput-patterns.md