This one gives Claude what it needs to work with GitLab's CLI without the usual fumbling around. It covers the practical stuff like creating merge requests, posting inline diff comments (which has some gotchas about JSON vs form fields), and monitoring CI/CD pipelines. The authentication setup is straightforward, and there's good coverage of self-hosted GitLab instances. What's useful here is the distinction between discussion notes and diff notes, plus the API command patterns since glab doesn't expose everything through convenience commands. If you're doing GitLab workflows in the terminal or want Claude to help review merge requests with proper threaded comments, this handles the specifics that aren't obvious from glab's help text alone.
- skills.sh installs
- 414
- GitHub stars
- 142
- last updated
- Aug 21, 2026
Install
$ npx -y skills add nikiforovall/claude-code-rules --skill glab --agent claude-codeInstalls into .claude/skills of the current project.
Files
GitLab CLI (glab) Skill
Provides guidance for using glab, the official GitLab CLI, to perform GitLab operations from the terminal.
When to Use This Skill
Invoke when the user needs to:
- Create, review, or manage merge requests
- Work with GitLab issues
- Monitor or trigger CI/CD pipelines
- Clone or manage repositories
- Perform any GitLab operation from the command line
Prerequisites
Verify glab installation before executing commands:
glab --version
If not installed, inform the user and provide platform-specific installation guidance.
Authentication Quick Start
Most glab operations require authentication:
# Interactive authentication
glab auth login
# Check authentication status
glab auth status
# For self-hosted GitLab
glab auth login --hostname gitlab.example.org
# Using environment variables
export GITLAB_TOKEN=your-token
export GITLAB_HOST=gitlab.example.org # for self-hosted
Core Workflows
Creating a Merge Request
# 1. Ensure branch is pushed
git push -u origin feature-branch
# 2. Create MR
glab mr create --title "Add feature" --description "Implements X"
Sponsors
Details
- Repository
- github.com/nikiforovall/claude-code-rules
- Categories
- DevOps & CI/CD, Git & Pull Requests, CLI & Terminal
- First seen
- Jun 3, 2026
