| name | prp-generator |
| description | Generate comprehensive Product Requirement Plans (PRPs) for feature implementation with thorough codebase analysis and external research. Use when the user requests a PRP, PRD, or detailed implementation plan for a new feature. Conducts systematic research, identifies patterns, and creates executable validation gates for one-pass implementation success. Do NOT use for client discovery, requirements gathering, or scope definition - those need a separate clarification pass before the PRP step. |
PRP Generator
Overview
Generates comprehensive Product Requirement Plans (PRPs) that enable AI agents to implement features in a single pass. Combines systematic codebase analysis with external research to create detailed, context-rich implementation blueprints.
When to Use
- User requests a PRP, PRD, or detailed implementation plan
- User asks to "plan out" or "design" a complex feature
- Beginning significant feature development that benefits from structured planning
- User provides a feature description file and asks for implementation guidance
Core Principle
Context is Everything: The implementing agent only receives the PRP content, training data knowledge, codebase access, and WebSearch. Your PRP must be self-contained with all necessary context, specific references, and executable validation gates.
Workflow
Phase 1: Understand the Feature
- Read the feature request - if a file path is given, read it completely; if verbal, clarify requirements
- Clarify ambiguities - use AskUserQuestion for unclear requirements, confirm tech stack, verify integration points
- Identify the core problem being solved and acceptance criteria
Phase 2: Codebase Analysis (Mandatory)
Goal: Understand existing patterns, conventions, and integration points.
Systematically analyse the codebase across five dimensions: