Awesome-omni-skill pop-changelog-automation
Enhanced changelog generation with semantic versioning, auto-categorization, and release notes. Parses conventional commits, determines version bump (MAJOR.MINOR.PATCH), categorizes changes by type, generates CHANGELOG.md updates, and creates GitHub release notes. Use before releases or on PR merge to automate version management.
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cli-automation/pop-changelog-automation" ~/.claude/skills/diegosouzapw-awesome-omni-skill-pop-changelog-automation && rm -rf "$T"
skills/cli-automation/pop-changelog-automation/SKILL.mdEnhanced Changelog Automation
Overview
Automatically generate CHANGELOG.md updates and GitHub release notes from conventional commits with semantic versioning analysis. This skill provides intelligent version management and changelog generation that surpasses Auto Claude's capabilities.
Key Features
- Semantic Versioning - Auto-detect MAJOR.MINOR.PATCH bumps
- Auto-Categorization - Group commits by type (feat, fix, breaking, etc.)
- Breaking Change Detection - Highlight breaking changes with migration notes
- Release Notes Generation - Auto-generate GitHub release notes
- Integration Ready - Seamless integration with git workflow
Conventional Commit Format
PopKit follows conventional commit format:
<type>(<scope>): <subject> <body> <footer>
Commit Types
| Type | Description | Version Bump |
|---|---|---|
| New feature | MINOR (1.0.0 → 1.1.0) |
| Bug fix | PATCH (1.0.0 → 1.0.1) |
| Performance improvement | PATCH |
| Code refactoring | PATCH |
| Documentation only | PATCH |
| Test additions/updates | PATCH |
| Maintenance tasks | PATCH |
| CI/CD changes | PATCH |
| Build system changes | PATCH |
| Formatting, no code change | PATCH |
| Breaking change | MAJOR (1.0.0 → 2.0.0) |
Version Bump Rules
The changelog generator automatically determines the appropriate version bump:
# MAJOR bump (1.0.0 → 2.0.0) - Any commit with "BREAKING CHANGE" in body or footer - Incompatible API changes - Major architectural changes # MINOR bump (1.0.0 → 1.1.0) - feat: commits - New features added - Backward-compatible functionality # PATCH bump (1.0.0 → 1.0.1) - fix: commits - Bug fixes - Performance improvements - Refactoring - Documentation updates
Usage
Automatic (Recommended)
Changelog is automatically updated when:
-
Before PR creation (
)/popkit:git pr- Analyzes commits since last release
- Generates changelog entry
- Updates CHANGELOG.md
- Includes changelog in PR description
-
Before release (
)/popkit:git release- Determines version bump automatically
- Updates CHANGELOG.md with new version
- Generates GitHub release notes
- Creates git tag
-
On PR merge (via hook)
- Updates changelog for merged changes
- Prepares for next release
Manual
# Preview changelog for next version (auto-determined) /popkit:git changelog --preview # Generate changelog with specific version /popkit:git changelog --version 1.1.0 # Generate since specific tag /popkit:git changelog --since v1.0.0 # Generate GitHub release notes /popkit:git changelog --release # Auto-determine version bump /popkit:git changelog --auto # Update CHANGELOG.md /popkit:git changelog --update
Python CLI
# From project root cd /path/to/project # Preview next version python packages/shared-py/popkit_shared/utils/changelog_generator.py --preview # Auto-determine version and update CHANGELOG.md python packages/shared-py/popkit_shared/utils/changelog_generator.py --auto --update # Generate GitHub release notes python packages/shared-py/popkit_shared/utils/changelog_generator.py --release # Get version bump analysis as JSON python packages/shared-py/popkit_shared/utils/changelog_generator.py --json
Output Examples
CHANGELOG.md Entry
## [1.1.0] - 2026-01-08 ### ✨ Features - **changelog-automation**: Enhanced changelog generation with semantic versioning (#27) - **git-workflow**: Automatic changelog updates on PR creation and merge (#28) - **release-notes**: Auto-generate GitHub release notes from commits (#29) ### 🐛 Bug Fixes - **git**: Fix merge conflict detection in subdirectories (#30) - **hooks**: Correct Windows path handling in pre-commit hook (#31) ### 💥 BREAKING CHANGES - **api**: Change authentication endpoint from /auth to /api/auth - Migration: Update all API calls to use new endpoint - See migration guide: docs/migrations/v1.1.0.md ### 📚 Documentation - **readme**: Update installation instructions with new requirements - **skills**: Add usage examples for changelog automation ### ⚡ Performance - **complexity-analyzer**: Reduce analysis time by 40% with caching ### 🔧 Chores - **deps**: Update dependencies to latest versions - **ci**: Add automated changelog generation to CI pipeline
GitHub Release Notes
# PopKit 1.1.0 - Enhanced Changelog Automation ## 🎉 What's New ### Changelog Automation Enhanced changelog generation with semantic versioning, auto-categorization, and intelligent version bump detection. Simply commit using conventional format and get professional changelogs automatically. (#27) ### Git Workflow Integration Automatic changelog updates on PR creation and merge. No more manual changelog maintenance - PopKit handles it all for you. (#28) ### Release Notes Generation Auto-generate GitHub release notes from commits with proper formatting, breaking change warnings, and migration guides. (#29) ## 💥 Breaking Changes ### Change authentication endpoint from /auth to /api/auth **Migration:** - Update all API calls to use new endpoint - See migration guide: docs/migrations/v1.1.0.md ## 🐛 Bug Fixes - Fix merge conflict detection in subdirectories (#30) - Correct Windows path handling in pre-commit hook (#31) ## 📊 Statistics - **Features Added:** 3 - **Bug Fixes:** 2 - **Total Commits:** 12 - **Issues Closed:** 5 ## 🔗 Links - **Full Changelog:** [CHANGELOG.md](CHANGELOG.md#110---2026-01-08) - **Issues Closed:** #27, #28, #29, #30, #31 --- **Install:** `/plugin install popkit-suite@popkit-claude` **Upgrade:** `/plugin update popkit-suite`
Integration with Git Workflow
PR Creation Flow
# When creating PR with /popkit:git pr: 1. Detect commits since last release 2. Analyze commit types 3. Determine version bump (if release PR) 4. Generate changelog entry 5. Update CHANGELOG.md 6. Include changelog in PR description 7. Create PR
Release Flow
# When creating release with /popkit:git release: 1. Get commits since last version tag 2. Determine semantic version bump 3. Calculate next version 4. Generate changelog entry 5. Update CHANGELOG.md 6. Generate GitHub release notes 7. Save release notes file 8. Create git tag with version 9. Create GitHub release with notes 10. Publish release
Breaking Change Format
When introducing breaking changes, use this format:
feat(api): Change authentication endpoint Move authentication from /auth to /api/auth for consistency with REST API structure. BREAKING CHANGE: Authentication endpoint changed from /auth to /api/auth Migration: Update all API calls to use new endpoint See migration guide: docs/migrations/v1.1.0.md
The changelog generator will:
- Detect "BREAKING CHANGE" in footer
- Categorize as MAJOR version bump
- Extract migration notes from footer
- Highlight in both CHANGELOG.md and release notes
Validation
The changelog generator validates:
- Conventional commit format - Ensures commits follow
formattype(scope): description - Version bump logic - Correctly determines MAJOR/MINOR/PATCH
- Breaking change detection - Identifies "BREAKING CHANGE" in footer
- Issue reference extraction - Finds all #N references
- Categorization - Groups commits by type with proper priority
Best Practices
- Use conventional commits - Always format commits as
type(scope): description - Include issue references - Add
to link commits to issues(#123) - Document breaking changes - Use BREAKING CHANGE footer with migration notes
- Scope your commits - Use meaningful scopes like
,api
,uicore - Write clear descriptions - Make it easy to understand the change
Value Delivery
Time Saved:
- Manual changelog: 30-45 minutes per release
- Automated changelog: 30 seconds
- Savings: 98%+ time reduction
Quality Improved:
- Consistent changelog format
- No missed commits
- Proper semantic versioning
- Clear breaking change communication
- Professional release notes
Technical Details
Implementation
The changelog automation is implemented in:
Python utility:
packages/shared-py/popkit_shared/utils/changelog_generator.py
- Main
classChangelogGenerator - Git commit parsing
- Semantic version bump detection
- CHANGELOG.md and release notes generation
Skill:
packages/popkit-dev/skills/pop-changelog-automation/SKILL.md
- Usage documentation
- Integration patterns
- Examples and best practices
Dependencies
No external dependencies required. Uses only Python standard library:
- Git command executionsubprocess
- Conventional commit parsingre
- JSON output formatjson
- Timestamp generationdatetime
- File path handlingpathlib
Examples
Example 1: Automatic Version Bump
# Current version: v1.0.0 # Commits since last tag: # - feat(ui): Add dark mode toggle # - fix(api): Correct rate limit calculation # - docs: Update README # Run changelog generator python changelog_generator.py --auto --update # Output: # Auto-determined version bump: MINOR # Next version: 1.1.0 # ✅ Updated CHANGELOG.md with v1.1.0
Example 2: Breaking Change Release
# Current version: v1.5.2 # Commits include: # - feat(auth): Implement OAuth2 # BREAKING CHANGE: Removed basic auth support # Run changelog generator python changelog_generator.py --auto --release # Output: # Auto-determined version bump: MAJOR # Next version: 2.0.0 # # # PopKit 2.0.0 # # ## 🎉 What's New # ⚠️ This release contains 1 breaking change(s) - please review...
Example 3: JSON Analysis
# Get version bump analysis python changelog_generator.py --json # Output: { "version": "1.1.0", "version_bump": "minor", "suggested_version": "1.1.0", "commit_count": 12, "issues_closed": [27, 28, 29], "grouped": { "feat": [...], "fix": [...], "docs": [...] } }
Success Criteria
- Conventional commits parsed correctly
- Version bump determined automatically
- Changes categorized by type with emojis
- CHANGELOG.md updated with new entry
- GitHub release notes generated
- Breaking changes highlighted with migration notes
- Python CLI with all features
- Integration with
command/popkit:git pr - Integration with
command/popkit:git release - Commit message validation hook
- Automated tests
Next Steps
- Git command integration - Add changelog flags to
and/popkit:git pr/popkit:git release - Pre-commit hook - Validate conventional commit format
- Automated tests - Test version bump logic and changelog generation
- GitHub Actions - Auto-update changelog on PR merge
- Visual reports - Generate HTML changelog reports
Strategic Value: This quick win from Issue #27 delivers immediate time savings while establishing PopKit as superior to Auto Claude in changelog automation quality and intelligence.