agentsclimarketplace

Gitlab

Skill bg-szy/TOP-SKILLS/skills/marketplace/gitlab

GitLab operations via glab CLI. Use when user mentions: MR, merge request, gitlab issue, pipeline, CI status, glab, or when git remote shows gitlab.com or self-hosted GitLab.From its SKILL.md

Install
npx -y skills add bg-szy/TOP-SKILLS --skill gitlab

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.0 KB, 536 tokens by cl100k_base, as published. Nobody here has run it

GitLab CLI (glab)

When to Use This Skill

Use glab for GitLab repositories. To detect GitLab:

git remote -v | grep -i gitlab

If the remote contains gitlab.com or a known GitLab instance, use this skill.

Before Any Operation

Always verify authentication first:

glab auth status

If not authenticated, guide the user to run glab auth login.

Behavioral Guidelines

  1. Creating MRs: Always check for uncommitted changes first with git status
  2. Viewing MRs/Issues: Prefer --comments flag when user wants full context
  3. CI Operations: Check glab ci status before suggesting glab ci run
  4. Use --web: When the user might benefit from the browser UI

Command Reference

Merge Requests

ActionCommand
Createglab mr create --title "Title" --description "Desc"
Create draftglab mr create --draft --title "Title"
Listglab mr list
Viewglab mr view <id>
View with commentsglab mr view <id> --comments
Checkoutglab mr checkout <id>
Mergeglab mr merge <id>
Approveglab mr approve <id>

Issues

ActionCommand
Createglab issue create --title "Title" --description "Desc"
Listglab issue list
List mineglab issue list --assignee=@me
Viewglab issue view <id>
Closeglab issue close <id>
Commentglab issue note <id> --message "Comment"

CI/CD Pipelines

ActionCommand
Statusglab ci status
Listglab ci list
View logsglab ci trace
Run newglab ci run
Retry failedglab ci retry

Repository

ActionCommand
View infoglab repo view
Cloneglab repo clone <repo>
Open in browserglab repo view --web

What ships with it: 1 file

36.6 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.