gitlab-cli-workflow

Automate GitLab branch pushes and draft merge request creation with glab CLI.

2|3|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/ulises-jeremias/agentic-workstation --skill gitlab-cli-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitlab-cli-workflow
Source: https://github.com/ulises-jeremias/agentic-workstation/tree/main/home/dot_local/share/agentic-workstation/skills/gitlab-cli-workflow
Command: npx skills add https://github.com/ulises-jeremias/agentic-workstation --skill gitlab-cli-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies GitLab workflows by automating tasks like pushing branches and creating draft merge requests (MRs) using the glab CLI, reducing manual steps and streamlining collaboration.

Core Features & Use Cases

  • Branch Push and MR Creation: Automates the process of pushing branches to GitLab and creating draft MRs, complete with titles and descriptions.
  • Markdown Fallback: Provides a fallback option for untracked Markdown files when using the glab CLI for MR creation.
  • Use Case: For a developer working in a GitLab environment, this Skill ensures that when a merge request needs to be created, the process can be done quickly and efficiently with the command glab mr create --draft --title "YOUR_TITLE" --description "$(cat /path/to/body.md)".

Quick Start

Execute the following command to push your branch and create a draft merge request with a custom title and description:

glab mr create --draft --title "YOUR_TITLE" --description "$(cat /path/to/body.md)"

Frequently Asked Questions about gitlab-cli-workflow

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

FAQPage Schema
How do I automate GitLab merge request creation from the command line?

You can automate GitLab merge request creation by using the glab CLI tool to run commands like `glab mr create --draft`, which pushes branches and generates draft MRs with custom titles and descriptions.

Do I need to authenticate glab before using it to push branches and create MRs?

Yes, you need glab to be authenticated and properly configured for your GitLab host before using it to automate branch management and merge request creation tasks.

How do I create a draft merge request with a markdown description using glab?

To create a draft merge request, execute `glab mr create --draft --title "YOUR_TITLE" --description "$(cat /path/to/body.md)"` to pass the markdown file content directly into the MR description.

Can I use glab CLI workflows to handle untracked markdown files for MR descriptions?

Yes, the workflow provides a markdown fallback option for untracked markdown files, ensuring you can still populate the merge request description field when automating MR creation.

What is the best way to streamline GitLab branch management and MR workflows?

The best way to streamline GitLab branch management is automating manual steps with the glab CLI, which handles pushing branches and creating draft merge requests quickly and efficiently.