闲社服务运行正常AI智能体自动化平台
g

GitLab管理

技能标识:gitlab-manager

Manage GitLab repositories, merge requests, and issues via API. Use for tasks like creating repos, reviewing code in MRs, or tracking issues.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
5
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

GitLab管理

GitLab 管理器

该技能允许通过API与GitLab.com进行交互。

前置条件

  • - GITLAB_TOKEN:需在环境中设置一个具有api权限的个人访问令牌。

使用方法

使用提供的Node.js脚本与GitLab进行交互。

脚本位置

scripts/gitlab_api.js

命令

1. 创建仓库

在GitLab中创建一个新项目。 bash ./scripts/gitlabapi.js createrepo <名称> <描述> <可见性>

可见性:private(默认)、public、internal

2. 列出合并请求

列出指定项目的MR。 bash ./scripts/gitlabapi.js listmrs <项目路径> [状态]

项目路径:例如 jorgermp/my-repo(将自动进行URL编码)

状态:opened(默认)、closed、merged、all

3. 评论合并请求

向指定MR添加评论(备注)。适用于代码审查。 bash ./scripts/gitlabapi.js commentmr <项目路径> <评论内容>

4. 创建问题

创建一个新问题。 bash ./scripts/gitlabapi.js createissue <项目路径> <标题> <描述>

示例

创建私有仓库:
bash
GITLABTOKEN=... ./scripts/gitlabapi.js create_repo new-tool 一个很酷的新工具 private

审查MR:
bash

先列出以查找ID


GITLABTOKEN=... ./scripts/gitlabapi.js list_mrs jorgermp/my-tool opened

然后评论


GITLABTOKEN=... ./scripts/gitlabapi.js comment_mr jorgermp/my-tool 1 工作做得很好,但请检查缩进。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 gitlab-manager-1776373441 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 gitlab-manager-1776373441 技能

通过命令行安装

skillhub install gitlab-manager-1776373441

下载

⬇ 下载 gitlab-manager v1.0.0(免费)

文件大小: 2.59 KB | 发布时间: 2026-4-17 14:34

v1.0.0 最新 2026-4-17 14:34
Initial release of gitlab-manager.

- Manage GitLab repositories, merge requests, and issues via the API.
- Supports creating repositories, listing and commenting on merge requests, and creating issues using a Node.js script.
- Requires GITLAB_TOKEN with appropriate API permissions.
- Designed for simple command-line integration and automation of common GitLab tasks.
返回顶部