Home
Softono
y

yassinello

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
1

Software by yassinello

claude-plugin-prd-workflow
Open Source

claude-plugin-prd-workflow

# πŸ“‹ PRD Workflow Manager > **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. [![npm version](https://img.shields.io/npm/v/claude-prd-workflow.svg)](https://www.npmjs.com/package/claude-prd-workflow) [![npm downloads](https://img.shields.io/npm/dm/claude-prd-workflow.svg)](https://www.npmjs.com/package/claude-prd-workflow) [![GitHub release](https://img.shields.io/github/v/release/Yassinello/claude-prd-workflow.svg)](https://github.com/Yassinello/claude-prd-workflow/releases) [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) [![Claude Code](https://img.shields.io/badge/Claude%20Code-2.0%2B-purple.svg)](https://claude.com/claude-code) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) --- ## 🎯 Why PRD Workflow Manager? ### The Problem 😫 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 ### The Solution ✨ **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**. --- ## ✨ Key Features ## πŸ†• What's New in v0.3.1 ### 🚦 **Review Gate - Stop Bad Ideas in 30 Seconds** 3 killer questions **before** you waste time on full analysis: 1. **KILL** - Should this even exist? 2. **SKIP** - Can we wait 3 months? 3. **SHRINK** - What's the 20% MVP? **Impact**: Catch scope bloat and unjustified features in 30s vs 10 min ### πŸ€– **Agent Orchestration - One Command, Full Analysis** ```bash /invoke "implement Stripe payments" β†’ Runs: architecture + security + tests + plan (parallel) β†’ 12 min β†’ comprehensive outputs ``` ### βš™οΈ **Worktree Health Checks - No More Cryptic Errors** Pre-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" ### πŸ“Š **3x Faster Reviews - 10-20 min β†’ 3-5 min** - 4 core dimensions (not 7) - Dynamic contextual (tag-based) - Compact format (icons, bullets) --- ### πŸ” **AI-Powered PRD Review** 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 ### ⚑ **Daily Development Tools (v2.3)** 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) ### 🎯 **Intelligent Developer Experience (NEW in v2.4)** 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 ### 🌳 **Git Worktree Orchestration** 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 ### πŸ‘¨β€πŸ’» **Guided Implementation** 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 ### πŸ”’ **Automated Security & Quality** **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 ### 🎼 **Multi-PRD Orchestration** **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 ### πŸ“Š **Progress Tracking** 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 ### πŸ₯ **Self-Healing & Reliability (NEW in v2.8)** 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-repair` fixes 90%+ of issues automatically - **Smart Updates** - `/plugin-update` updates 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) --- ## 🎯 How It Works: Two Workflow Modes Choose the right workflow for your feature size: ### Mode 1️⃣: Full PRD Workflow (Substantial Features) **Use for**: Features taking >1 day, multiple developers, customer-facing changes ```bash # 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. --- ### Mode 2️⃣: Quick Ship Workflow (Small Changes) - Enhanced in v2.4 πŸš€ **Use for**: Bug fixes, small tweaks, <4 hour changes ```bash /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! --- ### πŸ“Š Which Mode to Choose? | 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 | --- ## πŸš€ Installation (2 minutes) ### Prerequisites - [Claude Code](https://claude.com/claude-code) v2.0 or higher - [Git](https://git-scm.com/) v2.25+ (for worktree support) - Node.js v18+ (for the installation script) ### Step 1: Install the Plugin Globally (One Time) > πŸ’‘ **Key Concept**: Install once globally β†’ Available in ALL your projects automatically! **Option A: npm** (Recommended - Fully Automatic) ```bash 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 Code ``` **Option B: Claude Code Marketplace** (Native Plugin System) ```bash # 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 Code ``` **Option C: Git Clone** (Manual Installation) ```bash # 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 Code ``` **Option D: From Claude Code** (Interactive) ```bash # In Claude Code, type: /help plugins # Then follow the prompts to: # 1. Install from npm: claude-prd-workflow # 2. Restart Claude Code # Done! ``` ### πŸ”“ Optional: Ultra-Permissive Permissions (Highly Recommended) **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. #### Automatic (Recommended) During installation, Claude Code may offer to apply the suggested permissions. **Accept to enable seamless workflow**. #### Manual Setup If automatic setup didn't work or you want to configure later: ```bash # 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 Code ``` **What's Allowed**: βœ… Git, NPM, file operations, web access, all plugin commands **What's Blocked**: ❌ Only data deletion (rm, del, git clean) and secrets πŸ“– [Full permissions guide β†’](.claude/PERMISSIONS.md) ### Step 2: Verify Installation The installation script automatically runs a health check, but you can verify anytime: **Option A: Via Command** (Recommended) ``` /plugin-health ``` **Option B: Via Script** ```bash cd ~/.claude-code/plugins/claude-prd-workflow node bin/check-health.js ``` βœ… **Success**: All systems operational ❌ **Error**: Issues detected **If Issues Detected**: ```bash # 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 repair ``` **Quick 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 ### Step 3: Using in an Existing Project The plugin works immediately in any project! Just open your project in Claude Code: ```bash # 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 file ``` **Optional**: Customize config for this specific project: ```bash # 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.json ``` **That's it!** πŸŽ‰ You're ready to create your first PRD. --- ## πŸ”„ Keeping the Plugin Updated **New in v2.8**: One-command updates with automatic backup and health check! ### Update to Latest Version **Option A: One-Command Update** (Recommended - NEW in v2.8) ```bash /plugin-update ``` The 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) ```bash cd ~/.claude-code/plugins/claude-prd-workflow git pull origin main node install.js # Restart Claude Code ``` **Option C: Reinstall** (npm-based installations) ```bash npm install -g claude-prd-workflow@latest # Restart Claude Code ``` ### Check for Updates ```bash # 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 Latest Version ```bash # 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 changes ``` ### Update Notifications **Updates 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**: - [GitHub Releases](https://github.com/Yassinello/claude-prd-workflow/releases) - [npm Package Page](https://www.npmjs.com/package/claude-prd-workflow) - [CHANGELOG.md](CHANGELOG.md) ### Version Compatibility The plugin follows [Semantic Versioning](https://semver.org/): - **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 **Current stable version**: ![npm version](https://img.shields.io/npm/v/claude-prd-workflow.svg) --- ## ⚑ Quick Start - Real Example: Building MCP Server Prioritization 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. ### 1. Create Your First PRD 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 ### 2. Review Your PRD ``` /review-prd ``` **What happens**: 1. AI analyzes PRD across **7 dimensions** (Clarity, Feasibility, UX, Dependencies, Criteria, Risks, Simplification) 2. Generates **5-10 calibration questions** to expose gaps 3. You answer questions β†’ PRD is updated 4. **Grade assigned** (A-F) 5. If grade β‰₯ minimum (B for enterprise, C for startup) β†’ **Approved!** 6. PRD moves to `product/prds/02-ready/` 7. **GitHub issue created** (if enabled) **Time**: 15 minutes (vs 2 hours manual review) ### 3. Start Development ``` /code-prd ``` **What happens**: 1. Creates branch `feat/PRD-001-user-authentication` 2. Creates Git worktree `../my-project-user-authentication/` (isolated workspace) 3. Installs dependencies (if configured) 4. Moves PRD to `product/prds/03-in-progress/` 5. Opens implementation context **You're now coding in a clean workspace!** ### 4. Guided Implementation ``` /work-prd ``` **What happens**: 1. 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) 2. 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) 3. After you complete a task β†’ validates β†’ moves to next **Progress tracked automatically** in `.claude/prd-001-progress.json` ### 5. Quality Gates 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) ### 6. Ship It! Create PR β†’ Code review β†’ Merge β†’ Done! πŸŽ‰ PRD automatically moves to `product/prds/04-complete/` --- ## πŸ”§ How It Works ### The Complete Workflow ```mermaid 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 ``` ### AI Agents at Work (13 Total - 7 NEW in v2.3!) **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 | --- ## βš™οΈ Configuration Presets Choose the preset that matches your project type: ### πŸš€ **Startup** - Ship fast, iterate faster ```bash cp config/presets/startup.json .claude/config.json ``` **Settings**: - βœ… 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 --- ### 🏒 **Enterprise** - Production-grade quality ```bash cp config/presets/enterprise.json .claude/config.json ``` **Settings**: - βœ… 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 --- ### 🌍 **Open Source** - Community-driven ```bash cp config/presets/open-source.json .claude/config.json ``` **Settings**: - βœ… 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 --- ### 🎨 **Custom** - Build your own Start with a preset, then customize: ```bash cp config/presets/startup.json .claude/config.json # Edit .claude/config.json to your needs ``` [Full configuration reference β†’](docs/configuration.md) --- ## πŸŽ“ Complete Command 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 | [Detailed command docs β†’](docs/commands-reference.md) --- ## πŸ“š Documentation ### Getting Started - πŸ“– **[Complete Guide](docs/guide.md)** - Everything in one place (Quick Start, Commands, Agents, Config, Troubleshooting) - 🎯 **[Real-World Examples](docs/examples.md)** - Startup, Enterprise, Microservices, Open Source setups --- ## πŸ—οΈ Advanced Features ### Parallel Development with Git Worktrees Work on **5+ features simultaneously** without branch switching: ```bash /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 switching ``` **Time saved**: 2-3 hours/day on context switching --- ### Multi-PRD Orchestration 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 ``` --- ### GitHub Integration Automatic issue creation when PRD approved: ```json { "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 --- ### Automated Quality Gates **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. --- ## 🀝 Contributing We welcome contributions! Here's how: ### Quick Start 1. Fork the repo 2. Create a feature branch: `git checkout -b feature/amazing-feature` 3. Make your changes 4. Test thoroughly 5. Submit a PR ### Guidelines - Follow the existing code style - Add tests for new features - Update documentation - Keep PRs focused (one feature per PR) [Full contributing guide β†’](CONTRIBUTING.md) ### Development Setup ```bash git clone https://github.com/Yassinello/claude-prd-workflow.git cd claude-prd-workflow npm install # if you're adding JS/TS features ``` --- ## πŸ†˜ Support & Community ### Get Help - πŸ’¬ [GitHub Discussions](https://github.com/Yassinello/claude-prd-workflow/discussions) - Ask questions - πŸ› [GitHub Issues](https://github.com/Yassinello/claude-prd-workflow/issues) - Report bugs ### Report Issues Use our issue templates: - [πŸ› Bug Report](.github/ISSUE_TEMPLATE/bug_report.yml) - [✨ Feature Request](.github/ISSUE_TEMPLATE/feature_request.yml) - [βš™οΈ Configuration Help](.github/ISSUE_TEMPLATE/configuration_help.yml) - [πŸ“š Documentation Issue](.github/ISSUE_TEMPLATE/documentation.yml) --- ## πŸ—ΊοΈ Roadmap ### v1.1 (Next Month) - [ ] Video tutorials - [ ] VS Code snippets - [ ] Interactive playground - [ ] `/clone-prd` command (duplicate PRDs) - [ ] `/split-prd` command (split large PRDs) ### v1.2 (Q1 2026) - MCP Integration πŸ”Œ **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 ### v2.0 (Q2 2026) - [ ] 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` [Full roadmap β†’](https://github.com/Yassinello/claude-prd-workflow/projects/1) --- ## πŸ“œ License **MIT License** - Free for commercial and open source use. Copyright Β© 2025 [Yassine Hamou-Tahra](https://github.com/Yassinello) See [LICENSE](LICENSE) for details. --- ## πŸ™ Acknowledgments Built with: - [Claude Code](https://claude.com/claude-code) - AI-powered development - [Git](https://git-scm.com/) - Version control & worktrees - Inspired by [Shape Up](https://basecamp.com/shapeup) methodology Special thanks to the Claude Code team for creating an amazing platform! --- ## πŸͺ Plugin Distribution & Marketplaces This plugin is available through multiple distribution channels: ### Official Distribution Channels **1. npm Registry** (Recommended for automation) ```bash 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) ```bash /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](https://claudecodemarketplace.com/) - Largest community marketplace - [claudemarketplaces.com](https://claudemarketplaces.com/) - Marketplace directory ### For Developers: Creating Your Own Marketplace This repository includes a `.claude-plugin/marketplace.json` file that makes it a valid Claude Code marketplace. You can: 1. **Fork this repo** to customize for your organization 2. **Add it as a marketplace**: `/plugin marketplace add your-org/your-fork` 3. **Share with your team** via company documentation See the [Plugin Marketplaces documentation](https://docs.claude.com/en/docs/claude-code/plugin-marketplaces) for more details. --- ## ⭐ Show Your Support 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! πŸš€ --- ## πŸ“ˆ Stats ![GitHub stars](https://img.shields.io/github/stars/Yassinello/claude-prd-workflow?style=social) ![GitHub forks](https://img.shields.io/github/forks/Yassinello/claude-prd-workflow?style=social) ![GitHub watchers](https://img.shields.io/github/watchers/Yassinello/claude-prd-workflow?style=social) --- <div align="center"> **Built with ❀️ for the Claude Code community** [Documentation](docs/) β€’ [Examples](docs/examples/) β€’ [Contributing](CONTRIBUTING.md) β€’ [License](LICENSE) Made by [@Yassinello](https://github.com/Yassinello) | Powered by Claude Code πŸ€– </div>

AI Agents Code Quality & Linting
12 Github Stars