Gitlab Address Comments
This skill extracts comment addresses from GitLab issues and merge requests, streamlining issue tracking and collaboration workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gitlab-address-comments npx -- -y @trustedskills/gitlab-address-comments
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gitlab-address-comments": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gitlab-address-comments"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, Gitlab Address Comments, helps AI agents manage and resolve review threads within GitLab merge requests (MRs). It uses the glab command-line tool to fetch unresolved discussions, summarizes them for user triage, allows batch selection of comments to address, and applies fixes. The goal is to streamline issue tracking and collaboration workflows by efficiently handling MR feedback.
When to use it
- When working on a Git branch with an associated open merge request in GitLab.
- To quickly identify and resolve outstanding review comments within a merge request.
- For teams using GitLab for code reviews and seeking to improve the efficiency of addressing feedback.
- When needing to apply focused fixes based on specific review comments.
Key capabilities
- MR Identification: Automatically identifies the open merge request associated with the current branch.
- Discussion Fetching: Fetches unresolved discussions from GitLab using
glabAPI, filtering out bot/system-only threads. - Summarized Presentation: Presents a compact summary list of unresolved discussions, sorted by status and update time, grouped by file path where possible. Includes discussion number, ID, author, location (file:line), and a one-line summary.
- Batch Selection: Allows users to select multiple discussions for addressing in a single action.
- Focused Fixes: Applies fixes directly related to the selected review threads.
- Test Execution: Runs relevant tests or checks within the repository during fix implementation.
Example prompts
- "Address comments on this branch."
- "Show me the unresolved discussions for the current merge request."
- "Fix discussion numbers 1, 3, and 5."
- “What changes did you make to address the selected discussions?”
Tips & gotchas
- Authentication: Ensure
glab auth statussucceeds. You may need to runglab auth loginor set theGITLAB_TOKENenvironment variable. - Glab Version: Requires
glabversion 1.80.4 or higher. - Network Access: Elevated network access is required for
glabcommands; usesandbox_permissions=require_escalatedif sandboxing blocks network calls.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🏢 Official
Published by the company or team that built the technology.