Create and execute PRPs (Product Requirements Prompts) for feature implementation using Context Engineering principles...
Create comprehensive PRPs (Product Requirements Prompts) that enable AI agents to implement features with sufficient context and validation loops for one-pass implementation success.
PRPs/templates/prp_base.md (generated per project)Run this first in any new project to create a customized PRP template.
PRPs/templates/prp_base.md doesn't existRead these files (in order of priority):
AI Agent Configuration:
- AGENTS.md # Universal AI agent guidance (agents.md standard)
- CLAUDE.md or .claude/settings.json # Claude-specific rules
- GEMINI.md # Gemini-specific rules
Project Documentation:
- README.md # Project overview
- CONTRIBUTING.md # Contribution guidelines
Package/Dependencies:
- package.json # Node.js projects
- pyproject.toml or requirements.txt # Python projects
- Cargo.toml # Rust projects
- go.mod # Go projects
Code Quality:
- .eslintrc* / biome.json # JS/TS linting
- ruff.toml / pyproject.toml [ruff] # Python linting
- mypy.ini / pyproject.toml [mypy] # Python type checking
- tsconfig.json # TypeScript config
Testing:
- jest.config.* / vitest.config.* # JS/TS testing
- pytest.ini / pyproject.toml [pytest] # Python testing
- tests/ or __tests__/ structure # Test patterns
Extract from analysis:
Create directory and template:
mkdir -p PRPs/templates
Generate PRPs/templates/prp_base.md with:
Output created:
PRPs/templates/prp_base.md - Customized for this projectSummary to user:
If PRPs/templates/prp_base.md doesn't exist:
"I notice this project doesn't have a PRP template yet. Would you like me to initialize PRPs first? This will create a customized template based on your project's stack and conventions."
Codebase Analysis:
External Research (if needed):
Check existing PRPs:
ls -1 PRPs/*.md 2>/dev/null | grep -E '^PRPs/[0-9]{3}--' | sort -r | head -5
Naming: PRPs/{NNN}--{feature-name}.md
Use template from: PRPs/templates/prp_base.md
Score (1-10): Confidence for one-pass success
DO:
DON'T:
ā
PRPs Initialized for [Project Name]
Stack Detected:
- Language: Python 3.11
- Framework: FastAPI
- Package Manager: uv
- Linting: ruff
- Type Checking: mypy
- Testing: pytest
Created:
- PRPs/templates/prp_base.md
Ready to generate PRPs!
š PRPs/005--feature-name.md
Confidence: 8/10
Key Notes: [implementation highlights]
ā
PRP Execution Complete
Tasks: 5/5 completed
Validation: All passing
Status: SUCCESS