gerrit-review

Manage Gerrit Code Review changes via its REST API.

4|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/yurnov/gerrit-in-5-min --skill gerrit-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gerrit-review
Source: https://github.com/yurnov/gerrit-in-5-min/tree/main/skills/gerrit-review
Command: npx skills add https://github.com/yurnov/gerrit-in-5-min --skill gerrit-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, base64, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines interactions with Gerrit Code Review, allowing you to manage the entire code review lifecycle directly from your AI agent without context switching.

Core Features & Use Cases

  • Query & Inspect Changes: Search for changes, view details, list modified files, and read diffs.
  • Post Reviews & Comments: Add inline comments, set labels (e.g., Code-Review, Verified), and publish reviews.
  • Manage Lifecycle: Submit, abandon, restore, add reviewers, and set topics for changes.
  • Use Case: An AI agent can automatically query for open code reviews assigned to you, fetch the diffs for a specific file, and allow you to post a +1 review with inline comments directly within your editor.

Quick Start

Use the gerrit-review skill to query for open changes assigned to you.

Frequently Asked Questions about gerrit-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Gerrit code reviews from an AI agent?

You can automate Gerrit code reviews by using an AI agent to interact with the Gerrit REST API, enabling it to query changes, fetch diffs, post inline comments, and submit reviews directly without context switching.

Can I post inline comments and set labels on a Gerrit change?

Yes, you can post reviews with inline comments and set labels such as Code-Review or Verified on a Gerrit change through the REST API, allowing comprehensive review management directly from your environment.

What utilities do I need to interact with the Gerrit REST API for code review?

Interacting with the Gerrit REST API requires curl, jq, and base64 utilities installed in your environment, with python3 being optional for handling advanced URL encoding tasks.

How do I query open Gerrit changes assigned to me and view file diffs?

You can query open changes assigned to you by leveraging the Gerrit REST API to list modified files, read diffs, and fetch file content, streamlining the inspection process for code reviews.

Can I manage the full lifecycle of a Gerrit change including submission and abandonment?

Yes, managing the full lifecycle of a Gerrit change is supported, allowing you to submit, abandon, restore changes, add reviewers, and set topics directly through the REST API.