← 返回
开发者工具 Key 中文

Gitlab Manager

Manage GitLab repositories, merge requests, and issues via API. Use for tasks like creating repos, reviewing code in MRs, or tracking issues.
通过 API 管理 GitLab 仓库、合并请求和议题,可用于创建仓库、审查 MR 代码或跟踪议题。
jorgermp
开发者工具 clawhub v1.0.0 1 版本 99693.5 Key: 需要
★ 5
Stars
📥 3,803
下载
💾 206
安装
1
版本
#latest

概述

GitLab Manager

This skill allows interaction with GitLab.com via the API.

Prerequisites

  • GITLAB_TOKEN: A Personal Access Token with api scope must be set in the environment.

Usage

Use the provided Node.js script to interact with GitLab.

Script Location

scripts/gitlab_api.js

Commands

1. Create Repository

Create a new project in GitLab.

./scripts/gitlab_api.js create_repo "<name>" "<description>" "<visibility>"
# Visibility: private (default), public, internal

2. List Merge Requests

List MRs for a specific project.

./scripts/gitlab_api.js list_mrs "<project_path>" "[state]"
# Project path: e.g., "jorgermp/my-repo" (will be URL encoded automatically)
# State: opened (default), closed, merged, all

3. Comment on Merge Request

Add a comment (note) to a specific MR. Useful for code review.

./scripts/gitlab_api.js comment_mr "<project_path>" <mr_iid> "<comment_body>"

4. Create Issue

Open a new issue.

./scripts/gitlab_api.js create_issue "<project_path>" "<title>" "<description>"

Examples

Create a private repo:

GITLAB_TOKEN=... ./scripts/gitlab_api.js create_repo "new-tool" "A cool new tool" "private"

Review an MR:

# First list to find ID
GITLAB_TOKEN=... ./scripts/gitlab_api.js list_mrs "jorgermp/my-tool" "opened"
# Then comment
GITLAB_TOKEN=... ./scripts/gitlab_api.js comment_mr "jorgermp/my-tool" 1 "Great work, but check indentation."

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 11:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,768
communication-collaboration

eMail manager lite

jorgermp
轻量级邮件管理器,支持IMAP/SMTP、高级搜索、文件夹管理和附件检测。适用于Zoho、Gmail、Outlook及任意IMAP/SMTP服务提供商。
★ 3 📥 3,307
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,983