Credentials. Discussions post under the glab account you are logged in with, so confirm that account before running.
Who it is forA developer or maintainer on a GitLab project, including self-hosted GitLab, who wants a debate-style review on a merge request.
The problemMerge requests need a careful review, and a single model review can overlook issues or raise weak ones.
The outcomeInline discussions on the merge request with P0, P1 and P2 levels and a summary, posted from your glab account.
What you need first
- Node 18 or newer
- gh (GitHub), glab (GitLab) or az (Azure DevOps) installed and logged in to an account that can comment on the PR
- delegate-skills installed, with two delegate lanes named review-main and review-debate created once with $delegate-setup
- Git 2.31 or newer, only for Azure DevOps
Steps
- Run
npx skills add amElnagdy/review-skillsand install glab, then log in with glab for your GitLab host. - Run
Use $delegate-setup to add two lanes: review-main on claude at high effort and review-debate on codex at high effort.if the lanes do not exist yet. - Run
node <skill-dir>/scripts/review-pr.mjs --checkto confirm both reviewers start. (inferred, check the README) - Run
Use $debate-review on <merge request URL>using the URL form https://<gitlab-host>/<group>/<project>/-/merge_requests/<number>. (inferred, check the README) - Read the discussions on the merge request and check the summary table.
Prompt for your agent
In the amElnagdy/review-skills repo, run the debate-review skill on the GitLab merge request <merge request URL>. Report the P0, P1 and P2 counts and the first three discussion titles. Verify that the glab account posted one review for the current head sha.
Caveat. GitLab alert colours need GitLab 17.10 or newer, and GitLab reply and resolve through babysit-pr is implemented but not yet verified on a live instance.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for amElnagdy/review-skills and "Run a two-model review on a GitLab merge request"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer