PRP (Product Requirement Prompt)
A PRD rewritten for a coding agent: the goal and why, plus the exact files, patterns to follow and commands that prove the work is done.
The term comes from the PRPs-agentic-eng repository, which defines it as a PRD plus curated codebase intelligence plus an agent runbook: “the minimum viable packet an AI needs to ship production-ready code on the first pass”. A PRD says what and why and avoids how; a PRP keeps the what and why and adds the how an agent cannot guess: file paths, library versions, an example of the pattern to copy, known pitfalls and the scope of one vertical slice.
The last section is what makes it work: a validation loop of commands (tests, type check, lint, build) the agent runs and fixes until they pass. Writing one is context engineering done before the session instead of during it, and it is a concrete form of spec-driven development. Teams that work this way keep PRPs and spec files in version control as the main engineering artifact, and review them more closely than the code.
Sources
Related terms
- PRD (product requirements document): A document that says what a product or feature must do, for whom and why, with success criteria, while leaving the technical how to the builders.
- Spec-driven development: Writing the specification and acceptance tests first, then letting agents implement against them.
- Validation loop (agent backpressure): Commands a coding agent runs after every change (tests, types, lint, build) and fixes against until they pass, so it checks itself before a person looks.
- Context engineering: Deciding what goes into the model’s context, in what order and when, across a whole task.
- Research, plan, implement (RPI): Working with a coding agent in three phases, each in a fresh context: research the code into a document, write a plan from it, then implement the plan.
- AGENTS.md and CLAUDE.md: Files in a repository with the rules a coding agent reads at the start of every session.
- First-pass success rate: The share of tasks a coding agent completes in one run that pass checks and review without a person rewriting them; the main health metric of agentic delivery.
