Agent skill
GitLab
GitLab workflow best practices and glab CLI usage. Use when working with GitLab repositories, merge requests, issues, pipelines, or GitLab API interactions.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/productivity/gitlab-bendrucker-claude
SKILL.md
GitLab
GitLab workflows use glab, the official GitLab CLI. This skill helps adapt GitHub (gh) patterns to GitLab (glab).
Terminology
- Pull Request → Merge Request (MR): Use
glab mrinstead ofgh pr - Repository → Project: GitLab calls repositories "projects"
- Actions → CI/CD: Use
glab cifor pipelines and jobs
Quick Start
# Authenticate
glab auth login
# Create merge request (push branch first!)
git push -u origin feature-branch
glab mr create --fill
# List merge requests
glab mr list
Reference Files
- merge-requests.md: Working with merge requests (
glab mr) - ci.md: CI/CD pipelines and jobs (
glab ci) - api.md: REST and GraphQL API access (
glab api)
Key Rules
- Always use
glabfor GitLab (nevergh) - Always push branch before creating MR
- Always use
--fillto auto-populate from commits - Use
glab ci lintto validate.gitlab-ci.yml
Common Mistakes
Don't use gh commands, call MRs "pull requests", or forget to push before creating MRs.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?