Awesome-omni-skill glab-cli
GitLab CLI (glab) utilities - pipeline debugging, MR management, release automation. Use when working with GitLab via CLI for anything beyond basic git commands.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cli-automation/glab-cli" ~/.claude/skills/diegosouzapw-awesome-omni-skill-glab-cli && rm -rf "$T"
manifest:
skills/cli-automation/glab-cli/SKILL.mdsource content
GitLab CLI Power Utilities
Intelligent wrappers and patterns for GitLab CLI operations.
When to Use
- Debugging failed GitLab CI/CD pipelines
- Managing merge requests across projects
- Automating releases
- Bulk operations on issues/MRs
- Project health checks
Prerequisites
# macOS brew install glab # Or download from https://gitlab.com/gitlab-org/cli # Authenticate glab auth login
Core Capabilities
1. Pipeline Debugging
Get actionable errors from failed pipelines.
# Diagnose most recent failure python3 scripts/glab_ops.py diagnose # Specific project python3 scripts/glab_ops.py diagnose --project group/project # With suggested fixes python3 scripts/glab_ops.py diagnose --suggest-fixes
Output: Job failures, error excerpts, timing info.
2. MR Operations
Merge request management at scale.
# List MRs needing review python3 scripts/glab_ops.py mr-review-queue # MRs ready to merge (approved + passing) python3 scripts/glab_ops.py mr-merge-ready --dry-run # MR health check python3 scripts/glab_ops.py mr-status 123
3. Release Automation
Create releases with changelogs.
# Preview release python3 scripts/glab_ops.py release --dry-run # Create minor release python3 scripts/glab_ops.py release --bump minor # With custom notes python3 scripts/glab_ops.py release --notes "Breaking: API v2"
Quick Patterns
# Watch pipeline glab ci view --live # Retry failed jobs glab ci retry # View job logs glab ci trace <job-id> # Create MR from current branch glab mr create --fill # Checkout MR locally glab mr checkout 123 # View MR changes glab mr diff 123 # Approve MR glab mr approve 123 # Merge MR glab mr merge 123 --squash --remove-source-branch
glab vs gh Quick Reference
| Task | GitHub (gh) | GitLab (glab) |
|---|---|---|
| Create PR/MR | | |
| List CI runs | | |
| View CI logs | | |
| Watch CI | | |
| Retry CI | | |
| Checkout PR/MR | | |
Integration
Works with:
- wicked-search: Find code, create issues via glab
- wicked-kanban: Track MR status alongside tasks
References
- Full script documentationrefs/glab-ops.md
- Common workflow patternsrefs/patterns.md
- Pipeline troubleshootingrefs/ci-debugging.md