Approved catalog listing
SKILL #3011
skillshunter.net
Home / Software & Development / Review Batch for GitLab MRs
Listing Approved Approved on: November 28, 2026

Review Batch for GitLab MRs

Automatically process and review all GitLab merge requests in the 'Review requested' list, identifying which can be approved and which require further action.

Rate this skill

No ratings yet

Editor's Note

Before running, ensure the project has an entry in `CLONES` in `review-batch.py`. The `--resolve` flag must be explicitly passed to resolve threads with `verified` fixes.

When to Use It

  • Batch review all GitLab merge requests in the 'Review requested' list
  • Identify which merge requests can be approved
  • Follow up on re-reviews and unresolved threads
  • Generate delta reviews for specific merge requests

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md

Review batch

This skill replaces the manual loop of switching to the MR worktree, pulling, starting Claude, and running /review-followup <mr-url> for each re-review. Run it from any directory. It uses no worktree: review-followup.py fetches the MR refs into the project's clone, and the agents read files at the MR head with git show <sha>:<path> and git grep -n <pattern> <sha>.

--resolve resolves each thread whose fix is verified. Typing it is the same-turn request that review-followup rule 5 and my GitLab write rule ask for. Without it the run reads only. The skill never approves an MR on GitLab.

Steps

1. Intake
~/.claude/skills/review-batch/review-batch.py --out <scratchpad>/review-batch

The script sorts each MR in the review-requested list by status:

Status Meaning Action
approve I started threads, all are settled, nothing changed since. Report Approve <url>.
followup route is replies-only, verify-fixes, or rereview. Step 2.
waiting Nothing changed, and unsettled threads are still open. List under Waiting on author.
first-review I have no notes on the MR. List under First review, with /mr-review <url>.
draft, no-clone, error Not run. List with the reason (error carries its message).

no-clone means the project has no entry in CLONES in review-batch.py.

2. Follow-up agents

For every followup MR, make one Agent call with model: "sonnet", all in one message. The prompt is, filled from the row:

Invoke the review-followup skill for GitLab MR !<iid> of <project> in batch
mode and follow it.

Clone: <clone>. Prefix every Bash command with `cd <clone> &&`, because the
working directory does not persist.
Facts file: <facts>
Resolve: <yes if the person passed --resolve, else no>
Scratchpad: <scratchpad>

Each agent ends its reply with OUTCOME: and, for a re-review, DISPATCH: (see review-followup, Batch mode).

3. Delta reviews

As each agent returns a DISPATCH: <prompt path> <skill> line, make one Agent call with model: "opus" and the prompt:

Read <prompt path> and follow it exactly. Reply with the review in the
format it names. Write nothing to GitLab.

Do not wait for the other follow-up agents before dispatching.

4. Report

Put the lines the person acts on first, then the rest. Write Approve <url> for:

  • an approve row from the intake,
  • an OUTCOME: approve agent. With Resolve: no, append (<n> verified threads not resolved), or
  • a rereview MR whose intake unsettled is 0 and whose delta review returned no findings at or above the skill's blocker bar.

Then these sections, each omitted when empty, one line per MR with its URL:

  • Needs you: each OUTCOME: needs-you MR, and each rereview MR with a finding or an unsettled thread. Under it, paste the agent's Needs your decision list and the delta review's findings unchanged.
  • Waiting on author: waiting rows and OUTCOME: waiting agents.
  • Review by hand: a rereview MR with no DISPATCH line, with the reason the agent gave.
  • First review, Not run: as the intake table says.
View original Markdown
---
name: review-batch
description: Run the review-followup pass over every MR in my GitLab "Review requested" list, one subagent per MR, and report which to approve. Use for "go through my review requests", "follow up on all my re-reviews", "which MRs can I approve", "batch review-followup".
---

# Review batch

This skill replaces the manual loop of switching to the MR worktree, pulling,
starting Claude, and running `/review-followup <mr-url>` for each re-review.
Run it from any directory. It uses no worktree: `review-followup.py` fetches
the MR refs into the project's clone, and the agents read files at the MR
head with `git show <sha>:<path>` and `git grep -n <pattern> <sha>`.

`--resolve` resolves each thread whose fix is `verified`. Typing it is the
same-turn request that `review-followup` rule 5 and my GitLab write rule ask
for. Without it the run reads only. The skill never approves an MR on GitLab.

## Steps

### 1. Intake

```bash
~/.claude/skills/review-batch/review-batch.py --out <scratchpad>/review-batch
```

The script sorts each MR in the review-requested list by `status`:

| Status | Meaning | Action |
|---|---|---|
| `approve` | I started threads, all are settled, nothing changed since. | Report `Approve <url>`. |
| `followup` | `route` is `replies-only`, `verify-fixes`, or `rereview`. | Step 2. |
| `waiting` | Nothing changed, and `unsettled` threads are still open. | List under **Waiting on author**. |
| `first-review` | I have no notes on the MR. | List under **First review**, with `/mr-review <url>`. |
| `draft`, `no-clone`, `error` | Not run. | List with the reason (`error` carries its message). |

`no-clone` means the project has no entry in `CLONES` in `review-batch.py`.

### 2. Follow-up agents

For every `followup` MR, make one `Agent` call with `model: "sonnet"`, all in
one message. The prompt is, filled from the row:

```plaintext
Invoke the review-followup skill for GitLab MR !<iid> of <project> in batch
mode and follow it.

Clone: <clone>. Prefix every Bash command with `cd <clone> &&`, because the
working directory does not persist.
Facts file: <facts>
Resolve: <yes if the person passed --resolve, else no>
Scratchpad: <scratchpad>
```

Each agent ends its reply with `OUTCOME:` and, for a re-review, `DISPATCH:`
(see review-followup, Batch mode).

### 3. Delta reviews

As each agent returns a `DISPATCH: <prompt path> <skill>` line, make one
`Agent` call with `model: "opus"` and the prompt:

```plaintext
Read <prompt path> and follow it exactly. Reply with the review in the
format it names. Write nothing to GitLab.
```

Do not wait for the other follow-up agents before dispatching.

### 4. Report

Put the lines the person acts on first, then the rest. Write `Approve <url>`
for:

- an `approve` row from the intake,
- an `OUTCOME: approve` agent. With `Resolve: no`, append
  `(<n> verified threads not resolved)`, or
- a `rereview` MR whose intake `unsettled` is 0 and whose delta review
  returned no findings at or above the skill's blocker bar.

Then these sections, each omitted when empty, one line per MR with its URL:

- **Needs you:** each `OUTCOME: needs-you` MR, and each `rereview` MR with a
  finding or an unsettled thread. Under it, paste the agent's **Needs your
  decision** list and the delta review's findings unchanged.
- **Waiting on author:** `waiting` rows and `OUTCOME: waiting` agents.
- **Review by hand:** a `rereview` MR with no `DISPATCH` line, with the
  reason the agent gave.
- **First review**, **Not run**: as the intake table says.

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.