From gitlab-skills
Use this skill when the user wants to do a code review of a GitLab merge request. Triggers on phrases like "review MR", "code review", "check merge request", "review changes", "look at this MR", "give feedback on MR".
npx claudepluginhub yjhjstz/cc-skills --plugin gitlab-skillsThis skill is limited to using the following tools:
Do a thorough code review of a GitLab merge request covering correctness, security, performance, and test coverage.
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
Do a thorough code review of a GitLab merge request covering correctness, security, performance, and test coverage.
Extract the MR IID from the user's message (e.g. "review MR 42" or "!42" → IID 42). If not provided, ask the user for the MR IID before proceeding.
Use glab CLI and jq. Must run from a git directory with GitLab remote.
Get MR details:
glab mr view <IID> -F json
Understand: title, description, source/target branch, labels, related issues.
Get the diff:
glab mr diff <IID> --color=never
If the diff is very large, use glab api "projects/:fullpath/merge_requests/<IID>/changes" to get structured per-file changes and review the most critical files first.
Review the changes thoroughly. For each changed file, evaluate:
Check CI status (if relevant):
glab ci list -P 5 -r <source-branch>
Note any failed pipelines — use /gitlab-ci-log if needed.
Present the review in a structured format:
Post the review (only if the user confirms):
glab mr approve <IID>glab mr note <IID> -m "<review summary>"IMPORTANT: