gitlab-merge-requests-with-glab

Manage the open GitLab merge request from the terminal using glab.

1|Updated Sep 18, 2015
One-click install
npx skills add https://github.com/martindzejky/dotfiles --skill gitlab-merge-requests-with-glab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitlab-merge-requests-with-glab
Source: https://github.com/martindzejky/dotfiles/tree/main/ai/skills/gitlab-merge-requests-with-glab
Command: npx skills add https://github.com/martindzejky/dotfiles --skill gitlab-merge-requests-with-glab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitLab merge requests often require identifying MR IDs. This skill lets you manage the open MR from the terminal by using the current feature-branch context with glab.

Core Features & Use Cases

  • Review discussions and activity on the current MR without passing an explicit ID.
  • Check MR mergeability and view MR state directly from the terminal.
  • Post notes, approve, or merge the current MR using simple commands.

Quick Start

Open the terminal and use glab commands to view, comment, and merge the MR on your current feature branch without supplying an explicit MR ID.

Frequently Asked Questions about gitlab-merge-requests-with-glab

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

FAQPage Schema
How do I resolve a GitLab merge request from the terminal?

You can resolve a GitLab merge request from the terminal by using the glab CLI on your current feature branch to check mergeability, review discussions, and approve or merge the MR.

Do I need to find the MR ID to review GitLab merge requests with glab?

No, you do not need to pass an explicit MR ID. The glab CLI automatically targets the open merge request by using the context of your current working feature branch.

What is required to manage GitLab merge requests from the command line?

Managing GitLab merge requests from the command line requires the glab CLI to be installed and authenticated, and your working directory must be on the target feature branch.

Can I check mergeability and view pipeline status for a GitLab MR in the terminal?

Yes, you can check mergeability, view the MR state, and see MR-linked pipeline visibility directly from the terminal using glab commands on your feature branch.

What's the best way to post notes and approve a GitLab MR without leaving the terminal?

The best way to post notes and approve a GitLab MR without leaving the terminal is using simple glab commands, which auto-target the MR based on your current feature branch.