PR Review CI Setup (MCode Review)
Connects MCode Review's automated PR-review pipeline to GitHub Actions or GitLab CI and keeps the pin, rules, and security settings current.
Dev & CodingAdvanced★ 744⑂ 50AI score 8/10Last updated: Nov 11, 2026
What it does
- Walks through onboarding MCode Review into a repository as a GitHub Actions workflow or a GitLab CI child pipeline (prepare / review / quiz / publish / grade jobs).
- Keeps the pinned plugin commit (
MCODE_REVIEW_PLUGIN_REF) and the copied template from the same commit, and handles upgrades and rollbacks step by step. - Configures the repository rule pack (
.mcode-review.json,.mcode-review.md), output language (en/zh), model chains, shadow vs. enforce phase, the optional author quiz, and Feishu cards. - Explains the permission model (model-calling jobs never get a write token) and gives a cause-and-fix table for failed review runs.
Who it's for
- Platform/DevOps engineers rolling out MCode Review across internal repositories.
- Team leads standardizing automated PR review across both GitHub and GitLab.
- Repo maintainers who need to bump versions or tune review rules on an existing pipeline.
Examples
- "Add MCode Review to this GitHub repo" → download the workflow, set the 40-character commit pin, list the required secrets and variables, then verify with a first non-draft PR.
- "Upgrade the review plugin to the latest commit" → pick the commit, re-copy the template, review the diff, check the upgrade PR's own run, revert to roll back.
- "prepare stopped with a template-version error" → diagnose that the pin and template copy came from different commits and re-copy the template from the named commit.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/MiniMax-AI/mcode-stack/HEAD/stacks/jiachen/skills/pr-review-ci/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the stacks/jiachen/skills/pr-review-ci folder from the GitHub repo MiniMax-AI/mcode-stack into my ~/.claude/skills/pr-review-ci/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone --depth 1 https://github.com/MiniMax-AI/mcode-stack.git /tmp/mcode-stack && mkdir -p ~/.claude/skills && cp -r /tmp/mcode-stack/stacks/jiachen/skills/pr-review-ci ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone --depth 1 https://github.com/MiniMax-AI/mcode-stack.git /tmp/mcode-stack - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/mcode-stack/stacks/jiachen/skills/pr-review-ci ~/.claude/skills/ - Restart Claude Code and ask something like "set up MCode Review CI on this repository" to trigger the skill.
- Before applying it for real, have repo admin access, a model API key, and (on GitLab) a project access token ready. Never echo secrets on the command line — use prompting commands such as
gh secret set.
View source on GitHub ↗License: MIT