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
Platform and repo are auto-detected from git remote get-url origin — no config needed.
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 Platform and repo are auto-detected from git remote get-url origin — no config needed.
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
Platform and repo are auto-detected from git remote get-url origin — no config needed.
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.
Platform and repo are auto-detected from git remote get-url origin — no config needed.
Local mode
If no git remote is configured, or the remote cannot be detected, 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.