From bp
Generates a comprehensive Product Requirements & Plans (PRP) document through validated research and codebase analysis. Uses a two-phase approach: task validation then deep research.
How this command is triggered — by the user, by Claude, or both
Slash command
/bp:generate-prp feature description or user storycommands/This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Create PRP ## Feature file: $ARGUMENTS Generate PRP (Product Requirements & Plans) through validated research and codebase analysis. ## Workflow Summary Two-phase approach: validate completeness (Phase 1), then research (Phase 2). **CRITICAL**: PRP must contain ALL context - research findings, documentation URLs, code examples. The executor agent sees only the final PRP document, not your research process. ## Research Process **Phase 1: Initial Discovery & Task Validation** (Validate task completeness before deep research) 1. **Preflight Analysis** (Use subagent: `bp:preflight-prp...
Generate PRP (Product Requirements & Plans) through validated research and codebase analysis.
Two-phase approach: validate completeness (Phase 1), then research (Phase 2).
CRITICAL: PRP must contain ALL context - research findings, documentation URLs, code examples. The executor agent sees only the final PRP document, not your research process.
Phase 1: Initial Discovery & Task Validation (Validate task completeness before deep research)
Preflight Analysis (Use subagent: bp:preflight-prp)
Decision Gate:
Phase 2: Comprehensive Research Phase (After task validation - Codebase first, then smart external research)
Codebase Analysis (Use subagent: bp:codebase-research)
Smart External Research Decision (Evaluate AFTER codebase analysis)
FIRST: Analyze codebase findings to determine if external research is needed:
SKIP External Research if:
PROCEED with External Research ONLY if:
If External Research is needed (Use subagent: bp:research-agent):
Technical Clarification (Use if needed after research completion)
IMPORTANT: Read and follow the template structure from docs/templates/prp_document_template.md exactly.
If template doesn't exist, tell user to run /bp:init first to install templates.
CRITICAL BEFORE WRITING:
Save as: docs/prps/{feature-name}.md
Score the PRP on a scale of 1-10 (confidence level to succeed in one-pass implementation using claude codes)
Final Step: Generate Implementation Tasks
After completing the PRP document, automatically generate a detailed task breakdown:
Task Decomposition (Use subagent: bp:team-lead-task-breakdown)
docs/tasks/{feature-name}.mdIntegration with PRP
docs/tasks/{feature-name}.mdThis ensures the PRP includes both comprehensive requirements AND actionable implementation tasks ready for development sprints.
Remember: The goal is one-pass implementation success through comprehensive context AND clear task decomposition.
npx claudepluginhub croffasia/cc-blueprint-toolkit --plugin bp/generate-prpGenerates a comprehensive Product Requirement Plan (PRP) for a feature by analyzing the codebase, researching external resources, and producing a structured markdown file with implementation blueprint, validation gates, and quality checklist.
/create-prpResearches and builds a formal Product Requirement Prompt (PRP) for a feature, including context gathering and structured documentation.
/prp-planCreates a detailed implementation plan by analyzing codebase patterns and conventions. Accepts a feature description or PRD file path, then produces a structured plan with phases, user stories, and complexity assessment.
/prp-planCreates a detailed feature implementation plan by analyzing codebase patterns and conventions. Parses PRD files or free-form descriptions to produce a self-contained, executable plan.
/create-prdCreates a product requirements document for a new feature within the current project, gathering requirements interactively and saving a structured markdown file.