Platform Support
PR Review Kit supports all four major Git platforms. Platform CLI tools are optional — without them,
the review runs locally using git diff and findings are saved as Markdown files.
Platform overview
| Feature | Local | GitHub | GitLab | Azure DevOps | Bitbucket |
|---|---|---|---|---|---|
| Diff analysis | ✓ | ✓ | ✓ | ✓ | ✓ |
| List open PRs | — | ✓ | ✓ | ✓ | ✓ |
| Auto-detect base/head | — | ✓ | ✓ | ✓ | ✓ |
| Post inline comments | — | ✓ | ✓ | ✓ | ✓ |
| Approve / request changes | — | ✓ | ✓ | ✓ | — |
GitHub
Install and authenticate the GitHub CLI:
# Install
brew install gh # macOS
winget install GitHub.cli # Windows
# Authenticate
gh auth login
Set platform_repo in config.yaml to owner/repo (e.g.
acme/my-service).
GitLab
Install and authenticate the GitLab CLI:
# Install
brew install glab # macOS
# See https://gitlab.com/gitlab-org/cli for other platforms
# Authenticate
glab auth login Set platform to gitlab and platform_repo to group/project.
Azure DevOps
Install the Azure CLI and add the DevOps extension:
# Install Azure CLI
# See https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
# Add DevOps extension
az extension add --name azure-devops
# Authenticate
az login
Set platform to azure and platform_repo to your project
identifier. Diff loading falls back to git diff when the Azure CLI does not support
it directly.
Bitbucket
Bitbucket support uses the bb CLI or curl with the Bitbucket REST API.
Install the Bitbucket CLI or configure your API token for curl-based requests.
Set platform to bitbucket and platform_repo to workspace/repo-slug.
Local mode
If you do not configure a platform_repo, or set platform to
none, the review runs in local mode:
- Diff is generated via
git diff - You select branches manually
- Findings are saved to
_prr-output/reviews/ - No inline comments are posted
Local mode works with no platform account or CLI required.