Overview Version History Q & A Rating & Review
PR Reviewer
AI-powered local commit reviewer built into VS Code. Every time you run git commit, your staged diff is sent to the PR Reviewer backend, reviewed by AI, and a structured report is printed in the terminal — before the commit goes through.
Requirements
VS Code 1.84.0 or higher
Node.js 18+
Git repository with Husky installed
Access to a running PR Reviewer backend
A GitLab Personal Access Token registered in the backend
Your GitLab Project ID registered in the backend
Getting Started
1. Install the extension
Install from a .vsix file:
Ctrl+Shift+P → Extensions: Install from VSIX → select the file
2. Run Setup
On first launch, you'll be prompted automatically. Or run it manually:
Ctrl+Shift+P → PR Reviewer: Setup
The setup wizard will ask for:
Field
Description
Backend URL
Full URL to the /local-review endpoint e.g. http://your-server/local-review
GitLab Personal Access Token
Your glpat-... token, must be registered in the backend
GitLab Project ID
Numeric project ID from GitLab, must be registered in the backend
Max Lines Per File
How many lines of each file diff to send for review (10–1000, default 100)
The wizard will:
Save a .pr-reviewer config file to your project root (auto-added to .gitignore)
Automatically install the pre-commit hook into .husky/
If Husky is not yet installed in your project, the extension will offer to install it for you.
3. Commit as normal
git add .
git commit -m "your message"