Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

gitlab-address-commentsGitLab address comments 搜索

Agent Skill

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

总安装

1,102

周安装

45

GitHub Stars

17,875

下载量

353
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/openai/skills --skill gitlab-address-comments

简介

用于围绕 GitLab 项目、Merge Request、Issue 等流程提供辅助能力。

  • 适合查询项目状态、整理提交差异、辅助检查合并请求或汇总 CI 结果。
  • 使用时需确认项目权限和访问 token,涉及合并或改工单应预览影响。
  • 安装方式:通过 npx 从指定 GitHub 仓库添加技能。
  • 建议在使用前核对团队流程和目标分支范围。

SKILL.md

MR Comment Handler

Find the open MR for the current branch and address its review threads using glab. Run all glab commands with elevated network access.

Prerequisites

  • Ensure glab auth status succeeds (via glab auth login or GITLAB_TOKEN).
  • Ensure glab is at least v1.80.4.
  • When sandboxing blocks network calls, rerun with sandbox_permissions=require_escalated.
  • Sanity check auth up front:
glab auth status

1) Resolve the MR for the current branch

Do a quick check so we know which MR we are about to operate on:

branch="$(git rev-parse --abbrev-ref HEAD)"
glab mr view "$branch" --output json

If this fails, the fetch script below will still try to locate the MR by source_branch.

2) Fetch unresolved discussions to /tmp

Use the local script to fetch MR discussions via glab api. This filters out bot/system-only threads and returns unresolved discussions when --open-comments is set.

skill_dir="<path-to-skill>"
branch="$(git rev-parse --abbrev-ref HEAD)"
safe_branch="${branch//\//_}"
out="/tmp/${safe_branch}_mr_open_discussions.json"
python "$skill_dir/scripts/fetch_comments.py" --open-comments --output "$out"

If you want the full payload (including resolved discussions), drop --open-comments.

3) Summarize, triage, and ask once

  • Load the JSON and number each unresolved discussion.
  • Start with a compact summary list instead of dumping full threads.
  • Sort by: unresolved first (already filtered), then most recently updated.
  • When possible, group or label by file path to reduce context switching.
  • In the summary list, show: number, discussion id, author, file:line (if present), and a one-line summary.
  • Ask for a batch selection in one shot. Accept: 1,3,5-7, all, none, or top N.
  • If the user does not choose, suggest a small default set (for example top 3) with a short rationale.
  • Only after selection, show the full thread and code context for the selected numbers.
  • When showing code context, include 3 lines before and after and clearly mark the referenced line(s).

4) Implement fixes for the selected discussions

  • Apply focused fixes that address the selected threads.
  • Run the most relevant tests or checks you can in-repo.
  • Report back with: what changed, which discussion numbers were addressed, and any follow-ups.

Notes:

  • If glab hits auth or rate issues, prompt the user to run glab auth login or re-export GITLAB_TOKEN, then retry.
  • If no open MR is found for the branch, say so clearly and ask for the MR URL or IID.
  • Do not prompt “address or skip?” one comment at a time unless the user explicitly asks for that mode.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.29%
按下载量换算125

Claude

28.79%
按下载量换算102

Cursor

17.41%
按下载量换算61

Gemini CLI

9.76%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills