community-automations/gitlab-mr-reviewer

DevOps & Code

PublicClaude subagent

GitLab MR Reviewer

Smaller teams merge without a second reviewer because there is no one free, and bugs ride along. This reviewer reads every merge request automatically.

sonnet4 daysGitLabOpenAIGitLab CISonarQube
ClaudeClaude
ROI for
README.md

Why this subagent

Smaller teams merge without a second reviewer because there is no one free, and bugs ride along. This reviewer reads every merge request automatically.

On each MR event it pulls the diff and pipeline status, checks for bugs, security gaps, and risky patterns against your conventions, and posts inline notes where they belong. It sets a review status so an MR that needs a human gets flagged before merge, and the clean ones move through without friction.

How it runs

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Sample output

json
// Sample output
// (generated when the pipeline finishes)

Given a GitLab merge request diff and pipeline status, return a JSON review with inline notes, a summary, and an overall status of approve or needs-attention.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.