Agent Skillsalielsokary/CaskHub › release-notes

release-notes

GitHub

规范 CaskHub 版本发布流程,定义 CHANGELOG.md 撰写标准、Release PR 结构及自动化脚本逻辑,确保发行说明的一致性与准确性。

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

触发场景

准备发布新版本 编写或更新 CHANGELOG.md 起草 GitHub Release 或 Sparkle 更新说明

安装

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-03 01:51
浙ICP备14020137号-1 $访客地图$