create-prd — Claude Code command: write a PRD for a feature
A slash command that turns a feature idea into a requirements document: problem, scope, success metrics and acceptance criteria.
npx claude-code-templates@latest --command project-management/create-prdWhat create-prd does
The command puts Claude in a product manager role. You pass a feature name, the agent reads three files — product description, feature draft and JTBD — and fills in a PRD template. Output goes to product-development/current-feature/PRD.md.
There is no scripting here, just reading and writing. The tool list is capped at Read, Write, Edit, Grep, Glob, so nothing builds or edits source code. Technical notes stay high-level, and the instructions rule out time estimates.
Prepare the inputs first. Without product-development/resources/product.md, feature.md and JTBD.md the agent has no context to work from, and the PRD comes out generic. The PRD-template.md file has to exist too, otherwise the document structure drifts.
What it helps with
- write down a feature before coding starts
- state the user problem and the jobs behind it
- define success metrics and acceptance criteria
- agree on what is in scope for a feature
- keep requirements in one file the team can read
Example prompts for the agent
- /create-prd CSV export for reports
- /create-prd --interactive
- /create-prd --template
How to install create-prd
1claude-code-templates
npx claude-code-templates@latest --command project-management/create-prd2Manually: put the files in place
.claude/commands/create-prd.mdCall it with /create-prd. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/create-prd.mdCall it with /prompts:create-prd. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/create-prd.prompt.mdManually: put the files in place
.gemini/commands/create-prd.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about create-prd
How do I install create-prd in Claude?
Use the templates CLI: npx claude-code-templates@latest --command project-management/create-prd. It places the file at .claude/commands/create-prd.md.
What does create-prd do?
It builds a Product Requirements Document from the product description, feature draft and JTBD, then writes it to product-development/current-feature/PRD.md.
Which files does it need before running?
product-development/resources/product.md, product-development/current-feature/feature.md, product-development/current-feature/JTBD.md and the product-development/resources/PRD-template.md template.
Source text
create-prd.md · MIT
--- allowed-tools: Read, Write, Edit, Grep, Glob argument-hint: "[feature-name] | --template | --interactive" description: Create Product Requirements Document (PRD) for new features --- # Create Product Requirements Document You are an experienced Product Manager. Create a Product Requirements Document (PRD) for a feature we are adding to the product: **$ARGUMENTS** **IMPORTANT:** - Focus on the feature and user needs, not technical implementation - Do not include any time estimates ## Product Context 1. **Product Documentation**: @product-development/resources/product.md (to understand the product) 2. **Feature Documentation**: @product-development/current-feature/feature.md (to understand the feature idea) 3. **JTBD Documentation**: @product-development/current-feature/JTBD.md (to understand the Jobs to be Done) ## Task Create a comprehensive PRD document that captures the what, why, and how of the product: 1. Use the PRD template from `@product-development/resources/PRD-template.md` 2. Based on the feature documentation, create a PRD that defines: - Problem statement and user needs - Feature specifications and scope - Success metrics and acceptance criteria - User experience requirements - Technical considerations (high-level only) 3. Output the completed PRD to `product-development/current-feature/PRD.md` Focus on creating a comprehensive PRD that clearly defines the feature requirements while maintaining alignment with user needs and business objectives.
© davila7 · MIT · davila7/claude-code-templates