Skip to content
Development
Command

/generate-changelog

Generate a changelog from git history, grouping commits by type and version.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/generate-changelog

Context preview

What this command does when you run it.

Generate a changelog from git history, grouping commits by type and version.

Command definition

generate-changelog.md
name: generate-changelog
description: Generate a changelog from git history, grouping commits by type and version.

Generate a changelog from git history, grouping commits by type and version.

Steps

1. Determine the version range:

  • If `--from` and `--to` are specified, use those tags.
  • Otherwise, generate from the last tag to HEAD.
  • For initial changelog, process all commits.

2. Parse commits using conventional commit format:

  • `feat`: Features section.
  • `fix`: Bug Fixes section.
  • `perf`: Performance section.
  • `docs`: Documentation section.
  • `refactor`: Code Refactoring section.
  • `test`: Tests section.
  • `chore`/`ci`/`build`: Maintenance section.
  • `BREAKING CHANGE`: Breaking Changes section (always first).

3. For each entry, include:

  • Commit subject line.
  • Scope in parentheses if present.
  • PR number or commit hash as reference.
  • Author attribution.

4. Sort sections by importance: Breaking > Features > Fixes > Performance > Others. 5. Write or update `CHANGELOG.md` with the new version at the top. 6. If existing `CHANGELOG.md` exists, prepend the new version section.

Format

# Changelog

## [1.2.0] - 2026-02-04

### Breaking Changes
- **api**: Removed deprecated `/v1/users` endpoint (#123)

### Features
- **auth**: Add OAuth2 PKCE flow support (#120)

### Bug Fixes
- **db**: Fix connection pool leak under high concurrency (#118)

### Performance
- **cache**: Reduce Redis round-trips by 40% with pipelining (#115)

Rules

  • Follow Keep a Changelog format (keepachangelog.com).
  • Always include the date in each version header.
  • Group by type, then sort by scope within each group.
  • Skip merge commits and CI-only changes.
  • Link version headers to git comparison URLs when possible.
Read more
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin