glab

Manage GitLab merge requests, issues, CI/CD, and releases from the terminal.

Updated Feb 11, 2016
One-click install
npx skills add https://github.com/Ehrax/dotfiles --skill glab-ehrax
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab
Source: https://github.com/Ehrax/dotfiles/tree/main/configs/agents/skills/glab
Command: npx skills add https://github.com/Ehrax/dotfiles --skill glab-ehrax

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GitLab project management and CI/CD tasks often require context switching between the UI and multiple tools. The GitLab CLI (glab) provides a single, consistent command-line interface to perform common GitLab operations, reducing manual steps and speeding up workflows.

Core Features & Use Cases

  • Create, list, view, and manage merge requests from the terminal.
  • Create, list, update issues and incidents; manage CI/CD pipelines and releases.
  • Trigger API calls, clone and manage repositories, manage labels, milestones, and authentication configurations for GitLab instances.
  • Use case: A developer opens a terminal, navigates to a project, and creates an MR to fix a bug, then assigns reviewers and updates the issue from the same shell session.

Quick Start

Install glab and run glab in a GitLab project directory to start creating MRs, issues, and releases from the terminal.

Frequently Asked Questions about glab

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage GitLab merge requests and issues from the command line?

You can manage GitLab merge requests and issues from the command line by using a CLI tool to create, list, view, and update them directly from your terminal, reducing manual UI steps.

Can I trigger GitLab CI/CD pipelines and releases directly from the terminal?

Yes, you can trigger GitLab CI/CD pipelines and manage releases directly from the terminal. The CLI provides commands to automate deployment and pipeline management within your shell session.

Do I need a specific GitLab instance setup to use the GitLab CLI?

Yes, you need an existing GitLab instance with appropriate authentication configured. The CLI requires this setup to manage repositories, merge requests, and pipelines directly from your shell.

What is the best way to automate GitLab project administration without using the web UI?

The best way to automate GitLab project administration without the web UI is using a command-line interface. It exposes a unified API to manage labels, milestones, and repository configurations from the shell.

How does command line GitLab automation compare to using the standard web interface?

Command line GitLab automation provides a single consistent interface for rapid task creation and triage, unlike the standard web interface which often requires context switching between multiple tools.