generate-release-notes
БесплатноБез исполняемых скриптовНе проверенGenerate comprehensive release notes for Bit from git commits and pull requests. Use when creating release notes, building changelogs, documenting version…
Об этом скилле
Generate Release Notes for Bit
This skill helps generate release notes for Bit following the established patterns and guidelines.
Important: Intermediate Files
All intermediate steps must be saved to releases-docs/temp-files/ for review. This folder is gitignored.
Required intermediate files:
raw-commits.md- Raw commit data from GitHub APIfiltered-commits.md- Two sections: filtered out commits and kept commits
Workflow
Follow these steps to generate release notes:
Step 1: Setup Temp Directory
First, ensure the temp directory exists:
mkdir -p releases-docs/temp-files
Step 2: Determine the Commit Range
Get the latest release tag and commit:
# Get latest release tag gh release view --repo teambit/bit --json tagName -q '.tagName' # Get the commit SHA for the tag (handles annotated tags) TAG="v1.12.158" # Replace with actual tag TAG_REF=$(gh api "repos/teambit/bit/git/refs/tags/$TAG" -q '.object.sha') TAG_TYPE=$(gh api "repos/teambit/bit/git/refs/tags/$TAG" -q '.object.type') if [ "$TAG_TYPE" = "tag" ]; then # Annotated tag - get the commit it points to RELEASE_COMMIT=$(gh api "repos/teambit/bit/git/tags/$TAG_REF" -q '.object.sha') else # Lightweight tag - already have the commit RELEASE_COMMIT=$TAG_REF fiDetermine the starting point:
- If user provides a specific commit hash, use that as
FROM_COMMIT - If not provided, use
HEAD(latest commit on master)
- If user provides a specific commit hash, use that as
Step 3: Fetch Commits and Save to raw-commits.md
Use the GitHub API to get commits between the release and the starting point:
# Compare commits between release and HEAD (or specific commit)
gh api "repos/teambit/bit/compare/${RELEASE_COMMIT}...${FROM_COMMIT}" \
--jq '.commits[] | "\(.sha[0:7]) | \(.commit.message | split("\n")[0]) | \(.commit.author.name)"'
Save the output to releases-docs/temp-files/raw-commits.md with the following format:
# Raw Commits
Generated: {DATE}
From: {FROM_COMMIT or HEAD}
To: {RELEASE_TAG} ({RELEASE_COMMIT})
Total commits: {COUNT}
## Commits
| Hash | Message | Author |
| ------- | ---------------------------- | ----------- |
| abc1234 | feat: add new feature (#123) | Author Name |
| def5678 | fix: resolve bug (#456) | Author Name |
...
Step 4: Filter Commits and Save to filtered-commits.md
Analyze each commit and categorize into two groups:
FILTER OUT (do not include in release notes):
- Version bump commits:
bump teambit version to X.X.X [skip ci] - CI-only changes: commits that only modify CircleCI config
- Skip CI markers: commits with
[skip ci]in the message - Auto-merge commits:
Merge branch 'X' into master
KEEP (include in release notes):
- All feature commits (
feat:) - All fix commits (
fix:) - All performance commits (
perf:) - Dependency updates (go in Internal section)
- Refactoring commits (go in Internal section)
Save to releases-docs/temp-files/filtered-commits.md with the following format:
# Filtered Commits
Generated: {DATE}
## Filtered Out ({COUNT} commits)
These commits are excluded from the release notes:
| Hash | Message | Reason |
| ------- | ----------------------------------------- | ------------ |
| abc1234 | bump teambit version to 1.13.5 [skip ci] | Version bump |
| def5678 | ci, temporarily set tag to increment by 2 | CI change |
...
## Kept for Release Notes ({COUNT} commits)
These commits will be included in the release notes:
| Hash | Message | Category |
| ------- | ------------------------------- | ------------ |
| ghi9012 | feat: add new command (#123) | New Features |
| jkl3456 | fix: resolve issue (#456) | Bug Fixes |
| mno7890 | chore(deps): bump lodash (#789) | Internal |
...
Step 5: Enrich Commit Information
For commits that are merge commits or have unclear messages, fetch PR details:
# Get PR details by number
gh pr view 12345 --repo teambit/bit --json title,body,labels
# Search for PR by commit
gh pr list --repo teambit/bit --search "SHA_HERE" --state merged --json number,title,body
Look for:
- PR title and description
- Labels (feat, fix, perf, etc.)
- Related issues
Step 6: Categorize Changes
Group the KEPT commits into these categories based on content:
| Category | Indicators |
|---|---|
| New Features | New commands, new major functionality, "Introduce", "feat:" prefix |
| Improvements | Enhancements, "Support", "Allow", "Add option", improvements to existing features |
| Performance | "Optimize", "perf:", "Reduce memory", "Speed up", "Improve performance" |
Установить generate-release-notes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл generate-release-notes?
Generate comprehensive release notes for Bit from git commits and pull requests. Use when creating release notes, building changelogs, documenting version releases, or preparing a new Bit release.
Как установить скилл generate-release-notes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generate-release-notes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic