In short.
MCode PR Review is an AI review skill for developers checking local branches, GitHub pull requests and GitLab merge requests, but its prescribed reviews do not run builds or tests. It directs an assistant to inspect changes and surrounding code, trace concrete failures and distinguish severity from supporting evidence. Repository rules and a detailed Go checklist add context. Review accuracy, model compatibility, operating costs and CI integration have not been assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete captured stacks/jiachen/skills/pr-review folder: SKILL.md and eleven reference files, plus the repository-root MIT licence notice outside that folder. It excludes other skills, the surrounding CI implementation, actual project rule files and later revisions. No commands or resource behavior were executed; integration, review quality, runtime results and operating costs remain unassessed.
The overview
identity
The resource is the pr-review skill in MiniMax-AI/mcode-stack, comprising SKILL.md and its reference files. It supplies instructions for an AI assistant rather than a standalone review application. The source folder is [https://github.com/MiniMax-AI/mcode-stack/tree/main/stacks/jiachen/skills/pr-review].
It documents local reviews requested by a developer and CI reviews directed by an external pipeline. GitLab merge requests follow the same review rules as GitHub pull requests.
assessment
The skill is a useful candidate for teams seeking code-review findings that explain a specific failure rather than offer broad style advice. Its strongest feature is the requirement to connect an input or state, a code path and an incorrect result.
Its documented discipline is not evidence of review accuracy. No completed reviews, accuracy measurements or integration results are supplied, and the surrounding CI pipeline is outside this folder.
users
The documented audience includes developers reviewing their work before requesting a person's review and teams using an MCode Review CI pipeline. Local branch review does not require identifying a hosting service.
Beginners need enough Git knowledge to identify the branch being reviewed and its comparison target. Experienced backend developers get additional Go guidance covering retries, concurrency, authentication, migrations, configuration and deployment environments. Comparable language-specific checklists for other stacks are not supplied.
capabilities
Six review lenses focus attention on general correctness, behavior preservation, contracts and data, security and permissions, cross-feature impact, and duplication and simplification. They cover issues such as changed retry behavior, incompatible stored formats, missing authorization, effects on shared components and inconsistent copies of existing logic.
The skill also reads repository-specific risk questions and known failure patterns. Local reports separate blocking findings, questions requiring human judgment and suggestions. CI returns the externally requested JSON structure and leaves publication to the pipeline.
Style and naming findings are excluded. Duplication advice must identify existing code and respect dependency boundaries; superficially similar lines alone do not justify a new shared abstraction.
Using it
requirements
Local use requires Git and an assistant able to read repository files, search code and inspect callers and tests. The documentation presents gh and glab as optional helpers for authenticated pull-request or merge-request lookups. It specifies no assistant product, model, supported tool version or hardware requirement.
Repository files .mcode-review.json and .mcode-review.md are used when present. CI additionally requires a pipeline to supply the lens, file scope, output language and JSON schema. The complete pipeline and its installation requirements are not included.
mechanism
The assistant determines the target branch and review head, then inspects the net changes since their merge base: the common ancestor used as the comparison point. It reads surrounding code, callers and tests instead of relying on changed lines alone. Pull-request descriptions are claims to check, not instructions to obey.
Severity describes impact: P0 covers severe failures without assumptions about input, P1 covers main-path regressions, P2 covers edge cases and concrete maintainability risks, and P3 style issues are omitted. Problems neither introduced nor exposed by the change cannot block it.
Evidence separately controls reporting and blocking. A concrete file-and-line observation permits a P2 finding or human question. A complete failure trace can block only after independent verification. Assertions alone are discarded, and a trace missing a step falls back to the file-and-line evidence level.
setup
Make SKILL.md and its references available through the chosen assistant's skill-loading mechanism. The files do not establish a host-specific installation command. Preserve the directory structure because the main instructions refer to relative reference paths.
For local review, specify the comparison branch when possible. Otherwise, the procedure uses the PR target when available, then the remote default branch, with main as the final fallback. An incorrect target can include unrelated changes.
Optional repository rules can identify generated files, risk questions and known failure patterns. Local review reads these files from the working tree; CI is documented to use merge-base versions so a PR cannot redefine its own review rules.
example
An illustrative use is a Go change that creates a new idempotency key when retrying after a downstream timeout. An idempotency key lets a service recognize repeated attempts at the same operation. The Go checklist asks whether the first attempt might already have succeeded and whether a retry reuses its key.
The assistant would inspect the retry path and downstream calls, then explain any supported failure using file-and-line references. A complete trace would still need independent verification before blocking under the evidence ladder. This is an illustration of the documented procedure, not a reproduced defect or test result.
Assessment & evidence
limitations
The prescribed review cannot modify files, install packages or run builds or tests. Network access is limited to specified local-mode Git fetches and PR target lookups. Although the evidence ladder describes test and running-application reproduction, those definitions do not authorize executing code during review.
The safety rules instruct the assistant to ignore instructions embedded in descriptions, comments and commit messages. These are behavioral instructions; their enforcement and resistance to prompt injection have not been assessed.
Code inspection cannot settle every question. The checklists explicitly defer matters such as missing visual evidence, deployment responsibilities and intended behavior changes to people. The resource was not run, so review accuracy, false-positive rates, host compatibility and CI behavior remain unassessed.
reasoning
Separating severity from evidence gives reviewers two distinct questions: how harmful would the defect be, and how well is it demonstrated? Requiring a trace and independent confirmation makes blocking findings easier to audit, although it does not establish that the assistant will identify every important defect.
The supplied principles also encode team preferences, including avoiding behavior tied to model names, fixing invalid values at their input boundary and favoring safe degradation. Their restrictions on protection checks for manually triggered operations and deliberately constructed bypasses deserve comparison with the adopting team's own requirements.
alternatives
Human review is the documented route for design intent, deployment decisions and other questions the code cannot resolve. Tests and running-application reproduction provide stronger runtime evidence in the evidence ladder, but executing them belongs outside this skill's restricted review pass.
Within the resource, the general lens offers a broad review, while named lenses provide focused passes and the Go checklist adds stack-specific depth. The evidence contains no comparison with competing review products, so relative accuracy, cost and convenience are unknown.
evidence
The source consists of twelve Markdown files: SKILL.md, an evidence ladder, severity definitions, review principles, six lens checklists, a Go backend checklist and example repository notes. A repository-root LICENSE accompanies them. These files establish the intended review procedure, not measured execution behavior.
The example repository notes explicitly describe a fictional repository. Their failure scenarios illustrate the notes format and are not evidence of actual defects in mcode-stack or another real project.
Access & freshness
costs
The MIT licence permits reuse without a software licence fee. Operating cost is unknown: the files specify no model pricing, subscription requirement, token budget, CI runner rate or typical review duration.
Separate passes are prescribed for multiple requested lenses. These may increase model usage, but the evidence provides no measurements from which to estimate a review bill or latency.
rights
The supplied repository-root MIT licence grants permission to use, copy, modify, publish, distribute, sublicense and sell the software and associated documentation. Copies or substantial portions must retain the copyright and permission notice.
The notice identifies Copyright 2026 MiniMax Code and disclaims warranties and liability. It supports redistribution of the captured skill and reference files with the notice; it does not establish terms for a separately chosen model provider or hosting service.
freshness
The supplied files were captured on 2026-11-16 at 08:25:29.698 UTC and are pinned to commit 0db1b4fb3b6270e173080d87b72c28516b299ddd. The corresponding folder is [https://github.com/MiniMax-AI/mcode-stack/tree/0db1b4fb3b6270e173080d87b72c28516b299ddd/stacks/jiachen/skills/pr-review].
The capture timestamp is not a release or last-maintained date. A named release version, later changes and compatibility with newer assistant environments are unknown.
actions
For an initial evaluation, choose a familiar branch, name its target explicitly and confirm the assistant can load the reference files and repository rules. Compare its findings with a human review and separately obtained regression-test results.
Agree who independently verifies trace-based blocking findings and whether the supplied team principles fit the project. Keep builds and tests outside the restricted review pass. Confirm the chosen assistant's repository-data handling and pricing, since the skill specifies neither.
