changelog
星标11
分支1
更新时间2026年3月3日 02:32
Changelog Generation Command 📝
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Changelog Generation Command 📝
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Biome JavaScript/TypeScript linter and formatter
Hono lightweight web framework on Cloudflare Workers
Cloudflare Workers edge computing platform
Laravel PHP framework best practices
MySQL database best practices and query patterns
Next.js with React 19 App Router patterns
| name | changelog |
| description | Changelog Generation Command 📝 |
| disable-model-invocation | true |
Generate a changelog.md by analyzing git history and tags.
# Get all tags sorted by version (newest first)
git tag --sort=-version:refname
# Get the most recent tag
git describe --tags --abbrev=0
# Get unreleased commits since last tag
git log --oneline --no-merges $(git describe --tags --abbrev=0 2>/dev/null || echo "")..HEAD
# Get commits between two tags
git log --oneline --no-merges <prev-tag>..<current-tag>
# Get tag creation date
git log -1 --format=%ai <tag-name>
ALL_TAGS=$(git tag --sort=-version:refname)
for tag in $ALL_TAGS; do
PREV_TAG=$(git describe --tags --abbrev=0 $tag^ 2>/dev/null || echo "")
COMMITS=$(git log --oneline --no-merges $PREV_TAG..$tag)
echo "Version $tag:"
echo "$COMMITS"
echo "---"
done
# Features
git log --oneline --grep="^feat:" <tag1>..<tag2>
# Bug fixes
git log --oneline --grep="^fix:" <tag1>..<tag2>
# Documentation
git log --oneline --grep="^docs:" <tag1>..<tag2>
# Breaking changes
git log --oneline --grep="BREAKING" <tag1>..<tag2>
Run these commands and format output following Keep a Changelog format:
changelog.mdSee .cursor/rules/utils/changelog-generator-manual.mdc for full formatting rules.