Installation
PR Review Kit installs into your existing project repository. The installer is a one-command interactive setup that handles everything automatically.
Requirements
| Requirement | Version | Notes |
|---|---|---|
| Node.js | 20 or later | Required to run the installer |
| Git | Any recent version | Required for diff generation |
| AI IDE | Any supported IDE | See IDE Support |
| Platform CLI | Optional | Only needed for PR listing and posting comments |
Platform CLIs are optional. Without them, reviews still run using git diff locally —
findings are saved to _prr-output/reviews/ instead of being posted to your platform.
Interactive install
Run this from your terminal inside the repository you want to add reviews to:
npx prr-kit install The installer will ask:
- Your name — used in review reports
- Language — language for reviewer agent responses (e.g. English, Vietnamese)
- Platform repo — e.g.
owner/repo. Leave blank for local mode. - IDEs to configure — select one or more from the list
All values are written automatically to _prr/prr/config.yaml. No file editing needed.
Silent install
Pass --yes to skip all prompts and accept defaults:
npx prr-kit install --directory /path/to/repo --modules prr --tools claude-code --yes Available flags:
| Flag | Description |
|---|---|
--directory | Target repository path (default: current directory) |
--modules | Modules to install (e.g. prr) |
--tools | IDEs to configure (e.g. claude-code,cursor) |
--yes | Accept all defaults, skip prompts |
What gets installed
The installer creates a _prr/ folder at the root of your repository:
_prr/
├── core/
│ ├── agents/
│ │ └── prr-master.agent.yaml # Master orchestrator
│ └── tasks/
│ └── workflow.xml # Workflow engine rules
└── prr/
├── agents/ # Specialist reviewer agents
├── config.yaml # Your configuration
└── workflows/
├── 1-discover/ # Select PR
├── 2-analyze/ # Describe + collect context
├── 3-review/ # All reviewer agents
├── 4-improve/ # Code improvement suggestions
├── 5-ask/ # Q&A about the PR
└── 6-report/ # Report generation + post comments IDE-specific files (agent definitions, workflow files) are also written to the appropriate locations for each IDE you selected.
Next steps
Open your IDE in the installed project and run one of these commands to start:
/prr-quick— one command, full pipeline (select PR → review → report)/prr-master— full menu with all options
- Configure your setup — edit config.yaml options
- Start the agent — how to invoke the master agent in your IDE
- Run your first review — the full pipeline walkthrough