glab
GitLab skill — wraps the glab CLI to monitor CI pipelines, manage MR review comments, and publish draft reviews.
Requirements
glabCLI — gitlab.com/gitlab-org/cli — authenticate withglab auth login
Commands
ci — watch GitLab CI
Watch GitLab CI pipelines for the current branch and notify on pass or fail.
bash
/glab ci # watch pipeline for current branch
/glab ci --branch <name> # watch a specific branch
/glab ci --autofix # fix failures and re-push automatically
/glab ci --silent # suppress desktop notificationpull-comments — fetch MR discussion threads
Fetch unresolved MR discussion threads and write them to a local document.
bash
/glab pull-comments [mr-iid]
/glab pull-comments --output .codevoyant/review/my-feature/comments.mdpush-comments — post inline review notes
Post inline review notes from a local review document to an MR using the GitLab diff position API.
bash
/glab push-comments [mr-iid]
/glab push-comments --doc .codevoyant/review/my-feature/new-review.mddraft — post a note or toggle draft state
Post a general note or toggle the MR into draft state.
bash
/glab draft [mr-iid] --body "Ready for initial review" # post a note
/glab draft [mr-iid] --draft # set MR title to "Draft: ..."resolve-comments — resolve MR discussion threads
Resolve MR discussion threads via the GitLab API.
bash
/glab resolve-comments [mr-iid]
/glab resolve-comments --discussion-ids <id1,id2> # resolve specific threads onlycomplete — publish a draft MR
Remove the "Draft:" prefix and optionally approve the MR.
bash
/glab complete [mr-iid]
/glab complete --approve # approve after publishing
/glab complete --body "Addressed all feedback"report-issue — create a GitLab issue
Create a GitLab issue from a bug report or QA report file.
bash
/glab report-issue --title "Login crashes on Safari 17"
/glab report-issue --from .codevoyant/qa/login-crash/debug-report.mdretcon — propose commit message edits
/glab retcon — propose commit message edits for the current branch's open MR; delegates to /changelog retcon.
bash
/glab retcon # propose edits for the current MR
/glab retcon --apply # apply edits via rebase and force-pushhelp — list all commands
bash
/glab help