关于 glab-whatsnew
glab-whatsnew 是用于在终端查看 GitLab CLI 发布说明的技能,适合在升级 glab 后检查变更,也可按版本或基线筛选说明。
主要功能
- 01查看 GitLab CLI 发布说明
- 02显示最新版本说明
- 03按指定版本查看
- 04按基线筛选后续版本
适用场景
- 01升级 glab 后检查发布内容
- 02更新自动化前核对命令变化
- 03审查指定版本之后的发布记录
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ vince-winkintel/ gitlab-cli-skills --skill glab-whatsnew安装后在 Claude Code 中输入/glab-whatsnew确认已加载。
详细介绍
glab whatsnew
在终端中查看 GitLab CLI 发行说明。
快速开始
# Show release notes since the last viewed/post-upgrade baseline, capped at 10 releases
glab whatsnew
# Show notes for the latest published release
glab whatsnew --latest
# Show notes for a specific release
glab whatsnew v1.102.0
# Show notes for every release after a baseline
glab whatsnew --since v1.100.0
适用场景
升级 glab 后,或更新依赖命令行为的自动化脚本前,使用 glab whatsnew。这是无需打开浏览器、通过 CLI 查看上游发行说明的最快方式。
行为说明
- 不带参数时,
glab whatsnew会显示自上次运行whatsnew或看到升级后横幅以来发布的版本。 - 隐式历史记录最多显示最近 10 个版本。
- 如果自动化或审核工作需要明确的基准版本,请使用
--since <version>。 - 如果只关心最新发布的版本,请使用
--latest。
Agent 工作流
# Review all releases newer than the skill repo's last processed glab baseline
glab whatsnew --since v1.100.0
# Then inspect command help for any relevant new/changed command surfaces
glab repo prune --help
glab mr note create --help
glab stack sync --help
不要仅凭发行说明中的文字就将其视为约定。更新技能时,请先通过 glab <command> --help 或上游文档/源码确认命令接口的变化,再编辑指南。
命令参考
glab whatsnew [version] [--flags]
Flags:
--latest Show release notes for the latest published release only
--since Show release notes for every release newer than this version
-h --help Show help for this command
评论
支持 Markdown