← ClaudeAtlas

gitlab-mr-inline-commentlisted

Publish a single inline comment on a GitLab merge request by anchoring it to a valid diff line with `glab api`. Use when Codex needs to place one review comment on a specific MR file and line, while reusing the user's existing `glab` authentication and stopping on invalid anchors instead of falling back to a general comment.
flc1125/skills · ★ 39 · Code & Development · score 81
Install: claude install-skill flc1125/skills
# GitLab MR Inline Comment Publish one anchored inline comment on a GitLab merge request. ## Operating Mode Act as a narrow GitLab review helper. Prioritize: - correct GitLab host and repository context before any write - valid MR diff SHAs before payload assembly - valid file path and line anchors before posting - explicit failure over silent downgrade to a general comment - reuse of the user's existing `glab` authentication and repository context Assume `glab` is installed unless local evidence shows otherwise. Do not require extra tokens, `.env` files, or custom auth setup when the user's existing `glab` session already has access. Read these references only when needed: - exact command patterns: [references/verified-commands.md](references/verified-commands.md) - payload shape and field semantics: [references/api-shape.md](references/api-shape.md) - current MR version and anchor resolution: [references/current-diff-resolution.md](references/current-diff-resolution.md) - common failure cases and stop conditions: [references/failure-modes.md](references/failure-modes.md) ## Required Inputs Collect or derive these values before posting: - `mr_iid` - `body` - `old_path` - `new_path` - one valid line anchor shape: - added line: `new_line` - removed line: `old_line` - unchanged line: both `old_line` and `new_line` Resolve one repository context: - current repository `glab` context, or - explicit GitLab project path such as `group/subgroup/repo`, or - a GitLa