Analyzes git commit and PR history to generate structured release notes (RELEASE_NOTES.md). Automatically categorizes changes, identifies contributors, and produces a polished release document through a brief confirmation interview.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kangminhyuk1111-agents:release-notesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill generates structured release notes by analyzing git history. It determines the version range from git tags, categorizes commits by type, identifies contributors, and produces a comprehensive `RELEASE_NOTES.md`. A brief interview confirms version number, highlights, and breaking changes before final output.
This skill generates structured release notes by analyzing git history. It determines the version range from git tags, categorizes commits by type, identifies contributors, and produces a comprehensive RELEASE_NOTES.md. A brief interview confirms version number, highlights, and breaking changes before final output.
Determine the version range to document:
git tag --sort=-version:refname to find existing tags.AskUserQuestion to ask the user for the range (e.g., a specific commit SHA, "last 20 commits", or "all history")./release-notes v1.0.0..v1.1.0).Collect commit history for the determined range:
git log <range> --pretty=format:"%H|%an|%ae|%s|%b" --no-merges to get commit details.git log <range> --pretty=format:"%H|%an|%ae|%s|%b" --merges to identify PR merges.git shortlog -sne <range> to gather contributor information.Categorize each commit based on its message prefix or content:
feat, add, new, or containing "added", "implement"fix, bugfix, or containing "fixed", "resolve"BREAKING CHANGE, BREAKING:, or using ! after type (e.g., feat!:)refactor, improve, update, perf, enhancedocs, docchore, ci, build, test, style, or anything elseFor each category, extract a clean one-line summary from the commit message subject line. Strip conventional commit prefixes (e.g., feat: add login becomes Add login).
Identify potential highlights by looking for:
Present the analysis summary to the user via AskUserQuestion and confirm:
Round 1 - Version & Highlights:
Round 2 - Breaking Changes & Extras (only if applicable):
skills/release-notes/output-template.md and use it as the structure for generating RELEASE_NOTES.md in the project root.
vX.Y.Z with the confirmed version number.YYYY-MM-DD with today's date./release-notes
(In a project with git tag v1.2.0 and 15 commits since that tag)
Range: v1.2.0..HEAD (15 commits)
Categorized:
- Features (3): Add OAuth login, Add user avatar upload, Add dark mode toggle
- Bug Fixes (5): Fix session timeout, Fix mobile nav overlap, ...
- Improvements (4): Refactor auth middleware, Improve query performance, ...
- Other (3): Update CI config, Add unit tests for auth, ...
Contributors: alice (7), bob (5), charlie (3)
Suggested version: v1.3.0 (minor - new features, no breaking changes)
Questions:
1. "Based on the changes (3 new features, no breaking changes), the suggested
version is v1.3.0. What version should this release be?"
Options: ["v1.3.0 (Recommended)", "v1.2.1 (patch)", "v2.0.0 (major)"]
2. "Auto-detected highlights: OAuth login support, dark mode toggle, and
significant auth middleware refactoring. Would you like to adjust these?"
Options: ["Looks good", "I'll provide my own"]
# Release Notes - v1.3.0
> Released: 2025-01-15
## Highlights
- OAuth login support enabling Google and GitHub authentication
- Dark mode toggle with system preference detection
- Significant performance improvements in authentication flow
## Features
- Add OAuth login with Google and GitHub providers
- Add user avatar upload with image cropping
- Add dark mode toggle with system preference detection
## Bug Fixes
- Fix session timeout not redirecting to login page
- Fix mobile navigation menu overlapping content
- Fix password reset email not sending in production
- Fix race condition in concurrent API requests
- Fix incorrect timezone display in user profile
## Improvements
- Refactor auth middleware for better extensibility
- Improve database query performance for user listings
- Update error messages to be more descriptive
- Enhance logging format for production debugging
## Contributors
- @alice (7 commits)
- @bob (5 commits)
- @charlie (3 commits)
fix: nav overlap on mobile becomes "Fix mobile navigation menu overlapping content").RELEASE_NOTES.md or CHANGELOG.md files. If one exists, ask whether to append, prepend, or create a new file.npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin kangminhyuk1111-agentsGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.