gerrit

Configure Gerrit remotes and submit code reviews via JSON payloads.

322|45|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Microck/ordinary-claude-skills --skill gerrit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gerrit
Source: https://github.com/Microck/ordinary-claude-skills/tree/main/skills_all/gerrit
Command: npx skills add https://github.com/Microck/ordinary-claude-skills --skill gerrit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides structured guidance for interacting with a Gerrit code review service, including remote setup, reviews, and patch submissions.

Core Features & Use Cases

  • Gerrit remote configuration
  • Post-review comments via JSON payloads
  • Safe workflow for code collaboration on Storj repos

Quick Start

Configure a Gerrit remote and submit a review using a JSON payload to the changes endpoint.

Frequently Asked Questions about gerrit

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

FAQPage Schema
How do I set up code reviews with Gerrit?

Code reviews with Gerrit require configuring an SSH remote to your Gerrit service, installing the commit-msg hook from Gerrit Code Review, and posting review payloads to the changes endpoint. The Skill provides scripts and JSON payload templates to automate this workflow for authenticated users with write access.

What SSH setup do I need for Gerrit?

Gerrit requires SSH remotes configured to connect to your Gerrit service and the commit-msg hook installed locally. The hook appends a Change-Id to commit messages, enabling Gerrit to track patch sets. SSH authentication must be validated before submitting reviews.

Can I post review comments programmatically to Gerrit?

Yes. Gerrit accepts review payloads as JSON posted to the changes endpoint. Authenticated users with write access can submit scores, comments, and votes by constructing and sending JSON objects to Gerrit's REST API without using the web interface.

What prerequisites do I need before submitting Gerrit reviews?

You need write access to the Gerrit service, SSH remotes configured, the commit-msg hook containing the From Gerrit Code Review marker installed and validated, and the ability to authenticate over SSH. The Skill guides validation and hook installation steps.

How do I validate the Gerrit commit-msg hook is working?

After installing the commit-msg hook from Gerrit Code Review, validate it by making a test commit and verifying the Change-Id appears in the commit message. The hook must be executable and contain the From Gerrit Code Review marker to function correctly.

Does Gerrit work with git workflows?

Yes. Gerrit integrates directly with git over SSH remotes and requires standard git commits. The commit-msg hook modifies commits locally before push, so existing git workflows remain unchanged except for the addition of Change-Id tracking and code review submission steps.