gitlab-merge-requests

Create and retrieve GitLab merge requests across projects with filters.

11|1|Updated Oct 31, 2022
One-click install
npx skills add https://github.com/Knuckles-Team/gitlab-api --skill gitlab-merge-requests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitlab-merge-requests
Source: https://github.com/Knuckles-Team/gitlab-api/tree/main/gitlab_api/skills/gitlab-merge-requests
Command: npx skills add https://github.com/Knuckles-Team/gitlab-api --skill gitlab-merge-requests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates repetitive merge request management tasks across GitLab projects, saving time and reducing manual errors.

Core Features & Use Cases

  • Create and manage merge requests programmatically with specified source/target branches, title, description, assignee, reviewers, and labels.
  • Retrieve MR lists across all projects or within a specific project, with filters like state, scope, milestone, and labels.
  • Use cases include coordinating cross-project code reviews, automating MR creation for release branches, and tracking MR status at scale.

Quick Start

Create a merge request in project 'group/project' from branch 'feature/new-ui' to 'main' with title 'New UI' and description 'Implement user interface improvements' and labels 'ui', 'enhancement'.

Frequently Asked Questions about gitlab-merge-requests

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

FAQPage Schema
How do I automate GitLab merge requests across multiple projects?

You can automate GitLab merge requests by using programmatic API calls to create and retrieve MRs across multiple projects and groups. This skill constructs standard HTTP requests to manage MR data automatically.

Can I retrieve merge requests across all projects filtered by labels and state?

Yes, you can retrieve merge requests across all projects using cross-project queries. The skill supports filtering by state, scope, milestone, and labels to fit diverse collaboration workflows.

What fields can I set when creating a merge request programmatically via API?

When creating a merge request programmatically, you can specify source and target branches, title, description, assignee, reviewers, and labels to fully define the MR.

Do I need GitLab API access to manage merge requests at scale?

Yes, GitLab API access is required. The skill relies on standard HTTP requests to construct, fetch, and manage MR data programmatically across your projects and groups.

What is the best way to coordinate cross-project code reviews in GitLab?

The best way to coordinate cross-project code reviews is by automating MR creation and retrieval across groups. This skill enables querying MRs across projects and filtering by scope, state, and milestone.