Communitygithub.com

release-notes

從 Git 歷史紀錄生成精煉的發行說明。在準備發行版本、發布 GitHub Release 前,或需要從兩個標籤之間的提交記錄產生變更日志時使用。依類型分組變更、標示重大變更,並起草重點。

release-notes 是什麼?

這個技能自動將 Git 提交歷史轉換成人們真正想讀的發行說明。它會比較兩個參考點(標籤、分支或 HEAD)之間的提交記錄,並根據 Conventional Commits 規範將其分組為功能、修復、重大變更及其他類別。技能還能檢測包含 '!' 標記或 'BREAKING CHANGE:' 頁尾的提交,自動識別重大變更,並從中選出 3 到 5 個對使用者最重要的變更作為重點摘要。輸出結果是直接可用於 GitHub Release 的 Markdown 格式。此技能支援任何使用 git 的專案,特別是遵循 Conventional Commits 規範的儲存庫,也可與 GitHub CLI 整合,進一步優化 'gh release --generate-notes' 所生成的草稿。整個流程包括收集提交、分類、撰寫重點、產出說明以及發布前的合理性檢查,確保每個重大變更都附有遷移提示,且不會遺漏對使用者重要的內容。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/unisone/openclaw-skill-suite/tree/main/skills/release-notes

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

release-notes 是做什麼的?

將原始 Git 歷史轉換成人類會想閱讀的發行說明。

功能

  • 比較兩個參考點(標籤、分支或 HEAD)之間的提交差異
  • 依類型分組變更:功能、修復、重大變更、雜項
  • 從 Conventional Commit 的 ! 標記和 BREAKING CHANGE: 頁尾檢測重大變更
  • 起草重點摘要(使用者真正關心的 3-5 項變更)
  • 輸出直接可用於 GitHub Release 的 Markdown

用法

# 即將發行版本的發行說明(上一個標籤 -> HEAD)
git log $(git describe --tags --abbrev=0)..HEAD --oneline

# 兩個標籤之間的發行說明
git log v1.2.0..v1.3.0 --pretty=format:'%h %s %b'

然後對助手說:「根據這些提交,為 v1.3.0 起草發行說明。」

或搭配 GitHub CLI 直接建立 Release 草稿:

# 建立標籤,然後從差異生成發行說明草稿
git tag v1.3.0 && git push origin v1.3.0
gh release create v1.3.0 --generate-notes --draft
# 然後使用這個技能優化生成的發行說明

流程

1. 收集提交記錄

git log <prev-tag>..<new-tag> --pretty=format:'%h|%s|%b|%an' --no-merges

如果儲存庫使用合併流程,則應另外包含合併提交 — 合併標題通常比單個提交更能總結 PR 的內容。

2. 分類每個提交

前綴 / 信號分類
feat, feat!功能
fix錯誤修復
! 或 BREAKING CHANGE:⚠️ 重大變更(也會出現在自己的章節)
perf效能改善
docs, chore, ci, refactor, test歸類於「其他變更」或省略

沒有 Conventional Commit 前綴的提交:根據訊息內容分類。如果不確定,與其無聲無息地丟棄,不如放進「其他變更」。

3. 起草重點摘要

選出對軟體使用者最重要的 3-5 項變更:

  • 使用者會注意到的全新功能
  • 使用者必須因應的重大變更
  • 廣泛回報的錯誤修復

每一項用一句簡單的句子描述。不使用行銷形容詞。

4. 撰寫發行說明

## v1.3.0

**重點**
- ...
- ...

### ⚠️ 重大變更
- ...

### 功能
- ...

### 錯誤修復
- ...

### 其他變更
- ...

**完整變更記錄:** <prev-tag>...<new-tag>

5. 發布前的合理性檢查

  • 每個重大變更都要出現在 ⚠️ 章節,並附上遷移提示
  • 僅限內部使用的雜項不能當作面向使用者的功能呈現
  • 如果儲存庫慣例有列出貢獻者,請給予貢獻者應有的署名
  • 版本號必須與標籤一致

慣例

  • 如果儲存庫已有既定的發行說明風格,請遵循該風格 — 一致性比任何範本都重要。
  • 如果儲存庫使用 gh release --generate-notes,請以它的輸出作為起始草稿並進行優化:它能正確列出清單,但重點摘要常常不對。
  • 絕不要編造提交範圍中不存在的變更。範圍不明確時,詢問要比較哪些參考點,不要自行猜測。

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

astra-operator

Delegate computer-use and browser tasks to OpenAI

design-inspo

Find design inspiration from curated gallery sites. Use when a user needs UI/UX references, design examples, or inspiration for specific components (navbars, CTAs, hero sections, landing pages, etc.), full websites, SaaS products, mobile apps, animations, icons, branding, or design systems. Helps select the right inspiration source and browse examples.

graphrag

Build a GraphRAG pipeline over documents. Use when plain vector search returns chunks without connections, when questions need multi-hop reasoning (

mundane-demos

Demo strategy that leads with mundane real-life utility instead of benchmarks. Use when presenting an AI agent or product to non-technical audiences. Covers picking tasks the viewer did this morning, showing end-to-end completion, and letting speed be the wow factor.

remotion-product-demos

Create Apple-keynote-quality product demo videos with Remotion. Covers glass phone mockups, floating 3D spheres, typing animations, card UIs, ripple effects, and smooth scene transitions. Use when asked to create product demos, app showcase videos, UI walkthrough animations, or

repo-security-scan

Scan a repository for high-signal security issues and produce a report. Use when auditing a codebase for leaked secrets or vulnerable dependencies, before a release, or when onboarding an unfamiliar repo. Runs gitleaks secret scanning and osv-scanner dependency checks.

secure-agent-design

Security architecture patterns for personal AI agents that touch real accounts. Use when designing an agent with access to inbox, calendar, finances, or shopping. Covers per-user isolated VMs, pre-action sentinel checks, least-privilege connectors, human approval gates, and single-use payment credentials.

testimonial-launch

Turn user testimonials into launch distribution. Use when launching a product or feature and you want real user proof to carry the announcement instead of marketing copy. Covers soliciting specific testimonials, curating them, and amplifying via quote-posts.

unisone/openclaw-skill-suite

Create Apple-keynote-quality product demo videos with Remotion. Covers glass phone mockups, floating 3D spheres, typing animations, card UIs, ripple effects, and smooth scene transitions. Use when asked to create product demos, app showcase videos, UI walkthrough animations, or

validator-quotes

Earn and deploy third-party validator quotes for a launch. Use when you need credibility beyond your own claims. Covers who to approach, how to get honest reactions, and how to amplify them via quote-posts, based on the founder/CEO validators behind the Muse launch.

相關技能