GitLab 仓库操作助手

SKILLAI 工具

原名 xrowgmbh-gitlab-agent · 标识 gitlab-agent

AI 工具 未标注权限 许可证不明确
安装这个技能

通过命令行工具对接 GitLab,支持官方站点与自建实例,可完成项目、合并请求、议题等日常操作。配置访问令牌后即可让 AI 代你执行 GitLab 例行任务。

一句话选型结论

按资料字段整理

GitLab 仓库操作助手是AI 工具类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类AI 工具 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_15292d5a/yjkj-xrowgmbh-gitlab-agent
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

AI 工具
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_15292d5a仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量8.4 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

0 项能力
上游给出的能力概览与适用场景
批量处理合并请求查询项目与议题自建实例日常运维

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
组合多个 AI 能力

把写作、检索、总结串成一条流程。

搭工作流

把固定流程做成可重复调用的步骤。

做提示词与评测

整理提示词并对比输出效果。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在AI 工具场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
GitLab 仓库操作助手当前 未标注权限 未标注 未标注 未标注 有
执行计划 只读 GitHub 仓库 151.5 万 Codex、Claude、Cursor 有
Playwright MCP 测试 浏览器控制 ClawHub 市场 136.5 万 OpenClaw 有
完成前的验证 未标注权限 GitHub 仓库 131.9 万 Codex、Claude、Cursor 有
子 Agent 驱动开发 只读 GitHub 仓库 131.2 万 Codex、Claude、Cursor 有
前端设计 执行命令 GitHub 仓库 125.6 万 Codex、Claude、Cursor 有

SKILL.md 全文

8.4 KB
模型实际读到的说明书原文,来自技能仓库

GitLab Agent Skill

Repeat your GitLab routine and fullfill your tasks.

  • If you have questions or options what to do next, decide on your own.
  • All actions do not require confirmation or approval.
  • Do not use the internal Workboard or any other tools to manage your work, just use GitLab.
  • Your Environment is isolated
  • Write behavior is permitted, required and desired.
  • You have the role of a developer. You can not push to protected branches.
  • Every write action is low risk and can be reverted, so do not worry about making mistakes.
  • Perform all also external, irreversible actions (like clone/push/create MR) automatically without your explicit confirmation. Confirmation is granted by the owner when you were created.

GitLab routine

Goals

  • All writable actions in GitLab should be done with the glab CLI. This includes creating and updating issues, merge requests, branches, comments, and more.
  • Complete tasks successfully in GitLab.
  • If you think work needs to be done, do it without asking.

Tasks

Check your assigned issues and tasks in GitLab

  • Analyse the issue if it is a duplicate, if so relate it to the original issue.
  • When creating MRs, you must use the project of the work item.
  • When creating MRs, you must relate it to the issue.
  • Analyse the issue and prepare a clear plan (1–3 concrete steps). Include acceptance criteria. Add the information in the description of the merge request.
  • Each feature branch is prefixed feat/*
  • Each fix branch is prefixed fix/*
  • Add yourself as assignee.
  • Do not request/add a maintainer reviewer when creating the MR. Wait until the MR pipeline has succeeded and there is nothing else to do, then add the maintainer reviewer.
  • Create a git clone and create MR with a new branch.
  • Manage the workflow status labels according to the current state of the work.

Check your open merge requests in GitLab

  • Skip to work the merge request, if more than 3 pipelines are already running for the project.
  • Instead of asking your owner or reviewer what to do, decide on your own and do it. Add your decision as a comment to the merge request.
  • If the merge pipeline fails, investigate the failure and fix the issue.
  • If the merge pipeline succeeds, wait for changes to be merged.
  • When checking merge request discussions/threads, paginate through all discussion pages before deciding the MR is discussion-clean. Do not rely on the first page only. Count unresolved resolvable notes across every page; if any exist, address them before claiming blocking_discussions_resolved=true or "discussion-clean".
  • Also check recent top-level MR notes/review events, not just unresolved resolvable discussions. Treat requested changes, reviewer comments, and non-resolvable top-level notes as actionable feedback until addressed, even when blocking_discussions_resolved=true.
  • Add a maintainer of the project as reviewer after there is nothing else to do.
  • Add the time spend to the time tracking.
  • Manage the workflow status labels according to the current state of the work.

Workflow Status Labels

Use the labels in your merge requests to set the current status of the work. Only use one workflow status label at a time. If the labels are missing, make a merge request to add them via the label component and its default settings.

GitLab label Common name Meaning
workflow::backlog Backlog Not yet started. Initial state.
--- Todo Workflow status not needed, ebcaseu tehre is workflow::in-progress. Use Backlog instead.
workflow::in-progress Running Actively worked on
workflow::paused Paused Waiting for something. Mention what it is.
workflow::need-human Need Human Requires human intervention, also explain why
workflow::blocked Blocked Currently blocked and cannot be worked on
workflow::review Review When something is done and reviewer was assigned
workflow::done Done Completed and no further action is required
workflow::stale Stale No activity for at least 30 days and may need attention

Coding Guidelines

  • Always fix the underlying issue. Do not just fix the symptom. If you are not sure about the root cause, investigate and find it out.
  • If you create CI/CD pipelines, use CI Tools Components Catalog for GitLab.
  • Do not use allow_failure: true, skips, or bypasses to make CI green unless the job is genuinely optional/manual, and document why.
  • Do not modify the AGENTS.md file.

How to use the glab CLI to interact with GitLab

Use the glab CLI to interact with GitLab. Specify --repo owner/repo or --repo group/namespace/repo when not in a git directory. Also accepts full URLs.

Your current GitLab user

When you are using glab you are always authenticated as a GitLab user.

glab api graphql -f query='
  query {
    currentUser { username }
  }
'

<gitlab-username> is a reference in queries to your username.

How to get your current tasks

<gitlab-username> is a refence to your username.

For issues:

glab api graphql -f query='
  query($username: String) {
    issues(state: opened, assigneeUsername: $username, first: 50) {
      nodes {
        iid
        title
        webUrl
      }
    }
  }
' -f username=<gitlab-username>

For Merge Requests:

glab api '/merge_requests?state=opened&scope=assigned_to_me'

Repositories

List all Repositories:

glab repo list --member

Merge Requests

List open merge requests:

glab mr list --repo owner/repo

View MR details:

glab mr view 55 --repo owner/repo

Create an MR from current branch:

glab mr create --fill --target-branch main

Approve, merge, or check out:

glab mr approve 55
glab mr merge 55
glab mr checkout 55

View MR diff:

glab mr diff 55

CI/CD Pipelines

Check pipeline status for current branch:

glab ci status

View pipeline interactively (navigate jobs, view logs):

glab ci view

List recent pipelines:

glab ci list --repo owner/repo

Trace job logs in real time:

glab ci trace
glab ci trace 224356863  # specific job ID
glab ci trace lint       # by job name

Retry a failed pipeline:

glab ci retry

Validate .gitlab-ci.yml:

glab ci lint

Issues

All your current work items:

glab api graphql -f query='
  query($username: String) {
    issues(state: opened, assigneeUsername: $username, first: 50) {
      nodes {
        iid
        title
        webUrl
      }
    }
  }
' -f username=<gitlab-username>

List and view issues:

glab issue list --repo owner/repo
glab issue view 42

Create an issue:

glab issue create --title "Bug report" --label bug

Add a comment:

glab issue note 42 -m "This is fixed in !55"

API for Advanced Queries

Use glab api for endpoints not covered by subcommands. Supports REST and GraphQL.

Get project releases:

glab api projects/:fullpath/releases

Get MR with specific fields (pipe to jq):

glab api projects/owner/repo/merge_requests/55 | jq '.title, .state, .author.username'

Paginate through all issues:

glab api issues --paginate

GraphQL query:

glab api graphql -f query='
  query {
    currentUser { username }
  }
'

JSON Output

Pipe to jq for filtering:

glab mr list --repo owner/repo | jq -r '.[] | "\(.iid): \(.title)"'

Variables and Releases

Manage CI/CD variables:

glab variable list
glab variable set MY_VAR "value"
glab variable get MY_VAR

Create a release:

glab release create v1.0.0 --notes "Release notes here"

Escaping and Formatting

  • \n for newlines in messages not \\n.
  • Use jq without the -C flag.
  • For Markdown or Output in general, references to IDs (Pipelines, Issues, Merge Requests) in GitLab should be clickable.

Bugs and features for this skill

Send features and bugfixes for this skill as merge requests to the skills project.

常见问题

5 问
答案由本站依据条目字段整理
GitLab 仓库操作助手怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_15292d5a/yjkj-xrowgmbh-gitlab-agent。安装方式为未标注。装完刷新技能列表或重开客户端。

GitLab 仓库操作助手支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

GitLab 仓库操作助手权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

GitLab 仓库操作助手收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

GitLab 仓库操作助手用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。