Release notes
Generate release notes by analyzing git commits and diffs. Use when asked to create release notes, changelog entries, or summarize code changes between versions.From its SKILL.md
npx -y skills add czue/agent-tools --skill release-notesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.5 KB, as published. Nobody here has run it
Release Notes Generator for SaaS Pegasus
Generate professional release notes for code changes between git refs. Can be run from any directory.
Arguments
$0: from_ref (e.g., "v1.0", commit SHA, or branch name)$1: to_ref (e.g., "v1.1", "HEAD", or branch name)$2: (optional) path to the git repository to analyze$3: (optional) path to reference release notes file for style matching$4: (optional) output file path (default: prompt user)
Defaults
Users can customize these defaults. If a default is set and the corresponding argument is not provided, use the default without prompting.
default_repo_path:/home/czue/src/personal/pegasus- Note: this repo's default branch is
develop(releases are merged toorigin/main, so "changes since the last release" is usuallyorigin/main..HEAD).
- Note: this repo's default branch is
default_release_notes_path: the skill's built-in examples.md
Workflow
-
Resolve the repo path:
- If
$2is provided, use it. - Else if
default_repo_pathis set, use that. - Otherwise, use
AskUserQuestionto ask the user: "What is the path to the git repository to analyze?" with an option for the current directory (.) and an option to enter a custom path.
- If
-
Resolve the release notes reference file:
- If
$3is provided, use it. - Else if
default_release_notes_pathis set, use that. - Otherwise, use
AskUserQuestionto ask: "Is there an existing release notes file to use as a style reference?" with options "No reference file" and "Enter a path".
- If
-
Read reference notes (if a reference path was resolved) to match tone and structure.
-
Run the diff script to get commit and file change data:
python <skill-dir>/scripts/make_diff.py --from "$0" --to "$1" --repo-dir <resolved_repo_path> -
Draft release notes following the guidelines below.
-
Output handling: If
$4is provided, write to that file. Otherwise, display the notes and ask if user wants to save them. For Pegasus, the destination is one of two files in the pegasus-docs repo (~/src/personal/pegasus-docs/src/content/docs/) — ask which unless it's clear from context:release-notes-dev.mdxfor unreleased versions: replace the "There haven't been any updates since the last release." placeholder and omit the*Month Day, Year*date line (it gets added when the notes move to the main file on release).release-notes.mdxfor shipped releases: add the new entry above the previous one, including the date line.
Style Guidelines
- Format: 1-2 sentences describing the release, followed by a detailed list of changes
- Large features can have their own section at the top; otherwise, use a flat list
- Use commit messages to understand intent of changes
- Highlight substantial changes from diffs that aren't in commit messages
- Never mention cookiecutter - translate cookiecutter markup changes to human terms
- Ignore commits starting with "invisible:" or "tool:" - don't mention them or their files
- For library upgrades, only mention specific libraries if explicitly called out in commits
- Use bold sparingly — only on the bullets that deserve attention, not on every item
Additional Resources
- For formatting examples and style reference, see examples.md