用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill github-changelog命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | github-changelog |
| description | Generate changelog from merged PRs and commits Use when this capability is needed. |
| metadata | {"author":"dtsong"} |
v1.2.3) with alphanumeric characters, dots, hyphens only.owner/repo format with alphanumeric characters and hyphens only.Generate a changelog from merged PRs and commits since the last release.
/gh-changelog # Changelog since last tag
/gh-changelog --since v1.0.0 # Since specific version
/gh-changelog --since v1.0.0 --until v1.1.0 # Between versions
/gh-changelog --format md # Markdown output (default)
/gh-changelog --format json # JSON output
/gh-changelog --pr-only # Only include PR information
# Get latest tag
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null)
# Or use specified version
SINCE="${SINCE_TAG:-$LATEST_TAG}"
UNTIL="${UNTIL_TAG:-HEAD}"
echo "Generating changelog: $SINCE..$UNTIL"
# Get merged PRs since last tag
gh pr list --state merged --base main --json number,title,author,labels,mergedAt \
--jq ".[] | select(.mergedAt > \"$SINCE_DATE\")"
# Or parse from git log
git log $SINCE..$UNTIL --merges --format="%s" | grep -oE '#[0-9]+'
Based on PR labels or conventional commits:
feat: → Features
fix: → Bug Fixes
docs: → Documentation
perf: → Performance
refactor: → Refactoring
test: → Tests
chore: → Maintenance
Format into structured changelog.
Changelog: v1.1.0 → HEAD
Generated: 2025-01-25
Commits: 23
PRs merged: 8
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Features
- Add dark mode support (#123) - @user1
Adds system theme detection and manual toggle
- Improve theme persistence (#124) - @user2
Saves theme preference to localStorage
- Add keyboard shortcuts (#130) - @user3
Adds Ctrl+K command palette
## Bug Fixes
- Fix login validation (#125) - @user4
Properly validates email format
- Fix memory leak in theme hook (#127) - @user1
Adds proper cleanup in useEffect
- Fix mobile responsive layout (#129) - @user5
Fixes header overflow on small screens
## Performance
- Optimize bundle size (#126) - @user6
Reduces initial load by 30%
## Documentation
- Update API documentation (#128) - @user7
Adds examples for new endpoints
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Contributors
Thanks to all contributors for this release!
@user1, @user2, @user3, @user4, @user5, @user6, @user7
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Full diff: https://github.com/owner/repo/compare/v1.1.0...HEAD
## Changelog
### Features
- Add dark mode support ([#123](https://github.com/owner/repo/pull/123)) - @user1
- Improve theme persistence ([#124](https://github.com/owner/repo/pull/124)) - @user2
- Add keyboard shortcuts ([#130](https://github.com/owner/repo/pull/130)) - @user3
### Bug Fixes
- Fix login validation ([#125](https://github.com/owner/repo/pull/125)) - @user4
- Fix memory leak in theme hook ([#127](https://github.com/owner/repo/pull/127)) - @user1
- Fix mobile responsive layout ([#129](https://github.com/owner/repo/pull/129)) - @user5
### Performance
- Optimize bundle size ([#126](https://github.com/owner/repo/pull/126)) - @user6
### Documentation
- Update API documentation ([#128](https://github.com/owner/repo/pull/128)) - @user7
### Contributors
@user1, @user2, @user3, @user4, @user5, @user6, @user7
**Full Changelog**: [v1.1.0...HEAD](https://github.com/owner/repo/compare/v1.1.0...HEAD)
{
"from": "v1.1.0",
"to": "HEAD",
"generated": "2025-01-25T10:30:00Z",
"categories": {
"features": [
{
"pr": 123,
"title": "Add dark mode support",
"author": "user1",
"labels": ["enhancement"]
}
],
"fixes": [...],
"performance": [...],
"documentation": [...]
},
"contributors": ...
If breaking changes detected:
## ⚠️ Breaking Changes
- **API change**: `getTheme()` now returns Promise (#131)
Migration: Change `const theme = getTheme()` to `const theme = await getTheme()`
- **Config format**: Theme config moved to separate file (#132)
Migration: Move theme settings from `config.json` to `theme.config.json`
| Label | Category |
|---|---|
enhancement, feature | Features |
bug, fix | Bug Fixes |
documentation | Documentation |
performance | Performance |
breaking-change | Breaking Changes |
| Prefix | Category |
|---|---|
feat: | Features |
fix: | Bug Fixes |
docs: | Documentation |
perf: | Performance |
BREAKING CHANGE: | Breaking Changes |
For PRs/commits that don't match categories:
## Other Changes
- Update dependencies (#140) - @dependabot
- Refactor internal utilities (#141) - @user8
- Add more tests (#142) - @user9
The changelog generation script is at:
~/.claude/skills/github-workflow/scripts/release-notes.sh
/gh-release to prepare release notes/gh-tag to tag the releaseConverted and distributed by TomeVault — claim your Tome and manage your conversions.