Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release-notes

БесплатноБез исполняемых скриптовНе проверен

Generates polished GitHub release notes for a ToolHive release by analyzing every merged PR, cross-referencing linked issues, dispatching expert agents to…

stacklokот stacklok★ 2 366 звёзд на GitHub

Об этом скилле

Release Notes Generator

Produces publication-ready GitHub release notes by deeply analyzing every PR merged between two version tags.

Arguments

/release-notes https://github.com/stacklok/toolhive/releases/tag/v0.18.0
/release-notes v0.18.0

Input: $ARGUMENTS — a GitHub release URL or a tag name.


Phase 1: Gather Raw Data

Step 1: Resolve the release and prior tag

# If given a URL, extract the tag from the path
# Then find the immediately preceding release tag
gh release view <tag> --json tagName,name,body,publishedAt
git tag --sort=-v:refname | grep -A1 "^<tag>$" | tail -1

Store:

  • CURRENT_TAG (e.g., v0.18.0)
  • PREVIOUS_TAG (e.g., v0.17.0)
  • PUBLISHED_AT date

Step 2: Get the auto-generated changelog

Fetch the existing release body. GitHub's auto-generated "What's Changed" block (PR title by @author with links) will be preserved verbatim as the commit log at the bottom of the final output. Save it as AUTO_CHANGELOG.

Step 3: List all PRs between tags

gh api repos/stacklok/toolhive/compare/{PREVIOUS_TAG}...{CURRENT_TAG} \
  --jq '.commits[] | "\(.sha[0:8]) \(.commit.message | split("\n")[0])"'

Extract every PR number from commit messages (look for (#NNNN) suffixes). Exclude the release PR itself (e.g., "Release vX.Y.Z").

Step 3b: Separate dependency PRs

Filter out PRs authored by renovate[bot], dependabot[bot], or with labels containing dependencies. These go directly into the Dependencies section — they do not need expert review or further classification. Record them separately.

Step 4: Fetch PR details

For each PR, fetch:

  • Title, labels, body
  • Whether the "Breaking change" checkbox is checked in the body
  • Linked issues (look for Closes #N, Fixes #N, Part of #N, Resolves #N)
  • Migration guide content (if present in the PR body)
gh pr view <number> --json title,labels,body

Step 5: Fetch linked issue details

For each unique linked issue number, fetch title and labels:

gh issue view <number> --json title,labels

Step 6: Identify new contributors

Check the auto-generated changelog for the "New Contributors" section. Extract author handles.


Phase 2: Classify Changes

Step 1: Initial triage

Dependency PRs (from Step 3b) are already separated — skip them here.

Categorize each remaining PR into one of the categories below. Check the signals in this priority order — earlier signals are more reliable:

  1. Linked issue labels — if the linked issue has a breaking-change label, classify as Breaking regardless of whether the PR checkbox is checked.
  2. PR body content — look for explicit "breaking" mentions, removal of fields/APIs, or JSON tag renames. Note: a migration guide alone does NOT mean breaking — deprecations often include migration guides too. The key question is whether the old behavior/field/API still works. If yes, it's a deprecation. If no, it's breaking.
  3. PR labels — breaking, enhancement, bug, etc.
  4. Breaking change checkbox — least reliable; often unchecked even on genuinely breaking PRs.
Category Criteria
Breaking Old behavior/field/API no longer works — linked issue labeled breaking-change, OR "Breaking change" checkbox checked, OR PR labels contain breaking, OR PR removes fields/endpoints/flags without backwards compatibility
Deprecation PR introduces new deprecation warnings or marks fields as deprecated
New Feature Labels contain enhancement/feature, OR PR adds new user-facing capability
Bug Fix Labels contain bug, OR PR title/body indicates a fix
Misc Everything else — refactors, test improvements, CI, docs, internal cleanup

Overlap rule: If a PR belongs to multiple categories (e.g., both a new feature AND a breaking change), always classify it in the most urgent category. The priority order is: Breaking > Deprecation > Bug Fix > New Feature > Misc. The PR can still be mentioned in a secondary section (e.g., a breaking API change can also appear under New Features for its positive user impact), but its primary home is always the most urgent category.

Step 2: Identify ambiguous PRs

Any PR that touches CRD types, API surfaces, wire formats, authentication flows, or MCP protocol behavior but is NOT already classified as breaking needs expert review. Flag these for Phase 3.

Heuristics for flagging:

  • Modifies files in cmd/thv-operator/api/ or CRD manifests
  • Changes JSON/YAML struct tags (especially renames — these cause silent etcd data loss on existing resources)
  • Removes CRD fields, API fields, CLI flags, or enum values
  • Alters authentication, token handling, or middleware wiring
  • Changes MCP message formats or transport behavior
  • Renames or removes public Go types/methods consumed by external packages
  • Changes default values, config semantics, or HTTP status cod
Полный SKILL.md на GitHub

Установить release-notes в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

TEMPLATE.md

FAQ

Что делает скилл release-notes?

Generates polished GitHub release notes for a ToolHive release by analyzing every merged PR, cross-referencing linked issues, dispatching expert agents to assess breaking changes, and producing a formatted release body. Use when the user provides a GitHub release URL, tag name, or says "release notes".

Как установить скилл release-notes?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл release-notes запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить release-notes с