Home › Agent workflows › Release notes skill (Claude Code SKILL.md)

Release notes skill (Claude Code SKILL.md)

A Claude Code skill that drafts user-facing release notes and a Keep a Changelog entry from the commits since your last tag, without tagging or publishing.

Claude Code (CLAUDE.md)Agent workflows

How to use

Save this as .claude/skills/release-notes/SKILL.md in your repository root, commit it, and your agent will pick it up automatically. Edit the commands to match your project.

Note: Review and test before use. Provided as is, without warranty. See Terms.

.claude/skills/release-notes/SKILL.mdDownload  
---
name: release-notes
description: Drafts user-facing release notes and a CHANGELOG.md entry from the commits since the last git tag. Use when the user asks for release notes, a changelog entry, or what is in the next release.
argument-hint: [version, e.g. 2.4.0]
allowed-tools: Bash(git for-each-ref *) Bash(git branch *) Bash(git log *) Bash(git show *)
---

## Context
- Newest tags: !`git for-each-ref --count=5 --sort=-v:refname --format='%(refname:short)' refs/tags`
- Current branch: !`git branch --show-current`

## Task
1. Range: from the newest tag above to `HEAD`. If there are no tags, ask me which commit to start from. Don't summarize the whole history.
2. Read the commits with `git log <tag>..HEAD --no-merges --format='%h%x09%s%n%b'`. For any commit whose subject is vague ("fix stuff", "wip"), check what it touched with `git show --stat <sha>` before describing it.
3. Version: use `$ARGUMENTS` if I gave one. Otherwise propose the next SemVer number and say why: major if any commit has `!` or a `BREAKING CHANGE:` footer, minor if any `feat`, otherwise patch.
4. Keep only what users notice. Skip `chore`, `ci`, `test`, `build`, `refactor` and docs-only commits unless they change behavior. Mention dependency bumps only when they fix a vulnerability or change supported versions.
5. Write each item as one plain-language sentence about the effect for users, starting with a verb ("Adds CSV export to reports"). Keep issue or PR references that appear in the commit (`#123`). Never guess: if you can't tell what a change does, put it under **Needs a human check**.
6. Produce two blocks:
   - **CHANGELOG.md entry** in Keep a Changelog format: `## [x.y.z] - YYYY-MM-DD` (today's date) with only the sections that have items, in this order: Added, Changed, Deprecated, Removed, Fixed, Security. Breaking changes go first under Changed or Removed, each with a one-line migration step.
   - **Release announcement**: a two-sentence summary plus a short bullet list, under 150 words, for a GitHub release or newsletter.
7. If `CHANGELOG.md` exists, insert the entry under `## [Unreleased]` (or above the newest version heading) without touching older entries, then show me the diff. If it doesn't exist, only print the blocks.

## Never
- Create tags, commit, push, or publish a release. Finish by printing the commands I can run myself, e.g. `git tag -a vX.Y.Z -m "vX.Y.Z"` and `gh release create vX.Y.Z --notes-file <file>`.
- Name commit authors unless the existing changelog already credits people.
- Copy internal ticket links, customer names, hostnames, or anything that looks like a secret from commit bodies.

More: all Agent workflows rules · all Claude Code (CLAUDE.md) rules

Related rules

Code review Copilot instructions

Copilot instructions focused on pull request review: what to flag, severity labels, and how to word comments.

GitHub CopilotAgent workflows

Code review prompt file (Copilot)

A Copilot prompt file (/review-changes) that reviews the current changes and reports issues by severity without editing.

GitHub CopilotAgent workflows

Code reviewer subagent (Claude Code)

A Claude Code subagent definition that reviews the current diff for bugs, security, and tests, reporting by severity.

Claude Code (CLAUDE.md)Agent workflows

/commit slash command (Claude Code)

A Claude Code /commit slash command that reviews staged changes and writes a Conventional Commits message.

Claude Code (CLAUDE.md)Agent workflows

Context management for long agent sessions CLAUDE.md

CLAUDE.md practices for keeping Claude Code effective in long sessions: lean memory, notes files, subagents, and resets.

Claude Code (CLAUDE.md)Agent workflows

Git commits & PRs AGENTS.md

AGENTS.md rules for how agents commit: Conventional Commits, atomic changes, safe git commands, and PR descriptions.

AGENTS.mdAgent workflows

Get the best new AI prompts every week

One short email a week: the best new prompts and rules for ChatGPT, Claude, Gemini, Midjourney, Cursor and more, plus what changed in the tools. Free, unsubscribe anytime.

Finishes on our newsletter page at beehiiv (opens in a new tab). Or subscribe directly.