gitlab-mr-inline-commentlisted
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