PRD→PR is a local engineering orchestrator. Its primary input is a PRD. The normal workflow is:
prdpr path/to/PRD.mdThe engine validates that PRD, creates or locates a project, and drives implementation through a phase graph until the work is verified and delivered. You do not need to run a separate validation command first.
The Go engine is the source of truth. Cursor is an implementation actor. Cursor saying “done” is not verification.
PRD path
→ validate
→ determine project
→ bootstrap
→ graph
→ implement
→ verify
→ repair
→ deliver
→ runtime
This repository is a working V1. Capabilities are not equally complete. See docs/PHASES.md for P0–P13 status (IMPLEMENTED, PARTIAL, PLANNED, OUT OF SCOPE).
Default tests do not call paid LLM APIs or live Cursor.
Released binaries (normal users). Current published release: v0.1.1. Download the artifact for your OS and architecture, verify it against prdpr_0.1.1_checksums.txt, install it as prdpr on your PATH, then run prdpr version (expect 0.1.1) and prdpr doctor. Full steps: docs/USER_GUIDE.md.
From source (contributors / developers):
Requires Go (version in go.mod) and Git.
git clone https://github.com/lanternfold/prd-pr
cd prd-pr
go install ./cmd/prdprgo install puts the prdpr binary in $GOBIN if set, otherwise $GOPATH/bin, which defaults to $HOME/go/bin. If the shell cannot find prdpr, add that directory to PATH. A checkout install (go install ./cmd/prdpr) reports version dev. A tagged module install (go install github.com/lanternfold/prd-pr/cmd/prdpr@v0.1.1) and GitHub Release binaries report 0.1.1.
Local contributor binary (does not install to PATH):
git clone https://github.com/lanternfold/prd-pr
cd prd-pr
go test ./...
go build -o dist/prdpr ./cmd/prdpr
./dist/prdpr doctorSee docs/DEVELOPER_GUIDE.md. The Cursor plugin does not use dist/prdpr; it requires prdpr on PATH.
- Install so
prdpris on yourPATH(released v0.1.1 for normal users; see above). - Check the environment:
prdpr doctordoctor reports OS, architecture, Go, Git, Cursor editor, Cursor Agent, and GitHub CLI. Missing Git is an error. Missing Cursor or gh is informational.
- Write a PRD. See docs/PRD_AUTHORING_CONTRACT.md.
- Run the product:
prdpr path/to/PRD.mdThat is the intended entry point: a PRD path. The engine contract-validates the PRD as part of this command, places a Studio project when needed, then prepares the next READY phase.
Optional explicit validation (no project mutation; useful when authoring or debugging a PRD):
prdpr validate-prd path/to/PRD.mdInteractive Cursor: install released prdpr on PATH, load the thin plugin in prdpr-cursor/, then run /prdpr. That is the plugin-first path. CLI-first is prdpr path/to/PRD.md in a shell, then open product_root and implement the packet (or /prdpr there). Headless: prdpr phase (uses cursor-agent). Do not mix interactive and headless paths in one session. validate-prd is optional.
Full walkthrough: docs/USER_GUIDE.md.
| Audience | Start here |
|---|---|
| New user | docs/USER_GUIDE.md |
| Contributor / developer | docs/DEVELOPER_GUIDE.md |
| Cursor | docs/CURSOR.md |
| Git/GitHub | docs/GIT_GITHUB.md |
| Security reporting | SECURITY.md |
| CLI commands | docs/CLI.md |
| How it actually works | docs/FLOW.md |
| Docs index | docs/README.md |
Design intent and accepted ADRs remain in ARCHITECTURE.md and ADR/. That document is not a substitute for the implemented flow in docs/FLOW.md.
Report undisclosed vulnerabilities privately. See SECURITY.md. Do not file public GitHub issues for them.
Licensed under the Apache License, Version 2.0. See LICENSE. The Go module path is github.com/lanternfold/prd-pr.