gerrit-review
Installation
SKILL.md
Gerrit Code Review Skill
This skill enables you to interact with a Gerrit Code Review instance through its REST API. Use it to query open changes, read diffs, post code reviews, and manage change lifecycle (submit, abandon, restore).
Prerequisites
Environment Variables
You must have the following environment variables set:
| Variable | Description | Example |
|---|---|---|
GERRIT_URL |
Base URL of the Gerrit instance (no trailing slash) | https://gerrit.example.com |
GERRIT_USERNAME |
HTTP username from Gerrit → Settings → Profile | john.doe |
GERRIT_HTTP_PASSWORD |
HTTP credential token from Gerrit → Settings → HTTP Credentials → Generate Password | a1b2c3d4e5... |
[!IMPORTANT] The HTTP password is NOT the user's login password. It is a separate token generated in the Gerrit web UI under Settings → HTTP Credentials → Generate Password.