The complete Claude Code plugin for Product-Driven Development
Transform PRDs from ideas to shipped features with AI-powered review, guided implementation, and automated quality gates. Never ship unclear requirements again.
Most development teams struggle with:
- Scope creep - Features grow 3x during implementation
- Context switching - Developers lose 2-3 hours/day switching between PRDs
- Quality issues - 40% of PRs need rework due to unclear requirements
- Wasted time - Manual PRD reviews take 2+ hours and miss critical gaps
- Lost progress - No clear tracking from idea → code → production
PRD Workflow Manager is the first and only Claude Code plugin that manages your entire product development lifecycle:
💡 Idea → 📝 PRD → ✅ Review → 💻 Code → 🔒 Quality → 🚀 Ship
With AI-powered agents, automated quality gates, and Git worktree orchestration, you ship features faster while maintaining production-grade quality.
3 killer questions before you waste time on full analysis:
- KILL - Should this even exist?
- SKIP - Can we wait 3 months?
- SHRINK - What's the 20% MVP?
Impact: Catch scope bloat and unjustified features in 30s vs 10 min
/invoke "implement Stripe payments"
→ Runs: architecture + security + tests + plan (parallel)
→ 12 min → comprehensive outputsPre-flight validation catches Git issues before they break:
- ✓ Version check (need 2.25+)
- ✓ Permissions check
- ✓ Conflict detection
Impact: Clear remediation vs "git worktree add failed"
- 4 core dimensions (not 7)
- Dynamic contextual (tag-based)
- Compact format (icons, bullets)
Multi-dimension analysis with automatic grading (A-F) and calibration questions that expose gaps you didn't know existed.
Before: Hours of manual review, still miss critical issues After: Minutes of AI analysis catches more with actionable questions
7 new agents for everyday coding (not just PRDs):
- code-reviewer - 30-second automated code review (5 agents in parallel)
- test-automator - Auto-generate comprehensive test suites (10x faster)
- backend-architect - Expert API/database design guidance
- performance-analyst - Systematic app optimization (2-3x faster)
- incident-coordinator - Structured production incident response
Before: Manual code review (30-45 min), manual test writing (hours) After: Automated review (30s), auto-generated tests (seconds)
Smart features that prevent errors and save time:
- Auto-Recovery - Never lose progress on crashes (auto-checkpoint every 3 tasks)
- Contextual Questions - AI asks payment-specific questions for payment features (9 types)
- AI Conflict Resolution - Merge conflicts auto-resolved 80% of the time
- Helpful Errors - Every error suggests the right next command
- Parallel Orchestration - Analyze 20 PRDs in 10s instead of 200s (-95%)
- Quick Ship Enhanced - Ship bug fixes in <1 hour with zero overhead
Before: Lost work on crashes, generic questions, manual conflict resolution After: 100% recovery, smart questions, AI-assisted merges
Work on 5+ features in parallel without branch switching. Enforced by default with health checks - Git 2.25+ required.
Before: Context switching costs hours every day, optional worktree = inconsistent workflow After: Mandatory isolation, instant feature switching, clear error handling
AI breaks your PRD into granular tasks with acceptance criteria, file paths, and code examples.
Before: Developers spend significant time figuring out "what's next" After: AI tells you exactly what to build, step by step
Zero-config security scans (OWASP Top 10, dependency vulnerabilities, secrets detection) and quality checks (coverage, complexity, linting).
Before: Manual security reviews miss many issues After: Automated scans find more issues in seconds
Smart dependency resolution and resource allocation across multiple features. Know exactly what's blocked, what's ready, and where to focus.
Before: 3+ PRDs running = chaos After: Crystal clear dependency graph and bottleneck analysis
Real-time progress on every PRD with automatic status updates, WORK_PLAN.md sync, and GitHub integration.
Before: "How's feature X going?" → checks 5 places
After: /list-prds → instant status on everything
Never worry about installation issues again! The plugin now self-diagnoses and auto-repairs:
- Auto Health Check - Runs after every install/update to verify everything works
- One-Command Repair -
/plugin-repairfixes 90%+ of issues automatically - Smart Updates -
/plugin-updateupdates safely with auto-backup - Clear Diagnostics - Know exactly what's wrong and how to fix it
Before: "Why aren't my commands showing up?" → hours of debugging
After: /plugin-health → instant diagnosis + /plugin-repair → fixed in seconds
Key Benefits:
- ✅ Zero missing commands (bin/ folder now copied correctly)
- ✅ Accurate installation verification (exact file counts)
- ✅ Self-healing when issues occur (auto-repair)
- ✅ Safe updates with rollback (never lose your config)
Choose the right workflow for your feature size:
Use for: Features taking >1 day, multiple developers, customer-facing changes
# Step 1: Create PRD with interactive questions (Main branch)
/create-prd "Add OAuth2 authentication"
→ AI asks clarifying questions
→ Generates comprehensive PRD
→ Stays in DRAFT by default
# Step 2: Create feature branch (enables parallel work!)
/code-prd PRD-007
→ Creates feature/PRD-007-oauth2-integration
→ Your Main branch stays FREE
# Step 3: Review & refine (on feature branch, separate Cursor window)
/review-prd PRD-007
→ 7-dimension analysis
→ Refine until Grade A/B
# Step 4: Guided development with auto-recovery ✨ NEW
/code-prd PRD-007
→ AI breaks into tasks
→ Step-by-step guidance
→ Auto-saves progress every 3 tasks
→ Resume from checkpoint if interrupted
# Step 5: Complete with AI conflict resolution ✨ NEW
/complete-prd PRD-007
→ AI detects merge conflicts
→ Suggests intelligent resolutions
→ Auto-merge if tests pass
→ Auto-cleanup branches🎯 Key Benefit: Main branch never blocked. Create PRD on Main, review/dev on feature branch in parallel.
Use for: Bug fixes, small tweaks, <4 hour changes
/quick-ship "Fix dark mode toggle on iOS Safari"
→ No PRD created
→ Minimal tracking log
→ Auto-commit (AI message) ✨ NEW
→ Auto-PR with description ✨ NEW
→ Auto-merge on tests pass ✨ NEW
→ Complete in <1 hour🎯 Key Benefit: Zero overhead for small changes. Ship fixes in minutes, not hours.
NEW in v2.4: Integrated workflow eliminates manual commit/PR creation - just describe the fix and ship!
| Criteria | Full PRD | Quick Ship |
|---|---|---|
| Duration | >1 day | <4 hours |
| Developers | Multiple | Single |
| Scope clarity | Needs definition | Crystal clear |
| Risk | Medium-High | Low |
| Examples | New feature, Refactor, Integration | Bug fix, UI tweak, Dependency update |
- Claude Code v2.0 or higher
- Git v2.25+ (for worktree support)
- Node.js v18+ (for the installation script)
💡 Key Concept: Install once globally → Available in ALL your projects automatically!
Option A: npm (Recommended - Fully Automatic)
npm install -g claude-prd-workflow
# ✅ Auto-installs to ~/.claude-code/
# ✅ Commands, agents, and skills copied to the right places
# ✅ Ready to use in ALL projects
# Restart Claude CodeOption B: Claude Code Marketplace (Native Plugin System)
# In Claude Code, add the marketplace:
/plugin marketplace add Yassinello/claude-prd-workflow
# Then install the plugin:
/plugin install claude-prd-workflow
# ✅ Direct integration with Claude Code
# ✅ Automatic updates via marketplace
# ✅ Discover all available plugins
# ✅ No npm required
# Restart Claude CodeOption C: Git Clone (Manual Installation)
# Clone to a temporary location
git clone https://github.com/Yassinello/claude-prd-workflow.git
cd claude-prd-workflow
# Run the installation script
node install.js
# ✅ Copies 18 slash commands to ~/.claude-code/commands/
# ✅ Copies 17 AI agents to ~/.claude-code/agents/
# ✅ Copies 13 skills to ~/.claude-code/skills/
# ✅ Copies plugin files to ~/.claude-code/plugins/claude-prd-workflow/
# ✅ Runs automatic health check to verify installation
🏥 Running automatic health check...
✅ Plugin directory found
✅ Plugin version: 2.8.0
✅ Installed 18 slash commands
✅ Installed 17 AI agents
✅ Installed 13 skills
✅ All systems operational!
# Restart Claude CodeOption D: From Claude Code (Interactive)
# In Claude Code, type:
/help plugins
# Then follow the prompts to:
# 1. Install from npm: claude-prd-workflow
# 2. Restart Claude Code
# Done!Problem: Claude Code asks for permissions constantly, interrupting your workflow.
Solution: This plugin includes suggested ultra-permissive permissions that eliminate 99% of authorization prompts while still blocking data deletion operations.
During installation, Claude Code may offer to apply the suggested permissions. Accept to enable seamless workflow.
If automatic setup didn't work or you want to configure later:
# Copy suggested permissions to your global config
cp ~/.claude-code/plugins/claude-prd-workflow/.claude/settings.local.json ~/.claude-code/settings.json
# OR merge with existing config
cat ~/.claude-code/plugins/claude-prd-workflow/.claude/settings.local.json
# Then restart Claude CodeWhat's Allowed: ✅ Git, NPM, file operations, web access, all plugin commands What's Blocked: ❌ Only data deletion (rm, del, git clean) and secrets
The installation script automatically runs a health check, but you can verify anytime:
Option A: Via Command (Recommended)
/plugin-health
Option B: Via Script
cd ~/.claude-code/plugins/claude-prd-workflow
node bin/check-health.js✅ Success: All systems operational ❌ Error: Issues detected
If Issues Detected:
# Auto-repair (fixes 90%+ of issues)
/plugin-repair
# Or manually
cd ~/.claude-code/plugins/claude-prd-workflow
node bin/repair.js
# Restart Claude Code after repairQuick Test:
/list-prds
✅ Success: No PRDs found. Create your first PRD with /create-prd
❌ Error: Command not found → Run /plugin-repair then restart Claude Code
The plugin works immediately in any project! Just open your project in Claude Code:
# Open your existing project in Claude Code
cd ~/my-existing-project
code . # or open with Claude Code
# In Claude Code, create the PRD structure:
/create-prd
# The plugin will:
# 1. Ask for PRD details
# 2. Create product/prds/ directory if needed
# 3. Generate your first PRD fileOptional: Customize config for this specific project:
# Copy a preset (choose one based on your project type)
mkdir -p .claude
cp ~/.claude-code/plugins/claude-prd-workflow/config/presets/startup.json .claude/config.json
# Or for enterprise:
cp ~/.claude-code/plugins/claude-prd-workflow/config/presets/enterprise.json .claude/config.json
# Or for open source:
cp ~/.claude-code/plugins/claude-prd-workflow/config/presets/open-source.json .claude/config.jsonThat's it! 🎉 You're ready to create your first PRD.
New in v2.8: One-command updates with automatic backup and health check!
Option A: One-Command Update (Recommended - NEW in v2.8)
/plugin-updateThe update command automatically:
- ✅ Checks current version and fetches latest from GitHub
- ✅ Backs up your config (automatic - no data loss)
- ✅ Stashes uncommitted changes during update
- ✅ Updates via git pull (if installed via git)
- ✅ Reinstalls all commands/agents/skills globally
- ✅ Runs health check to verify update succeeded
- ✅ Shows version change and what's new
- ✅ Rollback-friendly (keeps old version if update fails)
Option B: Manual Update (Git-based installations)
cd ~/.claude-code/plugins/claude-prd-workflow
git pull origin main
node install.js
# Restart Claude CodeOption C: Reinstall (npm-based installations)
npm install -g claude-prd-workflow@latest
# Restart Claude Code# Check your installed version
npm list -g claude-prd-workflow
# Check latest available version
npm view claude-prd-workflow version
# See what changed in new versions
npm view claude-prd-workflow versions --json# Update to the latest version
npm install -g claude-prd-workflow@latest
# The postinstall script automatically:
# ✅ Updates commands in ~/.claude-code/commands/
# ✅ Updates agents in ~/.claude-code/agents/
# ✅ Updates skills in ~/.claude-code/skills/
# ✅ Updates plugin files in ~/.claude-code/plugins/
# Restart Claude Code to see changesUpdates are NOT automatic - this is intentional to prevent breaking changes.
When to update:
- ✅ New features you want to use
- ✅ Bug fixes for issues you're experiencing
- ✅ Security patches (check GitHub releases)
Where to check for updates:
The plugin follows Semantic Versioning:
- Major (1.x.x → 2.x.x): Breaking changes, may require config updates
- Minor (1.0.x → 1.1.x): New features, backward compatible
- Patch (1.0.0 → 1.0.1): Bug fixes, always safe to update
Let's walk through a real example from idea to shipped code in 30 minutes.
Scenario: You want to add a feature to prioritize MCP servers in Claude Code based on usage frequency.
In Claude Code, type:
/create-prd
Claude will ask:
- Feature name:
MCP Server Prioritization - Priority:
P1(should-have) - PRD ID:
PRD-001
Output: product/prds/01-draft/251025-mcp-server-prioritization-v1.md
The PRD template is pre-filled with sections:
- Problem Statement
- Goals & Success Metrics
- User Stories
- Technical Approach
- Acceptance Criteria
- Dependencies
- Risks
Time: 2 minutes to fill in the details
/review-prd
What happens:
- AI analyzes PRD across 7 dimensions (Clarity, Feasibility, UX, Dependencies, Criteria, Risks, Simplification)
- Generates 5-10 calibration questions to expose gaps
- You answer questions → PRD is updated
- Grade assigned (A-F)
- If grade ≥ minimum (B for enterprise, C for startup) → Approved!
- PRD moves to
product/prds/02-ready/ - GitHub issue created (if enabled)
Time: 15 minutes (vs 2 hours manual review)
/code-prd
What happens:
- Creates branch
feat/PRD-001-user-authentication - Creates Git worktree
../my-project-user-authentication/(isolated workspace) - Installs dependencies (if configured)
- Moves PRD to
product/prds/03-in-progress/ - Opens implementation context
You're now coding in a clean workspace!
/work-prd
What happens:
-
AI breaks PRD into 40+ tasks (example):
- Task 1: Setup NextAuth.js (2h)
- Task 2: Create login API route (1h)
- Task 3: Build login UI component (3h)
- Task 4: Add session management (2h)
- ...Task 40: Deploy to production (1h)
-
For each task:
- Shows what to build (clear description)
- Shows where (exact files to modify)
- Shows how (code examples & patterns)
- Shows acceptance criteria (how to know you're done)
-
After you complete a task → validates → moves to next
Progress tracked automatically in .claude/prd-001-progress.json
Before creating your PR:
/security-audit
→ Scans for vulnerabilities, secrets, OWASP violations → Must pass (0 high-severity issues)
/quality-check
→ Runs linting, tests, coverage, complexity analysis → Must pass (grade ≥ B for enterprise, C for startup)
Time: 30 seconds (vs 30 minutes manual review)
Create PR → Code review → Merge → Done! 🎉
PRD automatically moves to product/prds/04-complete/
flowchart LR
A[💡 Idea] -->|/create-prd| B[📝 Draft PRD]
B -->|/review-prd| C{🔍 AI Review<br/>7 Dimensions}
C -->|Grade ≥ Min| D[✅ Approved]
C -->|Grade < Min| B
D -->|/code-prd| E[🌳 Worktree Created]
E -->|/work-prd| F[👨💻 Task-by-Task<br/>Implementation]
F -->|/security-audit<br/>/quality-check| G{🔒 Quality Gates}
G -->|Pass| H[🚀 Ship]
G -->|Fail| F
H --> I[✔️ Complete]
style A fill:#e1f5ff
style C fill:#fff4e6
style D fill:#f6ffed
style G fill:#fff1f0
style H fill:#f6ffed
PRD Management Agents (6):
| Agent | When | What |
|---|---|---|
| 🔍 prd-reviewer | /review-prd |
7-dimension analysis, calibration questions, grading |
| 👨💻 prd-implementer | /code-prd |
Task breakdown, code examples, validation |
| 🎼 orchestrator | /orchestrate |
Dependency analysis, resource allocation, bottleneck detection |
| 🔒 security-expert | /security-audit |
OWASP Top 10, secrets detection, vulnerability scanning |
| ✅ quality-assurance | /quality-check |
Coverage, complexity, linting, type safety |
| 🚀 devops-engineer | (on-demand) | CI/CD setup, infrastructure as code |
Daily Development Agents (7 - NEW in v2.3):
| Agent | Model | What |
|---|---|---|
| 🔎 code-reviewer | Haiku (fast) | Automated code review, best practices, complexity detection |
| 🧪 test-automator | Haiku (fast) | Auto-generate unit/integration/E2E tests with fixtures |
| 🏗️ backend-architect | Sonnet (complex) | API design, database schema, scalability guidance |
| 🚨 incident-coordinator | Sonnet (complex) | Production incident response, runbooks, postmortems |
| ⚡ performance-analyst | Sonnet (complex) | Bundle analysis, Core Web Vitals, systematic optimization |
| 🎯 full-stack-orchestrator | Sonnet (complex) | End-to-end feature coordination (frontend → backend → tests) |
| 🤖 code-review-orchestrator | Haiku (fast) | Runs 5 agents in parallel for 30-second comprehensive review |
Choose the preset that matches your project type:
cp config/presets/startup.json .claude/config.jsonSettings:
- ✅ Test coverage: 70% (pragmatic)
- ✅ Min PRD grade: C (good enough)
- ✅ Review dimensions: 5 (essentials only)
- ✅ Parallel features: 2 (small team)
- ✅ Auto-scan: On PR only (don't slow down development)
Best for: MVPs, prototypes, fast iteration
cp config/presets/enterprise.json .claude/config.jsonSettings:
- ✅ Test coverage: 90% (strict)
- ✅ Min PRD grade: B (high quality)
- ✅ Review dimensions: 10 (comprehensive - includes Compliance, Security, Performance)
- ✅ Parallel features: 5 (larger team)
- ✅ Auto-scan: On every commit (catch early)
- ✅ Fine-grained tasks (40-50 tasks per PRD)
- ✅ SOX/PCI-DSS compliance tracking
Best for: Production systems, regulated industries, large teams
cp config/presets/open-source.json .claude/config.jsonSettings:
- ✅ PRD ID format: RFC-{number} (community standard)
- ✅ Work plan: ROADMAP.md (public transparency)
- ✅ Labels: help-wanted, good-first-issue (contributor-friendly)
- ✅ Auto-assign: Off (community picks tasks)
- ✅ No notifications (avoid spam)
Best for: Open source projects, community contributions
Start with a preset, then customize:
cp config/presets/startup.json .claude/config.json
# Edit .claude/config.json to your needsFull configuration reference →
| Command | Purpose | Example Usage |
|---|---|---|
| Core Workflow | ||
/create-prd |
Create new PRD from template | Start any new feature |
/review-prd |
AI-powered 7D review + grading | Before approval |
/setup-prd |
Create branch + worktree (dev setup) | Ready to implement |
/code-prd |
Guided task-by-task implementation | During development |
/list-prds |
Show all PRDs with status | Check progress |
/archive-prd |
Archive completed/cancelled PRDs | Cleanup |
| Quality & Security | ||
/security-audit |
Scan dependencies, code, secrets, OWASP | Before PR |
/quality-check |
Linting, tests, coverage, complexity | Before PR |
| Orchestration | ||
/orchestrate |
Multi-PRD coordination & dependencies | Managing 3+ PRDs |
- 📖 Complete Guide - Everything in one place (Quick Start, Commands, Agents, Config, Troubleshooting)
- 🎯 Real-World Examples - Startup, Enterprise, Microservices, Open Source setups
Work on 5+ features simultaneously without branch switching:
/setup-prd # PRD-001 → ../project-auth/
/setup-prd # PRD-002 → ../project-dashboard/
/setup-prd # PRD-003 → ../project-billing/
# Each feature has its own:
# - Isolated workspace
# - Installed dependencies
# - No merge conflicts
# - Instant context switchingTime saved: 2-3 hours/day on context switching
Managing 10+ PRDs? /orchestrate shows:
- 📊 Dependency graph - What blocks what
- 🎯 Critical path - Bottlenecks highlighted
- 👥 Resource allocation - Team capacity planning
- ⏰ Timeline prediction - When features ship
Example output:
🎯 Critical Path: PRD-001 → PRD-003 → PRD-005 (7 weeks)
🔴 Blocked: PRD-004, PRD-006 (waiting for PRD-003)
✅ Ready: PRD-002, PRD-007 (no blockers)
⚠️ Bottleneck: Backend team at 120% capacity
Automatic issue creation when PRD approved:
{
"prd_workflow": {
"github": {
"enabled": true,
"create_issue_on_approval": true,
"issue_labels": ["feature", "P0", "PRD-001"],
"auto_assign": true,
"milestone_tracking": true
}
}
}Result: Every approved PRD = GitHub issue with:
- Full PRD content
- Acceptance criteria checklist
- Dependencies linked
- Auto-assigned to team
Security Audit (/security-audit):
- ✅ npm/yarn audit (dependency vulnerabilities)
- ✅ ESLint security plugin
- ✅ git-secrets (no credentials committed)
- ✅ OWASP Top 10 checks
- ✅ Snyk/Trivy (container scanning)
Quality Check (/quality-check):
- ✅ Linting (ESLint/Prettier)
- ✅ Type checking (TypeScript)
- ✅ Test coverage (80-90% threshold)
- ✅ Code complexity (max 10)
- ✅ Bundle size analysis
- ✅ Performance budgets
Both run in <30 seconds and block PR merge if failing.
We welcome contributions! Here's how:
- Fork the repo
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Test thoroughly
- Submit a PR
- Follow the existing code style
- Add tests for new features
- Update documentation
- Keep PRs focused (one feature per PR)
git clone https://github.com/Yassinello/claude-prd-workflow.git
cd claude-prd-workflow
npm install # if you're adding JS/TS features- 💬 GitHub Discussions - Ask questions
- 🐛 GitHub Issues - Report bugs
Use our issue templates:
- Video tutorials
- VS Code snippets
- Interactive playground
-
/clone-prdcommand (duplicate PRDs) -
/split-prdcommand (split large PRDs)
Core MCP Support:
- MCP server integration framework
- Configuration schema for MCP servers
Optional MCP Integrations:
- Context7 - Fetch up-to-date library documentation
- GitHub MCP - Enhanced GitHub operations (PR reviews, issue sync)
- Memory MCP - Persistent knowledge graph for PRD relationships
- Puppeteer MCP - Automated testing & screenshots
- Brevo MCP - Email notifications & marketing automation
New Features:
- Jira/Linear/Notion integrations
- Analytics dashboard (
/prd-metrics) - AI-generated PRDs from notes
- Smart dependency detection
- Real-time collaboration
- Approval workflows
- Gantt chart visualization
- Team capacity planning
- Custom MCP server:
@claude-prd/analytics-mcp - Custom MCP server:
@claude-prd/integrations-mcp
MIT License - Free for commercial and open source use.
Copyright © 2025 Yassine Hamou-Tahra
See LICENSE for details.
Built with:
- Claude Code - AI-powered development
- Git - Version control & worktrees
- Inspired by Shape Up methodology
Special thanks to the Claude Code team for creating an amazing platform!
This plugin is available through multiple distribution channels:
1. npm Registry (Recommended for automation)
npm install -g claude-prd-workflow- ✅ Automatic updates with
npm update -g - ✅ Version pinning support
- ✅ Works with CI/CD pipelines
2. Claude Code Marketplace (Native integration)
/plugin marketplace add Yassinello/claude-prd-workflow
/plugin install claude-prd-workflow- ✅ Direct Claude Code integration
- ✅ Discover updates within Claude Code
- ✅ Marketplace-based distribution
3. Community Marketplaces
Submit this plugin to popular Claude Code marketplaces:
- claudecodemarketplace.com - Largest community marketplace
- claudemarketplaces.com - Marketplace directory
This repository includes a .claude-plugin/marketplace.json file that makes it a valid Claude Code marketplace. You can:
- Fork this repo to customize for your organization
- Add it as a marketplace:
/plugin marketplace add your-org/your-fork - Share with your team via company documentation
See the Plugin Marketplaces documentation for more details.
If PRD Workflow Manager helps you ship faster, please:
- ⭐ Star this repo
- 📝 Write a blog post
- 💬 Tell your team
Every star motivates us to keep improving! 🚀
Built with ❤️ for the Claude Code community
Documentation • Examples • Contributing • License
Made by @Yassinello | Powered by Claude Code 🤖