gitlab-mr-review
Originally frombowentan/super-agent
Installation
SKILL.md
⚠ Do NOT call the MR Approve endpoint (
/merge_requests/:iid/approve) under any circumstance.
gitlab-mr-review
Language conventions
- All dialog with the user is in Chinese (Simplified). Every message this skill prints — progress updates, prompts, summaries, previews, error reports, confirmation questions — must be in Chinese. Treat the English text in this document as implementation spec, not as copy to reproduce verbatim.
- All review comments posted to GitLab are in Chinese (Simplified). This applies to both the NEW discussion
bodyand the REPLYbody. - Field names, API paths, code identifiers, and command syntax stay in their original form (English / ASCII).
Step 0 — Mandatory prerequisite: PreToolUse hook
Claude Code prompts for approval on any command that expands $GITLAB_TOKEN / $env:GITLAB_TOKEN. Without the hook, a single MR review can trigger dozens of approval prompts. This skill treats the hook as a hard prerequisite — if it is not in place, abort immediately and do not proceed to any later step.
Required hook version for this skill: REQUIRED_HOOK_VERSION = 1.3.0 (bumped whenever the template changes).