Product Requirement Plan Generator

VerifiedSafe

Generates comprehensive Product Requirement Plans for feature implementation using codebase analysis and external research. Creates executable validation gates for one-pass implementation.

Sby Skills Guide Bot
DevelopmentIntermediate
9/7/2026
Claude CodeCodex
#prp#feature-planning#codebase-analysis#implementation-plan#research

Recommended for

Automated summary

Generates comprehensive Product Requirement Plans (PRPs) for implementing a feature by combining systematic codebase analysis with external research.

Strengths

  • Explicit five-phase workflow from requirement clarification through PRP generation
  • Mandatory codebase analysis along five dimensions (similar features, architecture, conventions, tests, configuration) with file paths and line numbers
  • Required external research documented with exact URLs and versions taken from package.json
  • Produces a self-contained PRP with executable validation gates aimed at one-pass implementation

Limitations

  • Effectiveness depends on access to the codebase and to web search
  • Long, heavy process that is overkill for small, low-risk features
  • Does not cover client discovery or scope definition, which it explicitly delegates to scope-clarifier
  • Output quality is tied to the bundled reference files and template
When to use it

Use when starting a significant feature that warrants a detailed, self-contained implementation blueprint.

When not to use it

Avoid for client discovery, requirements gathering, or scope definition; use scope-clarifier for those.

Security analysis

Safe
Quality score88/100

The skill is a planning and documentation generator. It instructs codebase analysis, web research, and file writing, but does not execute destructive commands, exfiltrate data, or obfuscate actions. No high-risk tools are declared or used; the main operations are read-only research and writing a markdown file. The only minor consideration is that it writes files, but this is a legitimate, low-risk action.

No concerns found

How this analysis is made

Examples

PRP for a new auth feature
Generate a PRP for adding OAuth-based SSO login to our Next.js app. Analyze the existing auth code under src/auth/ and check current NextAuth best practices before writing the plan.
PRP from a feature description file
Read docs/features/notifications.md and produce a complete PRP with executable validation gates for implementing it.
Plan a complex integration
Plan out how we'd add real-time collaboration with Yjs to our editor — give me a detailed implementation plan with specific codebase references.

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 - use scope-clarifier for those. Use when this capability is needed. metadata: author: henkisdabro

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

  1. Read the feature request - if a file path is given, read it completely; if verbal, clarify requirements
  2. Clarify ambiguities - use AskUserQuestion for unclear requirements, confirm tech stack, verify integration points
  3. 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:

| Area | What to Capture | |------|----------------| | Similar features | File paths, line numbers, code snippets, adaptations needed | | Architecture | Directory conventions, component organisation, state management, API patterns | | Coding conventions | TypeScript usage, component patterns, styling, import ordering, naming | | Test patterns | Framework, file naming, mock strategies, coverage expectations | | Configuration | Dependencies, build setup, path aliases, TypeScript settings |

For detailed sub-steps, examples, and documentation templates, see references/codebase-analysis-guide.md.

Also refer to references/research_methodology.md for the full research process.

Phase 3: External Research (Mandatory)

Goal: Find best practices, documentation, examples, and gotchas.

Research across four areas:

| Area | Key Actions | |------|------------| | Library documentation | Find official docs for the SPECIFIC version from package.json; note version-specific gotchas | | Implementation examples | Search GitHub, StackOverflow, official examples; prefer recent, production-grade code | | Best practices | Search "[technology] best practices [current year]"; check OWASP for security | | Performance and security | Bundle size implications, runtime patterns, vulnerabilities, accessibility |

Always document exact URLs, versions, and specific sections. See references/research_methodology.md for detailed guidance.

Phase 4: Ultra-Thinking (Critical)

STOP AND THINK DEEPLY BEFORE WRITING THE PRP.

Analyse integration points, implementation ordering, validation strategy, and context completeness. Verify the PRP will enable one-pass implementation without questions.

For the full set of analysis questions and the quality checklist, see references/quality-assessment.md.

Phase 5: Generate the PRP

Use assets/prp_template.md as the base structure. Populate all sections:

  1. Metadata - feature name, timeline, confidence score (1-10), date
  2. Executive Summary - 2-3 sentences with core value proposition
  3. Research Findings - codebase analysis (file:line refs) and external research (URLs, versions)
  4. Technical Specification - architecture, components, data models, API endpoints
  5. Implementation Blueprint - prerequisites, step-by-step with pseudocode, file changes, error handling, edge cases
  6. Testing Strategy - unit, integration, and manual testing approaches
  7. Validation Gates - must be EXECUTABLE commands (e.g. npm run test && npm run build)
  8. Success Criteria - clear, measurable checklist

Phase 6: Quality Scoring

Score the PRP for one-pass implementation success:

| Score | Meaning | |-------|---------| | 9-10 | Exceptionally detailed, all context included, clear path, executable gates | | 7-8 | Very good, minor gaps, mostly clear implementation path | | 5-6 | Adequate, some ambiguity, may require clarification | | 3-4 | Incomplete research, missing context, unclear path | | 1-2 | Insufficient for implementation |

If score is below 7: Go back and improve the PRP before delivering.

Phase 7: Save and Deliver

  1. Save the PRP to PRPs/[feature-name].md (kebab-case, create directory if needed)
  2. Deliver summary to user with: brief feature summary, file location, confidence score with rationale, and next steps

Common Pitfalls

| Pitfall | Bad | Good | |---------|-----|------| | Vague references | "There's a similar component somewhere" | "See UserProfile at src/components/UserProfile.tsx:45-67" | | Missing versions | "Use React Query" | "Use @tanstack/react-query v5.28.0" | | Non-executable gates | "Run tests and make sure they pass" | npm run test && npm run build | | Generic advice | "Follow React best practices" | "Use named exports (see src/components/Button.tsx:1)" | | Incomplete research | Skipping codebase analysis | Thoroughly document existing patterns | | Missing gotchas | Assuming smooth implementation | Document known issues and edge cases |

Example Usage

User: "Create a PRP for adding dark mode support to the application"

  1. Clarify: "Should dark mode preference persist across sessions? Should it respect system preferences?"
  2. Research codebase for theme-related code
  3. Research external resources (dark mode best practices, library options)
  4. Ultra-think about implementation approach
  5. Generate comprehensive PRP using template
  6. Score the PRP
  7. Save to PRPs/dark-mode-support.md
  8. Deliver summary with confidence score

Resources

| Resource | Description | |----------|------------| | assets/prp_template.md | Base template for all PRPs | | references/research_methodology.md | Detailed research guidance and best practices | | references/codebase-analysis-guide.md | Detailed codebase analysis sub-steps and examples | | references/quality-assessment.md | Ultra-thinking analysis questions and quality checklist |

Key Reminders

  • Research is mandatory - never skip codebase or external research
  • Be specific - always include file paths, line numbers, URLs, versions
  • Think deeply - Phase 4 (Ultra-Thinking) is critical for success
  • Validate everything - all validation gates must be executable
  • Score honestly - if confidence is below 7, improve the PRP
  • Context is king - the implementer only has what you put in the PRP

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

<!-- tomevault:4.0:skill_md:2026-04-11 -->

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/product-requirement-plan-generator-mtqry41q' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/product-requirement-plan-generator-mtqry41q/download' --output '.skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md.part' && mv '.skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md.part' '.skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md' && test -s '.skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/prp-generator' && cp -R '.skill-downloads/product-requirement-plan-generator-mtqry41q' '.claude/skills/prp-generator'

Codex
test -f '.skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md' && test -s '.skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/prp-generator' && cp -R '.skill-downloads/product-requirement-plan-generator-mtqry41q' '.agents/skills/prp-generator'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/product-requirement-plan-generator-mtqry41q'

openskills read 'product-requirement-plan-generator-mtqry41q'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/product-requirement-plan-generator-mtqry41q/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills