By zhiyue
GitLab MR code review skill - auto checkout, deep review, and post inline comments via GitLab MCP
A collection of Claude Code skills for development workflows.
| Skill | Description |
|---|---|
| gitlab-mr-review | GitLab MR code review - auto checkout, deep review, and post inline comments via GitLab MCP |
# Add this marketplace in Claude Code
/plugin marketplace add zhiyue/claude-skills
# Install the skill (includes GitLab MCP server)
/plugin install gitlab-mr-review@zhiyue-claude-skills
The plugin bundles a GitLab MCP server,需要提供 GITLAB_PERSONAL_ACCESS_TOKEN 和 GITLAB_API_URL。以下任选一种方式配置:
# 添加到 ~/.zshrc 或 ~/.bashrc
export GITLAB_PERSONAL_ACCESS_TOKEN="your-gitlab-token"
export GITLAB_API_URL="https://gitlab.example.com/api/v4"
插件 marketplace.json 中使用 ${GITLAB_PERSONAL_ACCESS_TOKEN} 语法,Claude Code 启动时会自动从 shell 环境变量解析。
claude mcp add --transport stdio gitlab \
--env GITLAB_PERSONAL_ACCESS_TOKEN=your-token \
--env GITLAB_API_URL=https://gitlab.example.com/api/v4 \
-- npx -y @zereight/mcp-gitlab
.mcp.json在项目根目录创建 .mcp.json(可加入 .gitignore):
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@zereight/mcp-gitlab"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "${GITLAB_PERSONAL_ACCESS_TOKEN}",
"GITLAB_API_URL": "${GITLAB_API_URL:-https://gitlab.example.com/api/v4}"
}
}
}
}
~/.claude.json直接写入 token(仅限个人机器):
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@zereight/mcp-gitlab"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "your-token",
"GITLAB_API_URL": "https://gitlab.example.com/api/v4",
"GITLAB_READ_ONLY_MODE": "false"
}
}
}
}
Tip:
${VAR:-default}语法可设置默认值,如${GITLAB_API_URL:-https://gitlab.com/api/v4}
git clone https://github.com/zhiyue/claude-skills.git ~/.claude/skills/claude-skills
Or copy individual skills:
cp -r skills/gitlab-mr-review ~/.claude/skills/gitlab-mr-review
手动安装时需要自行配置 GitLab MCP server(参考上述 Option B/C/D)。
MIT
Requires secrets
Needs API keys or credentials to function
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub zhiyue/claude-skills --plugin gitlab-mr-reviewAgent skill for the jira-cli tool — Jira Server 8.13.5 workflows.
AI code review agent for GitHub and GitLab. View and resolve Greptile's PR review comments directly from Claude Code.
Code review workflows for peer and self review
コードレビュー機能を含むコーディングアシスタントプラグイン
Collection of Claude Code skills, MCP servers, and hooks for enhanced productivity
MCP server configuration for GitLab integration providing issue management, merge request operations, code search, and project data access.
GitLab workflow — MR, issue, and merge skills using glab CLI