
prd-builder
Interview-driven PRD builder that turns rough ideas into structured requirements with gap analysis.
- version
- 1.0.0
- GitHub stars
- 36
What it does
- Adds 4 commands (
/prd,/feature,/bugfix,/refine) and aprd-intervieweragent that offers discovery when product ideas come up - Covers 8 interview categories: problem, users, solution, technical, business, UX, risks, and testing
- Guides you through PRDs with P0/P1/P2 requirements, acceptance criteria, and Mermaid architecture diagrams saved to
docs/prd/ - Integrates with TaskManager by generating hierarchical feature and subtask lists from a completed PRD
Interactive PRD (Product Requirements Document) builder with comprehensive interview-driven discovery, gap analysis, and taskmanager integration.
Add marketplace
/plugin marketplace add mwguerra/claude-code-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install prd-builder@mwguerra-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourcePRD Interview Skill
Guide comprehensive interviews to transform rough ideas into actionable Product Requirements Documents through structured discovery across 8 categories.
Core Interview Process
Interview Flow
- Initial Prompt: Capture the base idea in user's own words
- Category-Based Discovery: Work through relevant categories using AskUserQuestion
- Adaptive Branching: Skip irrelevant questions based on context
- Progressive Summarization: Summarize after each category before moving on
- Document Generation: Create the final PRD with Mermaid diagrams
- Task Integration: Offer to generate hierarchical tasks via taskmanager
Interview Categories
Conduct interviews across these 8 categories (adapt based on PRD type):
| Category | Focus Areas | When to Use |
|---|---|---|
| Problem & Context | Pain points, current state, why now | Always |
| Users & Customers | Personas, segments, user journeys | Always |
| Solution & Features | Feature list, MVP scope, priorities | Always |
| Technical Implementation | Architecture, stack, integrations | Always |
| Business & Value | ROI, pricing, revenue model | Products, major features |
| UX & Design | Flows, wireframes, accessibility | UI-facing work |
| Risks & Concerns | Dependencies, assumptions, blockers | Always |
| Testing & Quality | Test strategies, acceptance criteria | Always |
Question Guidelines
When using AskUserQuestion:
- Ask 2-4 questions per round maximum
- Provide concrete options when possible
- Enable multiSelect for non-mutually-exclusive choices
- Include "Other" automatically (tool handles this)
- Use short headers (max 12 chars)
Adaptive Branching Rules
Skip categories based on context:
- Internal tool: Skip pricing/revenue questions in Business & Value
- Backend-only: Minimize UX & Design category
- Bug fix: Focus on Problem & Context, Technical, Testing
- Feature: Full interview but lighter on Business & Value
Session State Management
State File Location
Save interview progress to: .taskmanager/prd-state.json
State Structure
{
"sessionId": "uuid",
"prdType": "product|feature|bugfix",
"slug": "feature-name",
"startedAt": "ISO timestamp",
"lastUpdatedAt": "ISO timestamp",
"currentCategory": "category-name",
"completedCategories": ["category1", "category2"],
"answers": {
"category-name": {
"question-key": "answer-value"
}
},
"initialPrompt": "User's original description"
}
Resuming Sessions
When /prd-builder:prd or similar is invoked:
- Check for existing state in
.taskmanager/prd-state.json - If found, ask user: "Resume previous session for '{slug}' or start fresh?"
- If resuming, continue from
currentCategory - If starting fresh, archive old state and begin new session
PRD Document Structure
Output Location
Save PRDs to: docs/prd/prd-{slug}.md
Document Template
Generate PRDs following the template in templates/prd-template.md. Key sections:
- Header: Title, version, date, status, author
- Executive Summary: One-paragraph overview
- Problem Statement: What problem, who has it, current solutions
- Users & Personas: Target users with characteristics
- Solution Overview: High-level approach
- Features & Requirements: Detailed feature breakdown with priorities
- Technical Architecture: Stack, integrations, Mermaid diagrams
- User Experience: Flows, wireframes references
- Business Case: Value proposition, pricing (if applicable)
- Risks & Mitigations: Known risks with mitigation strategies
- Testing Strategy: Acceptance criteria, test approach
- Timeline & Milestones: Phase breakdown (if applicable)
- Open Questions: Unresolved items for follow-up
Mermaid Diagrams
Include these diagrams where appropriate:
Architecture Diagram:
graph TB
subgraph Frontend
UI[User Interface]
end
subgraph Backend
API[API Layer]
DB[(Database)]
end
UI --> API --> DB
User Flow Diagram:
flowchart LR
A[Start] --> B{Decision}
B -->|Yes| C[Action]
B -->|No| D[Alternative]
TaskManager Integration
Task Generation Process
After PRD completion:
- Parse all features from the PRD
- Create hierarchical task structure:
- Parent task per major feature
- Child tasks for implementation steps
- Use
/taskmanager:planwith the PRD file path
Task Hierarchy Example
Feature: User Authentication
├── Setup authentication infrastructure
├── Implement login endpoint
├── Implement registration endpoint
├── Add password reset flow
├── Create authentication middleware
└── Write authentication tests
Automatic Execution
After generating tasks, ask: "Tasks created. Start autonomous execution?"
If yes, invoke /taskmanager:run to begin implementation.
PRD Types
Full Product PRD (/prd-builder:prd)
Complete interview covering all 8 categories in depth:
- 10-15 question rounds
- Comprehensive documentation
- Full Mermaid diagrams
- Complete task breakdown
Feature PRD (/prd-builder:feature)
Lighter interview focused on implementation:
- 5-8 question rounds
- Skip or minimize Business & Value (unless monetized feature)
- Focus on Technical, UX, Testing
- Assume product context exists
Bug Fix PRD (/prd-builder:bugfix)
Problem-focused documentation:
- 3-5 question rounds
- Heavy focus on Problem & Context
- Technical root cause analysis
- Regression testing strategy
- Skip Business, minimize UX
Refine PRD (/prd-builder:refine)
Enhance existing PRDs:
- Read and analyze existing PRD
- Identify weak or missing sections
- Ask targeted questions for gaps only
- Merge new answers into existing document
- Preserve original content where adequate
Additional Resources
Reference Files
Detailed question banks for each category:
references/question-bank.md- Complete question library organized by category
Template Files
PRD output template:
templates/prd-template.md- Full PRD document structure
Readme
PRD Builder Plugin
An interactive Product Requirements Document (PRD) builder for Claude Code that transforms rough ideas into comprehensive, actionable plans through structured interviews.
Features
- Deep Interview Process: 8 comprehensive categories covering all aspects of product/feature planning
- Smart Branching: Adaptive questions based on previous answers
- Multiple PRD Types: Full product, feature, and bugfix documentation
- Gap Analysis: Refine existing PRDs by identifying and filling weak areas
- Session Persistence: Save progress and continue long interviews later
- TaskManager Integration: Auto-generate hierarchical tasks from completed PRDs
- Mermaid Diagrams: Visual architecture and flow diagrams
Commands
| Command | Description |
|---|---|
/prd-builder:prd | Start a comprehensive product PRD interview |
/prd-builder:feature | Create a feature-focused PRD (lighter weight) |
/prd-builder:bugfix | Document a bug fix with problem analysis |
/prd-builder:refine | Analyze and enhance an existing PRD |
Interview Categories
- Problem & Context - What problem exists, pain points, why now
- Users & Customers - Target users, personas, customer segments
- Solution & Features - Proposed solution, feature list, MVP scope
- Technical Implementation - Architecture, stack, integrations
- Business & Value - Value proposition, pricing, ROI
- UX & Design - User flows, wireframes, accessibility
- Risks & Concerns - Technical risks, dependencies, assumptions
- Testing & Quality - Test strategies, acceptance criteria, edge cases
Output
- PRD files saved to:
docs/prd/prd-{slug}.md - Session state saved to:
.taskmanager/prd-state.json
Usage
# Start a new product PRD
/prd
# Create a feature PRD
/prd-builder:feature
# Document a bug fix
/prd-builder:bugfix
# Improve an existing PRD
/prd-builder:refine docs/prd/prd-user-auth.md
TaskManager Integration
After completing a PRD, you'll be asked if you want to generate tasks. The plugin will:
- Parse all features from the PRD
- Create hierarchical tasks (parent features with implementation subtasks)
- Optionally start executing tasks autonomously
Proactive Agent
The plugin includes a prd-interviewer agent that triggers automatically when you describe product ideas:
"I want to build a user authentication system"
→ Agent offers to conduct PRD interview
"I'm thinking about adding a dashboard to track metrics"
→ Agent suggests structured discovery before implementation
"Before we start coding, let's document the requirements"
→ Agent launches full PRD interview
Session Persistence
Long interviews can be resumed:
- State is saved to
.taskmanager/prd-state.jsonafter each question round - If you stop mid-interview, running
/prd-builder:prdagain offers to resume - Choose "Start fresh" to begin a new interview instead
PRD Document Structure
Generated PRDs include:
- Executive Summary
- Problem Statement
- Users & Personas (with tables)
- Solution Overview
- Features & Requirements (P0/P1/P2 with acceptance criteria)
- Technical Architecture (with Mermaid diagrams)
- User Experience (flows, accessibility)
- Business Case (if applicable)
- Risks & Mitigations
- Testing Strategy
- Timeline & Milestones
- Open Questions
Installation
Add to your Claude Code plugins directory or use --plugin-dir flag:
claude --plugin-dir /path/to/prd-builder
Plugin Structure
prd-builder/
├── .claude-plugin/
│ └── plugin.json
├── agents/
│ └── prd-interviewer.md
├── commands/
│ ├── prd.md
│ ├── feature.md
│ ├── bugfix.md
│ └── refine.md
├── skills/
│ └── prd-interview/
│ ├── SKILL.md
│ ├── references/
│ │ └── question-bank.md
│ └── templates/
│ └── prd-template.md
└── README.md
Details
- Marketplace
- mwguerra/claude-code-plugins
- Source
- prd-builder
- Category
- Productivity
- Keywords
- prd, planning, requirements, product, features, documentation
- Listed since
- Apr 7, 2026
More from mwguerra/claude-code-plugins
All 18- reverb-specialistv1.0.0
- secretaryv1.0.0
- taskmanagerv1.0.0
- terminal-specialistv1.0.0
- test-specialistv1.0.0
- article-writerv1.0.0
- boardv1.0.0
- codev1.0.0
- docker-localv1.0.0
- docker-specialistv1.0.0
- docs-specialistv1.0.0
- e2e-test-specialistv2.7.0
- error-memoryv1.0.0
- filament-specialistv1.0.0
- laravel-filament-package-development-specialistv1.0.0
- obsidian-vaultv1.0.0
- post-developmentv1.0.0
Similar to prd-builder
More Agent Workflow & Planning
prdSkillgithub/awesome-copilot24.6K installsStructured product requirements document generator for software and AI-powered features, covering discovery through risk analysis.
project-planner-skillPluginadrianpuiu/claude-skills-marketplace99 starsComprehensive project planning and documentation generator for software projects. Creates structured requirements documents, system design documents, and task b
taskmanagerPluginmwguerra/claude-code-plugins36 starsPlan and execute tasks from PRDs with hierarchical subtasks, dependency tracking, and project memories. Features dashboard visualization, autonomous batch execu
Task MasterMCP servereyaltoledano28.5K starsTask Master exposes AI-driven task management to editors through MCP, with API keys required for AI features.