Agent Skillsalielsokary/CaskHub › release-notes

release-notes

GitHub

用于生成 CaskHub 版本发布说明。通过提取 CHANGELOG.md 最新条目,自动生成 GitHub Release 和 Sparkle appcast 描述,规范发布 PR 内容,确保用户可见的更新日志准确且格式统一。

.claude/skills/release-notes/SKILL.md alielsokary/CaskHub

触发场景

准备发布新版本 撰写 CHANGELOG.md 条目 生成 GitHub Release 正文 编写 Sparkle appcast 更新说明

安装

npx skills add alielsokary/CaskHub --skill release-notes -g -y
更多选项

非标准路径

npx skills add https://github.com/alielsokary/CaskHub/tree/master/.claude/skills/release-notes -g -y

不安装直接使用

npx skills use alielsokary/CaskHub@release-notes

指定 Agent (Claude Code)

npx skills add alielsokary/CaskHub --skill release-notes -a claude-code -g -y

安装 repo 全部 skill

npx skills add alielsokary/CaskHub --all -g -y

预览 repo 内 skill

npx skills add alielsokary/CaskHub --list

SKILL.md

Frontmatter
{
    "name": "release-notes",
    "description": "Use when cutting a CaskHub release, adding a CHANGELOG.md entry, or drafting the GitHub release body \/ Sparkle appcast description"
}

CaskHub Release Notes

Overview

CHANGELOG.md at the repo root (Keep a Changelog style: cumulative, newest first) is the single source. Scripts/release.sh extracts the TOP entry and uses it as both the GitHub release body and the Sparkle update dialog notes (embedded into appcast.xml, rendered as markdown). Feature-PR descriptions are not covered by this standard — keep them as detailed as you like. The release PR is the exception (see Release PR description below).

Format

Each release adds one entry at the top of CHANGELOG.md:

## x.y.z — YYYY-MM-DD

### What's New

- Bullet per user-visible feature

### Improvements

- Bullet per enhancement to something that already existed

### Bug Fixes

- Bullet per user-visible fix
  • The top ## header MUST be the version being cut — release.sh aborts on mismatch, so forgetting to add the new entry fails loudly.
  • Omit any section that would be empty. A patch release may be Bug Fixes only.
  • Never rewrite past entries; only add the new one on top.

Writing the bullets

Source material: git log --oneline --first-parent <prev-tag>..HEAD and the merged PR titles/descriptions since the last release.

  • User-facing language: say what changed for the user, not how it was built ("Faster search results", not "Refactored CaskRepository query path").
  • Start each bullet with a verb (Added / Fixed / Improved…), sentence case, no trailing period, one line each.
  • Collapse related minor fixes into one bullet; aim for ≤6 bullets a section.
  • Never include: back-merge PRs ("master to develop"), version-bump/appcast commits ("release: x.y.z"), CI/workflow changes, test-only changes, refactors or dependency bumps with no user-visible effect, PR numbers, commit hashes.
  • If literally everything in the range is internal, write one honest bullet under Improvements ("Under-the-hood stability improvements") rather than padding.

Release PR description

The release/x.y.z → master PR body is two parts, in order, and nothing else:

  1. Changelog — the version's What's New / Improvements / Bug Fixes bullets (the same content that ships as the release notes).
  2. Release artifacts — a short list of what the build produced: the notarized zip and build number, the appcast update, the README bump, dSYMs.

Merging behavior lives in the runbook and the publish-release.yml / sync-develop.yml workflows, not in the PR body.

Example entry

## 0.7.0 — 2026-08-02

### What's New

- Added import and export for your installed app list

### Improvements

- Faster cask search while typing

### Bug Fixes

- Fixed Homebrew repair getting stuck after relaunch
- Fixed update badge showing for already-updated casks

版本历史

  • 0.6.8 当前 2026-07-31 13:42

元信息

文件数
0
版本
0.6.8
Hash
ec2a5c71
收录时间
2026-07-31 13:42

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-01 03:03
浙ICP备14020137号-1 $访客地图$