Command Palette

Search for a command to run...

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

release-notes-generator

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

Generates GitHub release notes by comparing commits since the last tag. Use when user says "prepare release", "release notes", "next release", "release text"…

letehahaот letehaha★ 280 звёзд на GitHub

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

Release Notes Generator

Generates formatted release notes for the next GitHub release by analyzing commits and PRs since the last tag, following the project's established release format.

Mode

This skill is a direct execution workflow — no questions needed. Gather all context from git history and PRs, produce the release text, then run it through the stop-slop skill (Step 6) before showing it to the user.

When to Use

  • User asks to prepare release notes or release text
  • User mentions "next release", "prepare release", "release notes"
  • User wants to create a new GitHub release

Instructions

Step 1: Determine Last Release

Run these commands to identify the latest release tag and its format:

# Get the latest tag
git tag --sort=-creatordate | head -1

# View the latest release body to match its format
gh release view <latest-tag>

Also view 1-2 previous releases to understand the format pattern.

Step 2: Collect Changes Since Last Release

# All commits (including merges) since last tag
git log <latest-tag>..HEAD --oneline

# Non-merge commits only — these are the primary source of truth for understanding changes
git log <latest-tag>..HEAD --oneline --no-merges

# Merged PRs with authors and URLs (needed for the Code Changes section)
gh pr list --state merged --base dev --limit 30 --json number,title,url,author,mergedAt | jq -r '.[] | "#\(.number) @\(.author.login) \(.mergedAt) \(.title) \(.url)"'

Feature and fix PRs are merged into dev; the only PR with --base main is the Release vX.Y.Z PR itself, which is the release being written up rather than a change within it.

Filter PRs to only those merged AFTER the latest tag date.

Step 3: Understand Changes

For each PR, use a priority chain to understand what changed:

  1. PR description (check first) — if the PR body is non-empty, use it as the primary source
  2. Commit messages (fallback) — if PR description is empty, read the commit messages within that PR
  3. Diff stat (last resort) — if commits are also unclear, check the changed files
# Check PR description first
gh pr view <number> --json title,body

# If empty, read commit messages
git log <latest-tag>..HEAD --oneline --no-merges

# Last resort — check what files changed
git show <commit-hash> --stat

Categorize by commit prefix:

  • feat: commits = new user-facing functionality
  • fix: commits = bug fixes
  • refactor: / chore: commits = internal improvements

For fix: commits, the priority chain above is not enough — it tells you what was changed, not who the bug hit. Before writing the fix line, also check the linked issue (gh issue view <n>, often referenced as "Closes #N" in the PR body) and, when the condition is still unclear, read the actual call site to see when the broken path was taken. See the bug-fix scope rule under Format rules — a fix line that can't name the affected flow and condition isn't ready to ship.

Collect credits (mandatory)

Releases regularly include work from other people. Never assume a PR is by @letehaha; build the credit list from data:

  1. PR authors: take @author from the Step 2 PR list for every PR. That login goes in its Code Changes line.
  2. First-time contributors: for every author other than letehaha, check whether a PR of theirs was merged before this release:
    gh pr list --state merged --author <login> --limit 100 --json number,mergedAt --jq 'sort_by(.mergedAt)|.[0]|"#\(.number) \(.mergedAt)"'
    
    If their earliest merged PR is in this release, list them under ## New Contributors with that PR.
  3. Bug reporters: every issue or discussion referenced by a PR body or a commit message ("Closes #N", "Fixes #N", "Refs discussion #N") has a reporter. This includes commits pushed to dev without a PR. Find each reporter:
    git log <latest-tag>..HEAD --no-merges --format='%h %B' | grep -iE '#[0-9]+'
    gh issue view <n> --json author --jq .author.login
    gh api graphql -f query='{repository(owner:"letehaha",name:"moneymatter"){discussion(number:<n>){author{login}}}}' --jq .data.repository.discussion.author.login
    
    Skip letehaha. Thank everyone else at the end of the matching fix or feature line: Thanks to @<login> for the report.

Present this credit list to the user next to the notes (Step 8), so a missing name is easy to spot.

Group changes into these categories (skip empty ones):

  1. Feature highlights — new user-facing functionality (describe what it does for the user, not the code)
  2. Bug fixes — fixes to existing behavior
  3. Other improvements — SEO, performance, refactoring, chore work

Step 4: Determine Release Version

  • Look at the latest tag (e.g., v0.10.6)
  • Default: always increment the patch version (e.g., v0.10.6 → v0.10.7), regardless of the scope of changes.
  • Only bump minor or major when the user explicitly asks for it in their request (e.g., "minor bu
Полный SKILL.md на GitHub

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

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

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

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

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

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

Bash
Read
Skill

FAQ

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

Generates GitHub release notes by comparing commits since the last tag. Use when user says "prepare release", "release notes", "next release", "release text", "prepare next release text", or "create release".

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

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

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

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

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

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