gerrit-workflow SKILL.md skillA

gerrit-workflow from gerritcodereview/gerrit-mcp-server is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gerritcodereview/gerrit-mcp-server/gerrit-workflow@git:20260810.c35875b

Pins git:20260810.c35875b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
gerritcodereview/gerrit-mcp-server
Path
skills/gerrit-workflow/SKILL.md
Versions recorded
1
Latest version
git:20260810.c35875b, committed Aug 10, 2026
Size
7,691 bytes
Repository stars
22
License
Apache-2.0

This skill should be used when the user asks to "submit a change to Gerrit", "push for review", "upload a patch", "update a change in Gerrit", "add a patch set", "work with Gerrit", "push to refs/for", "fix a missing Change-Id", "amend a Gerrit change", or any task involving git operations in a repository hosted on Gerrit Code Review. Also use when the user encounters Gerrit push errors such as "missing Change-Id in commit message footer" or "prohibited by Gerrit".

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Gerrit Workflow

Gerrit is a code review system that sits in front of a git repository. The key
difference from GitHub/GitLab: **changes go through a review queue before
landing in the branch**. This changes several git workflows in important ways.

## Core Concepts

### Changes and Patch Sets

A **Change** is the unit of review in Gerrit — it corresponds to one logical
commit. Each change has:

- A numeric **Change number** (e.g., `12345`)
- A **Change-Id** trailer in the commit message (e.g.,
  `Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5b`)

When a commit is revised and re-uploaded, the new version becomes a new **patch
set** on the same change. Gerrit associates them via the `Change-Id` trailer —
this is what makes the `Change-Id` essential.

### The Magic `refs/for/<branch>` Ref

Gerrit intercepts pushes to `refs/for/<branch>`. These pushes never actually
create that ref; instead Gerrit creates or updates a Change for review. To land
code in `master`:

```
# NOT this (bypasses review):
git push origin HEAD:refs/heads/master

# This — submits for review:
git push origin HEAD:refs/for/master
```

### The commit-msg Hook
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gerritcodereview/gerrit-mcp-server/gerrit-workflow@sha256:a1775e3b848ec8cc

The line at the top of this page pins the label git:20260810.c35875b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_swi7fxczjjk4xu5a.svg)](https://markdownregistry.com/a/art_swi7fxczjjk4xu5a)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 10, 2026.

versioncommittedcommitsizeaudit
git:20260810.c35875b latest2026-08-10 c35875b 7,691 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7691 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

gerritcodereview/gerrit-mcp-server · 22 stars · license Apache-2.0 · pushed 2026-11-07 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_swi7fxczjjk4xu5a
GET https://markdownregistry.com/api/v1/resolve?ref=gerritcodereview/gerrit-mcp-server/gerrit-workflow
GET https://markdownregistry.com/api/v1/blob/a1775e3b848ec8ccbc2f522be44953ce99d9468e3a69aa2aa4fd973f00dddede

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from gerritcodereview/gerrit-mcp-server

writing-extensions SKILL.md skill
gerritcodereview/gerrit-mcp-server · .claude/skills/writing-extensions/SKILL.md · Guide for authoring a new in-process MCP tool extension for gerrit-mcp-server. Use when a user wants to add new Gerrit…
git:20260811.def7665 · audit A · 22 stars
AGENTS.md AGENTS.md file
gerritcodereview/gerrit-mcp-server · AGENTS.md
git:20261030.df75118 · audit A · 22 stars
find-dependencies SKILL.md skill
gerritcodereview/gerrit-mcp-server · skills/find-dependencies/SKILL.md · Find all dependencies of a Gerrit change or set of changes — both explicit Depends-on annotations (parsed by the…
git:20260811.0f96c19 · audit A · 22 stars
gerrit-task-query SKILL.md skill
gerritcodereview/gerrit-mcp-server · skills/gerrit-task-query/SKILL.md · Use when asked to check, list, or act on tasks for a Gerrit change. Triggers on phrases like "what tasks are blocking"…
git:20260811.0f96c19 · audit A · 22 stars
setup SKILL.md skill
gerritcodereview/gerrit-mcp-server · skills/setup/SKILL.md · Interactive setup for gerrit_mcp_server configuration. Creates or updates gerrit_config.json with Gerrit host URLs and…
git:20261030.df75118 · audit A · 22 stars

Every file in gerritcodereview/gerrit-mcp-server

Browse by kind, by grade A, or by owner.