Token导航 LogoToken导航

Agent Skill · 研究检索

gitlab-copilot(GitLab GitHub Copilot 搜索)

用于围绕 GitLab 项目、Merge Request、Issue、分支、流水线和代码审查流程提供辅助能力。它适合让 Agent 查询项目状态、整理提交差异、辅助检查合并请求或汇总 CI 结果。使用时需要确认项目权限、访问 token 和目标分支范围;涉及合并、推送、改工单或触发流水线时,应先预览影响并核对团队流程。

gitlab-copilot 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 61,880。

总安装 346周安装 14GitHub Stars 公开资料未说明下载 109核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gitlab-copilot(GitLab GitHub Copilot 搜索)
来源仓库:https://github.com/witooh/skills
仓库路径:skills/gitlab-copilot
安装命令:
npx skills add https://github.com/witooh/skills --skill gitlab-copilot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/witooh/skills --skill gitlab-copilot

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于围绕 GitLab 项目、Merge Request、Issue 等流程提供辅助能力。适合查询项目状态、整理提交差异、辅助检查合并请求或汇总 CI 结果。使用时需确认项目权限和访问 token,涉及合并或改工单应预览影响。安装方式:通过 npx 从指定 GitHub 仓库添加技能。

建议在使用前核对团队流程和目标分支范围。

来源仓库内路径:skills/gitlab-copilot

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/witooh/skills --skill gitlab-copilot;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

gitlab-copilot 怎么安装?

在终端执行 npx skills add https://github.com/witooh/skills --skill gitlab-copilot。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

gitlab-copilot 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

gitlab-copilot 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/witooh/skills --skill gitlab-copilot 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

gitlab-copilot 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

gitlab-copilot 用的人多吗?

公开数据是累计安装 346 次,近一周安装 14 次,下载 109 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

gitlab-copilot 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
gitlab-copilot

GitLab GitHub Copilot 搜索 · 本页

346—执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

GitLab Skill (Copilot CLI)

Use the glab CLI to interact with GitLab. Supports six MR workflows (Create → Read → Review → Fix → CI Fix → Feedback) plus general glab operations.

URL Parsing

When given a GitLab MR URL like https://gitlab.com/group/subgroup/project/-/merge_requests/42:

  • repo_ref: strip https:// and everything from /-/ onward → gitlab.com/group/subgroup/project
  • mr_id: extract the number after merge_requests/ → 42

These two values power most glab commands: glab mr <cmd> <mr_id> --repo <repo_ref>

Intent Detection

Determine the user's intent before selecting a workflow. There are six distinct workflows — Create creates a new MR from the current branch, Read is the lightest (just summarize), Review runs full specialist agents, Fix reviews then implements, CI Fix targets pipeline failures, and Feedback addresses reviewer comments. Default to Read when the user provides a MR URL with no strong signal indicating they want more.

Signal in User RequestWorkflow
"สร้าง MR", "create MR", "open MR", "เปิด MR", "สร้าง merge request"MR Create — create a new MR from the current branch with team defaults
"อ่าน", "ดู", "check", "สรุป", "summary", bare URL with no action verbMR Read — fetch MR info + diff, then summarize. No specialist agents.
"review", "ตรวจ", "ช่วย review", "review ให้หน่อย"MR Review — full code/security/QA review via 3 parallel specialist agents, post findings as comment
"แก้", "fix", "แก้ตาม", "แก้ issue", "implement", "ทำตาม"MR Fix — review first, then auto-chain to /neo-team-copilot to implement fixes
"fix CI", "fix pipeline", "แก้ pipeline", "pipeline fail", "CI fail", "build fail"MR CI Fix — fetch failed job logs, analyze, chain to /neo-team-copilot to fix
"address feedback", "แก้ตาม comment", "แก้ตาม feedback", "resolve threads", "ตอบ review"MR Feedback — parse unresolved review threads, implement fixes, resolve

Decision rule:

  1. If the user's message asks to create/open a new MR (no existing MR URL) → MR Create
  2. If the user's message mentions CI/pipeline failure → MR CI Fix
  3. If the user's message mentions feedback/comments to address → MR Feedback
  4. If the user's message contains a fix/แก้ keyword (not CI/feedback-specific) → MR Fix
  5. If the user's message explicitly says "review" or "ตรวจ" → MR Review
  6. Everything else (bare URL, "อ่าน", "ดู", "check", "สรุป", or ambiguous) → MR Read (lightest option, no side effects)

Specialist Reference Files

This skill delegates review work to three specialist agents. Their detailed instructions live in the neo-team-copilot skill's reference files. Before spawning review agents, read these files with view:

SpecialistReference File
Code Reviewer.agents/skills/neo-team-copilot/references/code-reviewer.md
Security.agents/skills/neo-team-copilot/references/security.md
QA.agents/skills/neo-team-copilot/references/qa.md

MR Create Workflow

Create a new MR from the current branch. No MR URL is needed — this workflow detects the current branch and creates a MR targeting the default branch.

1. Verify current branch and uncommitted changes
2. Push branch to remote if needed
3. Create MR with team defaults
4. Report MR URL to user

Step 1: Verify Branch

git branch --show-current
git status --short

If there are uncommitted changes, warn the user and ask whether to proceed or commit first. If the current branch is main or master, warn the user — they likely need to create a feature branch first.

Step 2: Push Branch

git push -u origin <current_branch>

If the branch is already pushed and up to date, skip this step.

Step 3: Create MR

glab mr create --fill --remove-source-branch --squash-before-merge
  • --fill auto-fills title and description from commit messages
  • --remove-source-branch deletes source branch after merge (team default)
  • --squash-before-merge squash commits when MR is accepted (team default)

If the user provides additional options (e.g., title, description, assignee, reviewer, target branch), append them:

glab mr create --fill --remove-source-branch --squash-before-merge \
  --title "<title>" --description "<desc>" \
  --assignee "<user>" --reviewer "<user>" \
  --target-branch "<branch>"

Step 4: Report

After creation, show the user the MR URL and key details:

✅ สร้าง MR สำเร็จ
- MR: !<mr_id> — <title>
- Branch: <source> → <target>
- URL: <mr_url>
- Delete source branch: ✅
- Squash commits: ✅

MR Read Workflow

The lightest workflow — no specialist agents, no comments posted. Just fetch MR data and present a concise summary to the user in the conversation.

1. Fetch MR info (JSON) and diff
2. Summarize in conversation

Step 1: Fetch

glab mr view <mr_id> --repo <repo_ref> --output json
glab mr diff <mr_id> --repo <repo_ref>

Step 2: Summarize

Present a concise Thai summary covering:

  • MR metadata — title, author, status, source → target branch, pipeline status
  • What changed — brief description of the changes (group by area: features, refactoring, CI, docs, tests)
  • Files changed — count and key files
  • Existing comments — if there are review comments, briefly note them

Keep it terminal-friendly and scannable. Do NOT spawn specialist agents or post any comments on the MR.


MR Review Workflow

When the user asks to review a MR (or intent is detected as "review"), run this pipeline:

1. Fetch MR info, diff, and existing comments
2. Read & summarize existing comments (understand what's already discussed)
3. code-reviewer + security + qa → review in PARALLEL (with comment context)
4. Compose Thai comment from template
5. Post comment to the MR

Step 1: Fetch

glab mr view <mr_id> --repo <repo_ref> --output json
glab mr diff <mr_id> --repo <repo_ref>
glab mr note list <mr_id> --repo <repo_ref>

Extract from the view output: MR title, source branch, target branch, author.

Step 2: Read Existing Comments

Before diving into the review, read through all existing MR comments/notes fetched in Step 1. This gives crucial context — other reviewers may have already flagged issues, the author may have explained design decisions, or there may be ongoing discussions that affect how you should review. Summarize the key points:

  • Issues already raised by other reviewers
  • Author's explanations or decisions
  • Unresolved discussions that need attention
  • Resolved items (avoid duplicating feedback)

This prevents the review from repeating what's already been said and helps focus on gaps that haven't been addressed yet.

Step 3: Parallel Review

Read the project's CLAUDE.md if available (for conventions). Then read the three specialist reference files listed above, and spawn all three agents at the same time — including a summary of existing comments so reviewers have full context:

task(
  description: "Code review MR diff",
  agent_type: "general-purpose",
  model: "claude-opus-4.6",
  prompt: """
# Role: Code Reviewer
[paste full code-reviewer instructions from .agents/skills/neo-team-copilot/references/code-reviewer.md]

---
## Project Conventions
[relevant sections from CLAUDE.md if available, else omit]

---
## Existing MR Comments
[summary of existing comments from Step 2 — issues raised, author explanations, unresolved discussions]
Do NOT repeat issues that other reviewers have already flagged unless you have additional insight to add.

---
## Task
Review the following MR diff for convention compliance.

MR: !<mr_id> — <mr_title>
Branch: <source> → <target>

## Diff
<full diff output>
"""
)

task(
  description: "Security review MR diff",
  agent_type: "general-purpose",
  model: "claude-sonnet-4.6",
  prompt: """
# Role: Security Reviewer
[paste full security instructions from .agents/skills/neo-team-copilot/references/security.md]

---
## Existing MR Comments
[summary of existing comments from Step 2 — issues raised, author explanations, unresolved discussions]
Do NOT repeat security concerns that have already been raised unless you have additional findings.

---
## Task
Security review the following MR diff.

MR: !<mr_id> — <mr_title>
Branch: <source> → <target>

## Diff
<full diff output>
"""
)

task(
  description: "QA review MR diff",
  agent_type: "general-purpose",
  model: "claude-sonnet-4.6",
  prompt: """
# Role: QA Reviewer
[paste full QA instructions from .agents/skills/neo-team-copilot/references/qa.md]

---
## Project Conventions
[relevant sections from CLAUDE.md if available, else omit]

---
## Existing MR Comments
[summary of existing comments from Step 2 — issues raised, author explanations, unresolved discussions]
Do NOT repeat QA concerns that have already been raised unless you have additional findings.

---
## Task
QA review the following MR diff. Focus on:
- Test coverage gaps (are new code paths tested?)
- Missing edge case tests
- Regression risks
- Acceptance criteria validation (if available)

MR: !<mr_id> — <mr_title>
Branch: <source> → <target>

## Diff
<full diff output>
"""
)
💡 Multi-turn enhancement (v1.0.5+): Spawn review agents with mode: "background" instead of default sync. If any agent's output needs clarification or deeper analysis, use write_agent to send follow-up messages — the agent retains full context from its initial review. Use read_agent to retrieve updated results.

Step 4: Compose Thai comment

Read references/mr-review-template.md and fill in findings from all three agents (code-reviewer, security, qa).

Step 5: Post

glab mr note <mr_id> --repo <repo_ref> -m "<thai_comment>"

If glab is not authenticated or fails, output the review in the conversation instead and tell the user.


MR Fix Workflow

When intent is detected as "fix" (user wants to fix issues from a MR), run review first then auto-chain to /neo-team-copilot for implementation.

1. Fetch MR info, diff, and existing comments          (same as MR Review Step 1)
2. Read & summarize existing comments                   (same as MR Review Step 2)
3. code-reviewer + security + qa → review in PARALLEL   (same as MR Review Step 3)
4. Compile findings into structured handoff context
5. Invoke /neo-team-copilot via skill tool with findings
6. Post summary comment on MR (after fix is done)

Steps 1-3: Same as MR Review

Run the exact same fetch → read comments → parallel review pipeline. The only difference is what happens after.

Important for MR Fix: When composing the agent prompts in Step 3, add this instruction to each agent:

Categorize every finding with a severity level: Blocker, Critical, Warning, or Info. Format each finding as: [Severity] file:line — description. This structured output is required for the handoff to the fix pipeline.

Step 4: Compile Findings for Handoff

After all three review agents return, compile their findings into a structured context for /neo-team-copilot:

## MR Fix Context

**MR:** !<mr_id> — <mr_title>
**Branch:** <source_branch> → <target_branch>
**Repository:** <repo_ref>

### Review Findings

#### Code Review Findings
<code_reviewer_output — full findings with severity levels>

#### Security Findings
<security_output — full findings with severity levels>

#### QA Findings
<qa_output — full findings with severity levels>

### Severity Summary
| Level | Count |
|-------|-------|
| Blocker | X |
| Critical | X |
| Warning | X |
| Info | X |

### MR Diff
<full diff for reference>

Only proceed to Step 5 if there are Blocker or Critical findings. If all findings are Warning/Info only:

  1. Post the review comment on the MR (using the MR Review template from Step 4-5 of the Review workflow)
  2. Inform the user in the conversation: "ไม่พบ Blocker/Critical — findings ทั้งหมดเป็น Warning/Info เท่านั้น ไม่จำเป็นต้องแก้ไขเร่งด่วน"
  3. End the workflow here. Do NOT invoke /neo-team-copilot. The user can manually request fixes if desired.

Step 5: Invoke /neo-team-copilot

Use the skill tool to invoke /neo-team-copilot with the compiled findings:

skill(skill: "neo-team-copilot")

Then in the conversation, provide the task:

แก้ไขโค้ดตาม review findings จาก MR

<compiled findings from Step 4>

## Instructions
- Fix all Blocker and Critical findings
- Address Warning findings where practical
- Info findings are optional improvements
- The MR diff is provided for context — the code is already in the working directory
- After fixing, run existing tests to verify nothing is broken

/neo-team-copilot will classify this as a Bug Fix workflow internally and run:

  1. system-analyzer → understand the codebase + findings
  2. developer + qa + code-reviewer → implement fixes + test + verify (3-WAY PARALLEL)
  3. Remediation if needed

Step 6: Post Summary Comment

After /neo-team-copilot completes, post a summary comment on the MR:

glab mr note <mr_id> --repo <repo_ref> -m "<summary_comment>"

The comment should follow this format:

## 🤖 MR Fix Summary

**MR:** !<mr_id> — <mr_title>

### สิ่งที่แก้ไข
<list of fixes applied, mapped to original findings>

### สถานะ
- Blocker: X/Y แก้แล้ว
- Critical: X/Y แก้แล้ว
- Warning: X/Y แก้แล้ว

**ผลลัพธ์:** ✅ แก้ไขเสร็จ / ⚠️ แก้ไขบางส่วน (ดูรายละเอียดด้านบน)

---
*Fix โดย GitLab Skill + Neo Team · Copilot CLI*

MR CI Fix Workflow

When the user wants to fix CI/pipeline failures for a MR, run this pipeline:

1. Fetch MR info and pipeline status
2. Identify failed jobs and fetch logs
3. Analyze failures and categorize
4. Chain to /neo-team-copilot to implement fixes
5. Push fix and optionally retry pipeline

Step 1: Fetch MR + Pipeline Status

glab mr view <mr_id> --repo <repo_ref> --output json
glab ci list --repo <repo_ref> --branch <source_branch>

Extract MR metadata and identify the latest pipeline. If the MR URL wasn't provided but the user mentions a branch or "fix pipeline", use glab ci status to find the current pipeline.

Step 2: Get Failed Job Logs

# List jobs in the failed pipeline:
glab ci view <pipeline_id> --repo <repo_ref>

# Fetch logs for each failed job:
glab ci trace <job_id> --repo <repo_ref>

Collect the last ~100 lines of each failed job's log output. These contain the actual error messages.

Step 3: Analyze Failures

Categorize each failure:

CategoryExamplesTypical Fix
Build failureCompilation errors, missing imports, type errorsFix source code
Test failureUnit/integration/E2E test failuresFix code or update tests
Lint failureStyle violations, formatting issuesRun formatter, fix violations
Config failureDocker build, missing env vars, bad CI configFix config files

Present a summary to the user before proceeding:

## CI Failure Analysis

**Pipeline:** #<pipeline_id> — <status>
**Branch:** <source_branch>

### Failed Jobs
1. [Build] job-name — CompilationError: missing import "pkg/util"
2. [Test] test-unit — FAIL TestUserCreate: expected 200, got 500

Proceed to fix?

Step 4: Invoke /neo-team-copilot

Use the skill tool to invoke /neo-team-copilot with failure context:

skill(skill: "neo-team-copilot")

Then in the conversation, provide the task:

แก้ไข CI/pipeline failures จาก MR

## CI Failure Context
**MR:** !<mr_id> — <mr_title>
**Branch:** <source_branch>
**Pipeline:** #<pipeline_id>

### Failed Jobs
<for each failed job:>
- **Job:** <job_name> (stage: <stage>)
- **Category:** <Build|Test|Lint|Config>
- **Error:** <relevant error excerpt from logs>
- **Log excerpt:**

<last 30-50 lines of relevant log output>

## Instructions
- Fix all failing jobs
- Run the failing commands locally to verify fixes before pushing
- Do NOT change CI configuration unless the config itself is the problem
- If a test failure reveals a genuine bug, fix the code (not the test)

/neo-team-copilot will classify this as a Bug Fix workflow and route through system-analyzer → developer → verification agents.

Step 5: Push and Retry

After /neo-team-copilot completes the fix:

# Push the fix to the MR branch
git push origin <source_branch>

# Optionally retry the pipeline
glab ci retry <pipeline_id> --repo <repo_ref>

Post a summary comment on the MR:

glab mr note <mr_id> --repo <repo_ref> -m "<summary>"

Summary format:

## 🤖 CI Fix Summary

**MR:** !<mr_id> — <mr_title>
**Pipeline:** #<pipeline_id>

### สิ่งที่แก้ไข
- ✅ [Build] job-name — fixed missing import
- ✅ [Test] test-unit — fixed handler returning wrong status code

### Pipeline
🔄 Retry triggered — pipeline #<new_pipeline_id>

---
*CI Fix โดย GitLab Skill + Neo Team · Copilot CLI*

MR Feedback Workflow

When the user wants to address review feedback/comments on a MR, parse unresolved threads and implement fixes.

1. Fetch MR info, diff, and all comments/discussions
2. Filter and group unresolved feedback
3. Chain to /neo-team-copilot with structured feedback
4. Push fix, post summary, and resolve threads

Step 1: Fetch

glab mr view <mr_id> --repo <repo_ref> --output json
glab mr diff <mr_id> --repo <repo_ref>
glab mr note list <mr_id> --repo <repo_ref>

Step 2: Parse Unresolved Feedback

From the notes/comments, identify:

  • Actionable feedback — explicit change requests ("fix this", "add error handling", "rename to X")
  • Suggestions — optional improvements ("consider using...", "might be better to...")
  • Questions — need user input before acting ("why did you choose X?", "should this handle Y?")

Group by file and classify:

### Unresolved Feedback

#### file: src/handler.go
1. @reviewer1: "Missing error handling on line 42" — Actionable
2. @reviewer2: "Consider using context.WithTimeout" — Suggestion

#### file: src/service.go
1. @reviewer1: "N+1 query in GetUsers" — Actionable

#### Questions (need user input)
1. @reviewer1: "Should this endpoint support pagination?"

If there are questions, present them to the user via ask_user before proceeding. The user's answers become part of the context for /neo-team-copilot.

Step 3: Invoke /neo-team-copilot

skill(skill: "neo-team-copilot")

Then in the conversation, provide the task:

แก้ไขโค้ดตาม review feedback จาก MR

## Feedback Context
**MR:** !<mr_id> — <mr_title>
**Branch:** <source_branch> → <target_branch>

### Actionable Feedback
<list of actionable items with file, line, reviewer, and description>

### Suggestions
<list of suggestions — implement where practical>

### User Answers to Questions
<answers from Step 2, if any>

### MR Diff
<current diff for context>

## Instructions
- Address ALL actionable feedback items
- Implement suggestions where practical; explain in summary if skipped
- Run existing tests after changes
- Do not modify code unrelated to the feedback

Step 4: Push, Post Summary, and Resolve

After fixes are applied:

git push origin <source_branch>
glab mr note <mr_id> --repo <repo_ref> -m "<summary>"

Summary format:

## 🤖 Feedback Addressed

**MR:** !<mr_id> — <mr_title>

### สิ่งที่แก้ไข
- ✅ src/handler.go:42 — เพิ่ม error handling ตาม @reviewer1
- ✅ src/service.go:15 — แก้ N+1 query ตาม @reviewer1
- ✅ src/handler.go:58 — ใช้ context.WithTimeout ตาม @reviewer2
- ⏭️ src/config.go:10 — skipped: ไม่เกี่ยวกับ scope ของ MR นี้

### ผลลัพธ์
- Actionable: X/Y แก้แล้ว
- Suggestions: X/Y implemented

---
*Feedback addressed โดย GitLab Skill + Neo Team · Copilot CLI*

Common glab Operations

Use these directly via bash when the user asks for something other than a full review:

TaskCommand
Create MRglab mr create --repo <repo_ref> --remove-source-branch --squash-before-merge
List open MRsglab mr list --repo <repo_ref>
View MR detailsglab mr view <mr_id> --repo <repo_ref>
Approve MRglab mr approve <mr_id> --repo <repo_ref>
Check pipeline statusglab ci status --repo <repo_ref>
List pipelinesglab ci list --repo <repo_ref>
Retry a jobglab ci retry <job_id> --repo <repo_ref>
Add a note/commentglab mr note <mr_id> --repo <repo_ref> -m "<text>"

MR Creation Defaults

When creating a MR with glab mr create, always include these flags:

  • --remove-source-branch — delete source branch after merge
  • --squash-before-merge — squash commits when MR is accepted

These are team defaults and should be applied to every MR creation, whether the user explicitly mentions them or not. The user may add other flags (e.g., --title, --description, --assignee, --reviewer) as needed.

For --repo, you can omit it if you're already inside the project directory (glab detects the remote automatically).

Error Handling

  • glab not authenticated: tell the user to run glab auth login
  • glab command fails: output the review as conversation text instead of posting, explain what failed
  • Empty diff: note that the MR has no file changes and skip the review agents
  • Large diff (>500 lines): warn the user, proceed but note the review may miss details
  • Large single-line files (minified JS, large JSON): the view tool now shows partial content — note this in the review if such files are part of the diff

平台分布

Codex

38.69%
按下载量换算42

Claude

29.81%
按下载量换算32

Cursor

19.19%
按下载量换算21

Gemini CLI

8.62%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/witooh/skills --skill gitlab-copilot 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills