Use an AI coding assistant to generate categorized, reworded release notes from the GitHub milestone. The prompt is checked into the repository and can be used with any AI tool.
The prompt file is at: .claude/commands/generate-release-notes.md
Claude Code loads this as a slash command automatically:
/generate-release-notes v2.15
Ask the AI to read and follow the prompt file, providing the milestone version:
Read and follow the instructions in
.claude/commands/generate-release-notes.mdfor milestone v2.15
- Fetches closed issues and PRs for the milestone using the GitHub CLI
- Categorizes each item using labels and PR body content (see
label-category-mapping.md) - Rewords items to be active, concise, and user-facing
- Consolidates related issues/PRs into single entries
- Excludes internal items (dependency bumps, release prep, license headers)
- Writes the release notes file to
release/release-notes/
You should review the output, especially any items the AI flags as uncertain.
- GitHub CLI - must be authenticated
- An AI coding assistant (Claude Code, Kiro, etc.)
To generate a flat, uncategorized list that requires manual organization:
You need two tools installed:
- GitHub CLI
- Python 3
Run:
./generate-initial-release-notes.sh v2.7
This will produce a file named data-prepper.release-notes-version.md.
You can now use this to help you create the release notes.
These release notes still need some work, but they are nicely formatted to help you get started.