glab
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
GitLab Workflow Skill
GitLab workflow management using glab CLI for merge requests, issues, and Git best practices.
Multiple GitLab Instances
glab auto-detects the GitLab host from your git remote. No GITLAB_HOST is needed when
working inside a repository. For non-origin remotes (e.g. a local GDK instance added
as a secondary remote), use glab config set remote_alias <remote>. Set GITLAB_HOST
only when running outside a git repository or for a one-off command targeting a specific
instance. See references/multi-host.md for non-origin remote
setup and hostname derivation from remote URLs.
⚠️ Message Escaping — Common Trap
If your message contains backticks (`), $, or other shell special characters, NEVER inline them directly in -m "...". The shell interprets backticks as command substitution, silently mangling your message and producing errors like /bin/bash: line 1: client_name: command not found.
This has caused real production failures: agents posting malformed comments to GitLab MRs/issues, followed by apologetic correction notes.