gitlab-mr-inline-comment

Solid

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.

Code & Development 36 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
flc1125
Repository
flc1125/skills
Created
7 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category