AgentSkillsCN

releasenotes

根据自上一次发布标签以来的 Git 历史,生成格式化的变更日志。在撰写发布说明时使用,可将变更内容划分为重大变更、新功能、修复补丁及其他类别。

SKILL.md
--- frontmatter
name: releasenotes
description: Generate formatted changelogs from git history since the last release tag. Use when preparing release notes that categorize changes into breaking changes, features, fixes, and other sections.
triggers:
- /releasenotes

Generate a changelog for all changes from the most recent release until now.

Steps

  1. Find the most recent release tag using git tag --sort=-creatordate
  2. Get commits and merged PRs since that tag
  3. Look at previous releases in this repo to match their format and style
  4. Categorize changes into sections: Breaking Changes, Added, Changed, Fixed, Notes
  5. Focus on user-facing changes (features, important bug fixes, breaking changes)
  6. Include PR links and contributor attribution

Output

Present the changelog in a markdown code block, ready to copy-paste into a GitHub release.