PRD-Based Workflow¶
Learn how to plan features professionally using Product Requirements Documents (PRDs) and structured project plans with the project-management plugin.
Duration: 15 minutes Level: Intermediate Plugin: project-management
What You'll Learn¶
- How to generate PRDs with
/create-prd - How to create project plans with
/create-plan - How to implement tasks with
/implement-task - The full planning-to-implementation workflow
- Best practices for requirements-driven development
Prerequisites¶
- project-management plugin installed
- A feature idea or requirement to plan
- Familiarity with
/commitand/create-pr(see beginner guides)
Recommended Project Structure¶
Before starting, understand where your planning artifacts will be stored:
PRD Organization
For larger projects with multiple features, prefix your PRDs with numbers (01-, 02-) to maintain a clear order. Store them in a dedicated PRDs/ or docs/prds/ folder.
Overview: The Full Workflow¶
The PRD-based workflow consists of three stages:
graph LR
A["/create-prd"] --> B["/create-plan"]
B --> C["/implement-task"]
C --> D["Pull Request"] | Stage | Command | Output |
|---|---|---|
| 1. Requirements | /create-prd | PRD.md document |
| 2. Planning | /create-plan | EPICs + Tasks in .plans/ or Linear |
| 3. Implementation | /implement-task | Code + Pull Request |
Stage 1: Create a PRD¶
Run the Command¶
Describe your feature in natural language:
| Bash | |
|---|---|
With a custom output path:
| Bash | |
|---|---|
What Claude Generates¶
Claude creates a structured PRD with these sections:
- Executive Summary - Problem, solution, and impact in 3-5 sentences
- Problem Statement - Current state, pain points, and evidence
- Goals & Success Metrics - SMART objectives with measurable targets
- User Stories & Personas - Who benefits and how
- Functional Requirements - Prioritized with MoSCoW method
- Non-Functional Requirements - Performance, security, accessibility
- Out of Scope - What will NOT be built (and why)
- Risk Assessment - Risk matrix with mitigation strategies
- Timeline & Milestones - Phased delivery plan
Example Output¶
| Text Only | |
|---|---|
PRD Quality Checklist¶
A good PRD should answer these questions:
- What are we building?
- Who is it for?
- Why are we building it?
- How will we measure success?
- What is out of scope?
- What are the risks?
User-Centric, Not Solution-Centric
Focus your PRD on the problem and user needs, not on technical implementation details. Leave the "how" for the planning stage.
Stage 2: Create a Project Plan¶
Run the Command¶
Generate a plan from your PRD:
| Bash | |
|---|---|
This reads PRD.md from the current directory and creates:
| Bash | |
|---|---|
This creates issues directly in Linear:
| Text Only | |
|---|---|
Linear Setup Required
For Linear integration, see Linear Integration Guide.
Custom PRD Path¶
Point to a specific PRD file:
| Bash | |
|---|---|
Understanding Task Breakdown¶
Claude breaks the PRD into ATOMIC tasks:
| Criterion | Description |
|---|---|
| **A**ctionable | Can be started immediately |
| **T**estable | Has clear acceptance criteria |
| **O**wnable | Assignable to one developer |
| **M**easurable | Story Points (1, 2, 3, 5, 8) |
| **I**ndependent | Minimal dependencies on other tasks |
| **C**omplete | Self-contained unit of work |
Example Task File¶
Each task in .plans/*/tasks/ contains:
Agent Recommendations¶
Claude suggests the best AI agent for each task type:
| Task Type | Recommended Agent | Use Case |
|---|---|---|
| Frontend | frontend-developer | UI components, styling |
| Java | java-developer | Spring Boot, enterprise |
| Python | python-expert | Django, FastAPI |
| Code Review | code-reviewer | Quality assurance |
| Documentation | markdown-syntax-formatter | Docs, READMEs |
Stage 3: Implement Tasks¶
Run the Command¶
What Happens¶
Claude orchestrates the full implementation workflow:
graph TD
A["1. Select Task"] --> B["2. Create Worktree"]
B --> C["3. Create Branch"]
C --> D["4. Create Draft PR"]
D --> E["5. Set Status: In Progress"]
E --> F["6. Implement Code"]
F --> G["7. Write Tests"]
G --> H["8. Finalize PR"]
H --> I["9. Set Status: Completed"] Step-by-step output:
Git Worktrees¶
Each task gets its own worktree for parallel development:
| Text Only | |
|---|---|
Parallel Work
Worktrees allow you to work on multiple tasks simultaneously without switching branches in your main directory.
Complete Workflow Example¶
Here's the full end-to-end workflow:
Best Practices¶
Writing Good Feature Descriptions¶
The quality of your /create-prd input determines the quality of the output:
PRD Review Checklist¶
Before moving to planning, verify your PRD:
- Problem is clearly defined with evidence
- Goals are SMART (Specific, Measurable, Achievable, Relevant, Time-bound)
- User stories have acceptance criteria
- Requirements are prioritized (Must/Should/Could/Won't)
- Out of scope is explicitly defined
- Risks are identified with mitigation strategies
Planning Tips¶
- Start small - Begin with Must-Have requirements only
- Keep tasks atomic - Each task should be completable in 1-2 days
- Define dependencies - Know which tasks block others
- Review before implementing - Refine the plan with your team
Implementation Tips¶
- One task at a time - Focus on completing one task before starting the next
- Follow acceptance criteria - They define "done"
- Write tests - Each task should include relevant tests
- Create small PRs - One task = one PR for easier review
Troubleshooting¶
PRD Too Generic¶
Problem: Generated PRD lacks specific requirements.
Solution:
- Provide more context in your feature description
- Include specific user scenarios
- Mention technical constraints upfront
- Refine the generated PRD manually before planning
Plan Has Too Many Tasks¶
Problem: Task breakdown creates 20+ tasks for a small feature.
Solution:
- Review your PRD scope - it might be too broad
- Merge related tasks that are too granular
- Use the
--interactiveflag:/create-plan --interactive - Focus on Must-Have requirements first
Task Implementation Fails¶
Problem: /implement-task can't complete a task.
Solution:
- Check that all dependencies are completed first
- Verify the task description is clear and actionable
- Break the task into smaller sub-tasks if too complex
- Check the worktree status:
git worktree list
What's Next?¶
Now that you know the PRD workflow, explore:
- Linear Integration - Manage tasks in Linear
- Plugin Catalog - Discover more plugins
- Plugin Development - Build your own plugins
Related Resources¶
- Project Management Plugin - Full plugin documentation
- Your First Commit - Git commit workflow
- Create Your First PR - Pull request workflow
- Linear Integration - Linear project management