Skip to content
Back to skills

Write Release Notes

ASecurity

Release notes from a branch's commits since its base

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentsrustgobashgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill write-release-notes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Release Notes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Release Notes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-write-release-notes/badge)](https://www.skillsdirectory.com/skills/ku5ic-write-release-notes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: write-release-notes
description: Release notes from a branch's commits since its base
argument-hint: "<optional: explicit range like main..HEAD, or base branch name>"
allowed-tools:
  - Bash(git status *)
  - Bash(git diff *)
  - Bash(git log *)
  - Bash(git branch --show-current)
  - Bash(git rev-parse *)
---

# /write-release-notes

Tone and shape: `skills/kit-rules/reference/output.md` section 4, which wins over this file; the sections this file defines stay.

<!-- chat: only
In claude.ai chat, the arguments are the user's message and the material is what they pasted. Nothing can be run: if the diff, log, or text this needs isn't in the conversation, ask for it.
-->

Loading this skill isn't enough. Before the step a row names, read its file.

| Before                                           | Read                                                               |
| ------------------------------------------------ | ------------------------------------------------------------------ |
| Grouping, wording, dating, or writing the output | [reference/changelog-practice.md](reference/changelog-practice.md) |

<!-- chat: skip -->

Generate release notes from commits unique to the current branch vs its base.

## Context

Run each and read its output: the current branch (`git branch --show-current`), the detected base (`kit git-base`), and the commits on this branch but not on the base (`kit git-base --log --no-merges`).

## Procedure

1. Interpret $ARGUMENTS:
   - If it looks like an explicit range (`ref..HEAD`, `sha1..sha2`): trust it. Pull commits with `git log --oneline --no-merges $ARGUMENTS`.
   - If it is a single ref (e.g. `develop`): use it as the explicit base. Pull commits with `git log --oneline --no-merges "$ARGUMENTS"..HEAD`.
   - If empty or not a valid git ref: the Context block used the auto-detected base; use those commits.
2. The commit list in the Context block is authoritative unless $ARGUMENTS specified an explicit range.

<!-- chat: end -->

<!-- chat: only
In claude.ai chat, generate release notes from the commit log the user pasted. There's no repo to pull a range from, so the paste is the whole list.
-->

3. For conventional-commits-style history (subjects like `feat:`, `fix:`, `chore:`), group by type. Otherwise group by inferred category (user-facing, internal, tooling).
4. Filter out noise: formatting-only commits, CI-only changes, revert pairs that cancel out, chore commits with no user impact.
5. Rewrite each kept commit into a user-facing line. "fix: correct date parsing for non-ISO inputs" becomes "Dates in non-ISO formats now parse correctly."

## Output file

<!-- chat: skip -->

Write to the path `kit scratch-dir release-notes <branch-or-range-slug>` prints.

<!-- chat: end -->

Structure: [reference/changelog-practice.md](reference/changelog-practice.md), Template.

## Rules

- User-facing language. The audience is users of the project, not the authors.

<!-- chat: skip -->

- Signatures: `skills/kit-rules/reference/workflow.md` section 1.

<!-- chat: end -->

- No commit SHAs in the output unless the project convention includes them.
- Skip merge commits, formatting commits, and dependency bumps unless a bump is itself the release reason.
- If the range has nothing worth noting, say so and propose skipping the release.
- If a commit is ambiguous ("fix stuff", "wip"): flag it in an "Unclear" section rather than inventing intent.

<!-- chat: skip -->

- If `kit git-base` resolved no base, note that in the report and fall back to last 30 commits by running `git log --oneline --no-merges -30` explicitly.

<!-- chat: end -->

- Each entry is a single short line, never a paragraph per change.

Files in this skill

  • SKILL.md4 KB
  • reference/changelog-practice.md961 B
  • sources.md338 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.