gitlab-cli

Manage GitLab repositories, issues, merge requests, and CI/CD pipelines via glab terminal commands.

Updated Aug 15, 2024
One-click install
npx skills add https://github.com/cdcoonce/Portfolio_Website --skill gitlab-cli-cdcoonce
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitlab-cli
Source: https://github.com/cdcoonce/Portfolio_Website/tree/main/.claude/skills/gitlab-cli
Command: npx skills add https://github.com/cdcoonce/Portfolio_Website --skill gitlab-cli-cdcoonce

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines your GitLab workflow by allowing you to manage issues, merge requests, branches, commits, and CI/CD pipelines directly from your terminal, eliminating the need to constantly switch to a web browser.

Core Features & Use Cases

  • Issue Management: Create, list, view, and update GitLab issues with labels, assignees, and milestones.
  • Merge Request Workflow: Create, review, approve, and merge merge requests, including draft branches and WIP MRs.
  • CI/CD Operations: Monitor pipeline status, run, and retry jobs.
  • Use Case: You're working on a feature branch and need to quickly create a merge request, assign a reviewer, and push your latest commit without leaving your terminal.

Quick Start

Use the gitlab-cli skill to create a new merge request with the title "Implement user authentication" and target the "main" branch.

Frequently Asked Questions about gitlab-cli

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

FAQPage Schema
How do I manage GitLab merge requests from the terminal?

You can manage GitLab merge requests from the terminal by using the glab CLI to create, review, approve, and merge MRs, including handling draft branches and WIP states without opening a browser.

Can I monitor GitLab CI/CD pipelines via command line?

Yes, you can monitor GitLab CI/CD pipelines via command line by executing terminal commands to check pipeline status, run specific jobs, and retry failed CI/CD operations.

Do I need to install glab CLI to manage GitLab repositories?

Yes, you need to install the glab CLI and complete its authentication process before you can use terminal commands to manage GitLab repositories, issues, branches, and commits.

How do I create a GitLab issue and assign a reviewer without leaving the terminal?

To create a GitLab issue and assign a reviewer from the terminal, use glab CLI commands to generate issues with labels and assignees, then create merge requests and push commits directly through your workflow.

What is the best way to automate DevOps workflows for GitLab?

Automating DevOps workflows for GitLab is best achieved by using the glab CLI to script terminal commands that manage issues, merge requests, branches, and CI/CD pipelines, eliminating browser context switching.

Can I update GitLab branches and commits without a web browser?

Yes, you can update GitLab branches and commits without a web browser by utilizing glab CLI integration to push commits, manage branches, and interact with repository features directly from your terminal.