Prp generation

From aspiers/ai-config · View interactive version

Prp generation is an AI agent skill from the GitHub repository aspiers/ai-config. Generate a Product Requirements Prompt (PRP) from a feature description. Use when starting work on a new feature.

How to use this skill

Skill file

PRP Generation

Generate a Product Requirements Prompt (PRP) in Markdown format.

When to Use This Skill

Use this skill when:

Initial Response Rule

**When this skill is invoked, ALWAYS start by asking the user to

describe their feature. DO NOT jump to clarifying questions until

they have provided an initial description.**

Process

CRITICAL: Follow this process EXACTLY in sequence. DO NOT SKIP AHEAD!

Step 1: Wait for Initial Feature Description

Step 2: Ask Clarifying Questions

ONLY AFTER the user provides their feature description:

Example questions:

Step 3: Generate PRP

Based on the initial description AND the user's answers to clarifying questions,

generate a PRP using the structure below. Ensure it's suitable for a junior

developer to understand.

Step 4: Save PRP

Save the generated document as .ai/[feature-name]/prp.md

Confirm with the user that the PRP has been saved

PRP Structure

The generated PRP should include:

  1. Introduction/Overview: Briefly describe the feature and the problem it solves
  2. Goals: List the specific, measurable objectives
  3. User Stories: Detail user narratives describing feature usage and benefits
  4. Functional Requirements: Specific functionalities the feature must have (numbered)
  5. Non-Goals (Out of Scope): What this feature will NOT include
  6. Design Considerations (Optional): UI/UX requirements, mockups, component styles
  7. Technical Considerations (Optional): Constraints, dependencies, integration points
  8. Success Metrics: How success will be measured
  9. Open Questions: Remaining questions needing clarification

Target Audience

Assume the primary reader is a junior developer. Therefore:

Output Format

Final Instructions

  1. Do NOT start implementing the PRP
  2. Make sure to ask the user clarifying questions
  3. Take the user's answers and improve the PRP
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.