Gitlab
全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard
npx -y skills add bg-szy/TOP-SKILLS --skill gitlabAssembled 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.
- 4 stars4 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.
What its author says it does
Copied from the file, not written here
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.
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
- Creating MRs: Always check for uncommitted changes first with
git status - Viewing MRs/Issues: Prefer
--commentsflag when user wants full context - CI Operations: Check
glab ci statusbefore suggestingglab ci run - Use
--web: When the user might benefit from the browser UI
Command Reference
Merge Requests
| Action | Command |
|---|---|
| Create | glab mr create --title "Title" --description "Desc" |
| Create draft | glab mr create --draft --title "Title" |
| List | glab mr list |
| View | glab mr view <id> |
| View with comments | glab mr view <id> --comments |
| Checkout | glab mr checkout <id> |
| Merge | glab mr merge <id> |
| Approve | glab mr approve <id> |
Issues
| Action | Command |
|---|---|
| Create | glab issue create --title "Title" --description "Desc" |
| List | glab issue list |
| List mine | glab issue list --assignee=@me |
| View | glab issue view <id> |
| Close | glab issue close <id> |
| Comment | glab issue note <id> --message "Comment" |
CI/CD Pipelines
| Action | Command |
|---|---|
| Status | glab ci status |
| List | glab ci list |
| View logs | glab ci trace |
| Run new | glab ci run |
| Retry failed | glab ci retry |
Repository
| Action | Command |
|---|---|
| View info | glab repo view |
| Clone | glab repo clone <repo> |
| Open in browser | glab repo view --web |