glab-stack

Orchestrate stacked merge request workflows in GitLab using the glab CLI.

1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/a-ng-d/claude-ui-color-palette --skill glab-stack-a-ng-d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab-stack
Source: https://github.com/a-ng-d/claude-ui-color-palette/tree/main/skills/gitlab-cli-skills/glab-stack
Command: npx skills add https://github.com/a-ng-d/claude-ui-color-palette --skill glab-stack-a-ng-d

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing multiple interdependent merge requests across complex features can become error-prone and time-consuming. This skill provides a structured workflow to coordinate stacked MRs, track dependencies, and streamline reviews and merges in GitLab via the glab CLI.

Core Features & Use Cases

  • Create and manage a stack of related merge requests to deliver multi-part features with clear dependency ordering.
  • Synchronize, rebase, and publish stacked changes across branches to keep MR states consistent as the base evolves.
  • Use case: Coordinate a feature split into frontend, backend, and docs MR sequences, ensuring reviews and merges happen in the correct order.

Quick Start

Use glab stack to create and manage a stack of merge requests for multi-part changes.

Frequently Asked Questions about glab-stack

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

FAQPage Schema
What is a stacked merge request workflow in GitLab?

A stacked merge request workflow coordinates multiple interdependent MRs to deliver multi-part features with clear dependency ordering. It tracks dependencies across branches to streamline reviews and merges in GitLab via the glab CLI.

How do I manage dependent merge requests in GitLab?

You can manage dependent merge requests by using the glab CLI to create, sync, and reorder a stack of linked MRs. This ensures reviews and merges happen in the correct order as the base branch evolves.

Can I use glab to synchronize stacked branches across repositories?

Yes, glab supports cross-repo coordination for stacked MRs. You can synchronize, rebase, and publish stacked changes across branches to keep MR states consistent as the base evolves.

How do I reorder or move merge requests within a stack?

You can reorder or move merge requests within a stack using the specific glab stack commands. The skill orchestrates these actions end-to-end, allowing you to switch, sync, and amend linked MRs.

Does the glab stack command support experimental features?

Yes, the glab stack functionality handles its experimental status while managing MR stacks end-to-end. It supports commands like create, amend, move, reorder, and sync for complex multi-PR scenarios.

What is the best way to split a large feature into multiple merge requests?

The best way to split a large feature is creating a structured stack of related merge requests using glab. This coordinates frontend, backend, and docs MR sequences, ensuring reviews and merges happen in the correct order.