Agent skill

gitlab

Manage GitLab issues and merge requests via the glab CLI.

Stars 118
Forks 34

Install this agent skill to your Project

npx add-skill https://github.com/olasunkanmi-SE/codebuddy/tree/main/skills/gitlab

Metadata

Additional technical details for this skill

auth
{
    "type": "oauth",
    "setupCommand": "glab auth login"
}
icon
git-merge
config
[
    {
        "name": "GITLAB_HOST",
        "type": "string",
        "label": "GitLab Host",
        "required": false,
        "placeholder": "https://gitlab.com"
    }
]
version
1.0.0
category
version-control
displayName
GitLab
dependencies
{
    "cli": "glab",
    "install": {
        "linux": {
            "apt": "glab",
            "dnf": "glab",
            "snap": "glab",
            "script": "curl -fsSL https://gitlab.com/gitlab-org/cli/-/releases/permalink/latest/downloads/glab_*_Linux_x86_64.tar.gz | tar xz && sudo mv bin/glab /usr/local/bin/"
        },
        "darwin": {
            "brew": "glab",
            "manual": "Download from https://gitlab.com/gitlab-org/cli/-/releases",
            "scriptArch": {
                "x64": "curl -fsSL https://gitlab.com/gitlab-org/cli/-/releases/permalink/latest/downloads/glab_*_macOS_x86_64.tar.gz | tar xz && sudo mv bin/glab /usr/local/bin/",
                "arm64": "curl -fsSL https://gitlab.com/gitlab-org/cli/-/releases/permalink/latest/downloads/glab_*_macOS_arm64.tar.gz | tar xz && sudo mv bin/glab /usr/local/bin/"
            }
        },
        "windows": {
            "choco": "glab",
            "scoop": "glab",
            "winget": "GLab.GLab"
        }
    },
    "checkCommand": "glab --version",
    "bundledInstall": "skills/gitlab/install.sh"
}

SKILL.md

glab

Use glab to interact with GitLab. This tool allows you to view, create, and update GitLab issues and merge requests.

Setup

Ensure glab is installed and authenticated. If using the bundled version, run: ./.codebuddy/bin/glab auth login

Common Commands

Issues

  • List issues: glab issue list
  • View issue: glab issue view <ID>
  • Create issue: glab issue create
  • Assign: glab issue update <ID> --assignee <USER>

Merge Requests

  • List MRs: glab mr list
  • Create MR: glab mr create
  • View MR: glab mr view <ID>

Notes

  • Requires a GitLab personal access token.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results