release-notes
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when the user asks to "create release note", "generate release notes", "release notes", "release changelog", "update GitHub…
от tektoncd★ 223 звезды на GitHubОб этом скилле
Release Notes Generation
Generate categorized release notes for Pipelines-as-Code releases by gathering PR/commit data between two git tags and producing formatted markdown output.
Purpose
Replace the hack/generate-releasenotes.py + Gemini workflow with a Claude-native skill that:
- Auto-detects current and previous tags
- Gathers PR and commit data via
ghCLI - Uses Claude itself for intelligent categorization (no external AI API needed)
- Outputs release notes matching the project's established format
- Optionally updates the GitHub release
Workflow
Step 1: Pull latest tags
git pull origin --tags
Ensure all tags are available locally before detection.
Step 2: Detect repository info
gh repo view --json owner,name
Extract owner and repo name for API calls.
Step 3: Detect tags
If the user specified a version (e.g. "create release note v0.31.0"), use that directly as the current tag — skip auto-detection. Validate that the tag exists locally:
git tag --list 'v0.31.0'
If the tag doesn't exist locally, error and ask the user to verify.
Otherwise, auto-detect current tag:
git tag --points-at HEAD
Filter for v* prefixed tags. If no tag points at HEAD, list recent tags and ask the user which tag to use:
git tag --list 'v*' --sort=-version:refname | head -10
Previous tag:
git tag --list 'v*' --sort=-version:refname
Find the entry immediately after the current tag in the version-sorted list.
CRITICAL: Confirm both tags with the user before proceeding. Display:
Current tag: v0.31.0
Previous tag: v0.30.0
Proceed with these tags? (y/n)
Step 4: Verify prerequisites
Check gh authentication:
gh auth status
If not authenticated, instruct the user to run gh auth login.
Validate that both tags exist on GitHub:
gh api repos/{owner}/{repo}/git/ref/tags/{current_tag}
gh api repos/{owner}/{repo}/git/ref/tags/{previous_tag}
If either tag does not exist on GitHub, stop and report the error — do not proceed.
Check GitHub release status for the current tag:
gh release view {current_tag} --json isDraft,isPrerelease,tagName
- If no release exists for the tag: warn the user, but allow proceeding (notes can be generated for preview, but cannot be uploaded).
- If the release is a draft (
isDraft: true): proceed normally — this is the expected state for generating release notes. - If the release is published (not draft, not prerelease): ask for explicit confirmation before proceeding, since updating will override an already-published release:
⚠️ The release for {current_tag} is already published (not a draft).
Updating it will override the existing release notes.
Are you sure you want to proceed? (y/n)
Only continue if the user confirms.
Step 5: Gather PR/commit data
Use gh api to collect data between the two tags:
Compare commits:
gh api repos/{owner}/{repo}/compare/{previous_tag}...{current_tag} --jq '.commits[].sha'
For each commit, find associated PRs:
gh api repos/{owner}/{repo}/commits/{sha}/pulls
Deduplicate by PR number. For each PR/commit, extract:
- PR number, title, body, author, URL, labels
- JIRA tickets using regex pattern:
SRVKP-\d+(search in PR title, PR body, and commit message)
For commits not associated with any PR, include them as standalone commit entries with their SHA, message, author, and URL.
IMPORTANT: This step involves many API calls. Process commits in reasonable batches and report progress to the user.
Step 6: Categorize changes
Using the gathered PR/commit data, categorize each entry into exactly these sections (skip empty ones):
## ✨ Major changes and Features## 🐛 Bug Fixes## 📚 Documentation Updates## ⚙️ Chores
Use the entry format specified in references/release-notes-format.md.
Categorization guidelines:
- New capabilities, enhancements, significant behavior changes → Features
- Bug fixes, error corrections, regression fixes → Bug Fixes
- Documentation-only changes (docs/, README, comments) → Documentation Updates
- Dependencies, CI/CD, refactoring, formatting, test-only changes → Chores
- Within each section, entries with JIRA tickets go FIRST, before entries without JIRA tickets
Internal vs user-facing detection:
Changes that match ANY of these patterns are internal and belong in Chores, NOT Features — regardless of feat: prefix:
- CI/CD pipeline changes (
.tekton/,.github/workflows/, Makefile targets) - Release infrastructure (release scripts, release pipeline tasks, goreleaser config)
- Test infrastructure (test helpers, e2e framework, test configuration)
- Build system changes (Dockerfile, ko config, build scripts)
- Developer tooling (linter config, pre-commit hooks, code generation)
- Internal refactoring that doesn't change user-visible beha
Установить release-notes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release-notes?
This skill should be used when the user asks to "create release note", "generate release notes", "release notes", "release changelog", "update GitHub release", or wants to generate categorized release notes between tags. Gathers PR/commit data via gh CLI, categorizes changes, and outputs formatted release notes. The user can optionally specify a release version (e.g. "create release note v0.31.0") to bypass auto-detection.
Как установить скилл release-notes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-notes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic