Skip to content

Instantly share code, notes, and snippets.

@PaulRBerg
Last active August 25, 2025 11:33
Show Gist options
  • Save PaulRBerg/fc39e73e67ed0a42ed02738d1c4e2873 to your computer and use it in GitHub Desktop.
Save PaulRBerg/fc39e73e67ed0a42ed02738d1c4e2873 to your computer and use it in GitHub Desktop.
Claude Code command for updating a CHANGELOG.md file according to Common Changelog format

Update Changelog

Update the CHANGELOG.md file with all changes since the last version release.

Process

  1. Review git history - Examine commits since the last tagged release
  2. Follow format - Use Common Changelog specification
  3. Check version - Get current version from package.json
  4. Bump version - If unchanged since last release, increment per Semantic Versioning rules:
    • PATCH (x.x.X) - Bug fixes, documentation updates
    • MINOR (x.X.x) - New features, backward-compatible changes
    • MAJOR (X.x.x) - Breaking changes

Output

Generate changelog entries categorizing changes in this order:

  • Changed - Changes in existing functionality
  • Added - New functionality
  • Removed - Removed functionality
  • Fixed - Bug fixes

Inclusion Criteria

  • Production changes only - Exclude test changes, CI/CD workflows, and development tooling
  • Reference pull requests - Link to PRs when available for context
  • Net changes only - Skip commits that revert changes made after the last release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment