Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

gitlab-mr-reviewGitLab MR 审查

Agent Skill

用于围绕 GitLab 项目、Merge Request、Issue、分支、流水线和代码审查流程提供辅助能力。它适合让 Agent 查询项目状态、整理提交差异、辅助检查合并请求或汇总 CI 结果。使用时需要确认项目权限、访问 token 和目标分支范围;涉及合并、推送、改工单或触发流水线时,应先预览影响并核对团队流程。

总安装

519

周安装

21

GitHub Stars

1

下载量

163
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gitlab-mr-review(GitLab MR 审查)
来源仓库:https://github.com/bowentan/super-agent
仓库路径:skills/gitlab-mr-review
安装命令:
npx skills add https://github.com/bowentan/super-agent --skill gitlab-mr-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bowentan/super-agent --skill gitlab-mr-review

简介

GitLab MR Review 提供对 GitLab 合并请求的代码审查能力,支持差异分析和 CI 结果汇总。

  • 适用于需要自动化检查代码变更、跟踪项目状态或辅助团队协作的场景。
  • 通过 glab CLI 或 MCP 获取 MR 数据,优先使用结构化接口获取信息。
  • 使用前需配置 GitLab token 并确认项目访问权限,避免越权操作。
  • 涉及合并或流水线触发时,应先预览影响并与团队流程核对。

SKILL.md

GitLab Merge Request Review

Perform a code review on a GitLab merge request. Prefer glab MCP for fetching MR data; use glab CLI when MCP is unavailable.


Repo and MR Resolution

Default repo

  • Default: The GitLab project is assumed to be the same as the current project name (e.g. workspace or repo directory name).
  • If the current directory is a Git repo with a GitLab remote, use that to infer namespace/project when possible.

When repo is missing or wrong

If any of these are true:

  • Not in a Git repo, or
  • No GitLab remote, or
  • The MR to review is in a different project,

then ask the user for:

  • Repo: GitLab project path (namespace/project or full path), or the repo URL.
  • MR: Merge request IID (e.g. 42) or branch name, if not the current branch.

Do not guess the repo; ask once you know the default does not apply or cannot be determined.


Workflow

  1. Resolve repo

- Use default (project name / current GitLab remote). - If not available or not the target repo, ask user for repo (and MR if needed).

  1. Resolve MR

- Prefer the merge request for the current branch. - If user specified an MR IID or branch, use that. - If none can be determined, ask for MR IID or branch.

  1. Fetch MR data

- MCP: Use glab MCP tools to get MR details and diff (e.g. view MR, get diff). - CLI: glab mr view [MR_IID] and glab mr diff [MR_IID] (omit MR_IID when one MR is in context for current branch). - Ensure you have the full diff and title/description before reviewing.

  1. Perform the review

- Analyze the diff for: - Correctness and logic - Security and data handling - Style, naming, and structure - Tests and edge cases - Docs and comments where relevant - Produce a concise review: summary, list of findings (with file/line or hunk context), and suggestions.

  1. Optional: post as MR comment

- Only after user confirmation. Do not post to GitLab until the user explicitly agrees. - MCP: Use the tool to add a comment (e.g. MR note) with the review text. - CLI: glab mr note [MR_IID] --message "..." with the review body (escape or quote appropriately).


Getting MR data

  • MCP: Use available glab MCP tools to:

- List or get the current/specified MR - Retrieve the MR diff

  • CLI (from repo with glab auth):

- glab mr view - view MR for current branch (or glab mr view <IID>) - glab mr diff - diff for current branch MR (or glab mr diff <IID>) - If repo is different: glab mr view -R namespace/project <IID> and glab mr diff -R namespace/project <IID>


Review output format

  1. Summary: 2-4 sentences on what the MR does and overall assessment.
  2. Findings: Group by severity or category (e.g. "Blocking", "Suggestions", "Nits").

- For each item: file (and line/hunk if possible), issue, and suggested change or question.

  1. Conclusion: Approve / approve with comments / request changes (or equivalent), and any follow-up steps.

Keep the review actionable: clear, specific, and tied to the diff.


Checklist

  • Repo resolved (default = project name; else asked user for repo)
  • MR resolved (current branch or user-specified IID/branch)
  • MR details and full diff fetched (MCP or CLI)
  • Review written with summary, findings with context, and conclusion
  • If posting comment: user confirmed; then used MCP or glab mr note

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.03%
按下载量换算55

Claude

28.77%
按下载量换算47

Cursor

19.12%
按下载量换算31

Gemini CLI

8.43%
按下载量换算14

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills