一键导入
review-mr-local
Run the repository MR review CI job locally from the current branch using the same root-level snapshots and review.json contract as CI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the repository MR review CI job locally from the current branch using the same root-level snapshots and review.json contract as CI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bootstrap the issue triage configuration for a repository by analyzing existing issues, labels, and contributors to generate `.gitlab/issue-triage/config.json` and `.gitlab/CODEOWNERS`. Use when setting up triage automation on a new or existing repository for the first time.
Compare a merge request's implementation against spec context in spec_context.md and feed any material mismatches into review.json. Use during MR review when approved or repository spec context is available.
Create or update a GitLab merge request from a pushed branch after local review, base-branch sync, validation, and issue linking.
Create a product spec from a GitLab issue in this repository by applying the local shared `write-product-spec` workflow with issue context and output paths. Use when an issue should be turned into a product spec artifact stored under `specs/issue-<issue-number>/product.md` and the agent should prepare file changes only, without creating commits or merge requests itself.
Create a technical spec from a GitLab issue in this repository by applying the local shared `write-tech-spec` workflow with issue context and output paths. Use when an issue should be turned into a tech spec artifact stored under `specs/issue-<issue-number>/tech.md` and the agent should prepare file changes only, without creating commits or merge requests itself.
Repo-specific dedupe guidance . Only the categories declared overridable by the core dedupe-issue skill may be specialized here.
| name | review-mr-local |
| description | Run the repository MR review CI job locally from the current branch using the same root-level snapshots and review.json contract as CI. |
Use this skill after local implementation work and before pushing or creating a
MR. It prepares the same review inputs used by the GitLab review CI job, then
delegates review logic to review-mr.
mr_description.txt, then
falls back to locally built MR metadata when the GitLab MR cannot be fetched.
The mr_diff.txt snapshot is built from the local worktree diff, and the
command prints the selected review skill as skill=<path>:
python3 .gitlab/scripts/prepare_local_review_inputs.py
mr_description.txtmr_diff.txtspec_context.md when presentreview.json in the repository root.python3 .gitlab/scripts/validate_review_json.py mr_diff.txt review.json
python3 .gitlab/scripts/validate_local_review_result.py \
--baseline-status .local_review_baseline.status
git add, git commit, git push,
glab, or GitLab API commands.review.json; do not fix
code during this skill.