Release notes

From tariknz/irdashies · View interactive version

Release notes is an AI agent skill from the GitHub repository tariknz/irdashies. Generate, review, or update user-facing release notes from GitHub PR descriptions for a version or comparison range.

How to use this skill

Skill file

Release Notes Generator

Generate release notes for the given version tag or range. The user will provide the version (e.g. v0.1.0) or a comparison range (e.g. v0.0.41...v0.1.0).

Read the version, comparison range, source notes, and output preferences from the user's request or conversation. In Claude Code, invocation arguments are also supplied as $ARGUMENTS; in Codex, use the text accompanying $release-notes. Ask for any required input that is missing.

Step 1: Get the PR list

Use gh to get all merged PRs in the release range. If the user provides a single version tag, find the previous released tag to build the comparison range. For a GitHub release URL, resolve the release's actual tag, target commit, and draft status first; a draft's untagged-* URL is not its version tag. If the tag does not exist yet, use the draft's target commit and record the resolved commit used for the review.

# Find the previous tag if needed
git tag --sort=-v:refname

# Get the commit range
git log <previous-tag>..<version-tag-or-target-commit> --oneline

# Extract PR numbers from merge commits or commit messages

Confirm the PR list against the actual commits in the range, rather than assuming the existing release body is complete.

Step 2: Fetch every PR description

For each PR, fetch the title, body, and author using gh:

gh pr view <number> --json title,body,author

This is critical: do NOT write release notes from PR titles alone. You MUST read the full PR description body to understand what each change actually does.

Accuracy rules

Step 3: Write the release notes

Use a user-specified output path when provided; otherwise write the notes to ~/Desktop/irdashies-demos/release-<version>.md. Resolve ~ to the current user's home directory and create the output directory if needed. Follow an explicit request to edit the GitHub release directly instead: read its current body, preserve existing user edits and relevant images, and update the notes only. Preserve the title, tag, target, assets, and draft/published state; editing a draft does not authorize publishing it.

Tone and audience

Document structure

## Features

### Feature Name (by @author)

Brief description of the feature.

- Bullet points describing what users can do

### ...more features...

### Performance Optimizations (by @author)

- **Short label:** describe the user-visible improvement (e.g. "smoother rendering"), not the implementation

### Bug Fixes

- **Short label:** one-line description of what was broken and what's fixed now (by @author)

### Changelog

- commit-prefix: title by @author in PR-URL
- ...

### New Contributors

- @user made their first contribution in PR-URL

**Full Changelog**: compare-URL

Grouping rules for the Features section

Images

Changelog ordering

Order the changelog entries by commit type, then by PR number within each group:

  1. feat:: new features
  2. fix:: bug fixes
  3. perf:: performance improvements
  4. chore:: maintenance, deps, tests, refactors (merge refactor: into chore: prefix)

What to include / exclude

Step 4: Review and verify

Before saving, check claims against the source PRs and previous release, ensure every PR appears once in the changelog with the correct author and link, retain verified contributor credits, and check that no em dashes remain. Confirm that follow-ups to newly introduced features are described only as part of their shipped behavior, and omit empty or user-excluded sections.

For a direct GitHub edit, re-read the release before writing to avoid overwriting intervening edits. Include its actual tag_name explicitly in the update; a body-only draft update can replace the intended version tag with the temporary untagged-* tag. After updating, fetch it again and verify that the saved body matches the intended notes (allowing line-ending normalization) and the release metadata and asset identities/content are unchanged. Draft release and asset download URLs can change when notes are edited; compare asset ids, names, sizes and digests, and return the release URL from this final read.

Tell the user where the notes were saved or link the edited release, briefly describe material corrections, and state whether the release remains a draft.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.