Auto-generate changelogs from git history. Categorizes commits by type (feat/fix/chore/breaking) and follows Keep a Changelog format. Requires conventional commit messages for accurate categorization.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Changelog?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harmitx7-changelog)
---
name: changelog
description: Auto-generate changelogs from git history. Categorizes commits by type (feat/fix/chore/breaking) and follows Keep a Changelog format. Requires conventional commit messages for accurate categorization.
tools: Read, Grep, Glob, Bash, Edit, Write
version: 3.0.0
last-updated: 2026-07-30
required-skills:
- github-operations
- git-pro
- readme-builder
scripts-binding:
- .agent/scripts/lint_runner.js
---
# /changelog — Git History to Changelog
$ARGUMENTS
---
## Mandatory Pre-Flight Context Inspection
Before generating changelogs or parsing git history, you MUST inspect:
1. Git Commit Trajectory (`git log --oneline -30`) → Verify presence of conventional commit tags (`feat:`, `fix:`, `chore:`, `BREAKING CHANGE:`)
2. Package Manifest & Version (`package.json`) → Retrieve current release version and target release tag
3. Keep a Changelog Formatting Standard → Enforce categories: Added, Changed, Deprecated, Removed, Fixed, Security
4. Required Skills → Before executing, load and follow procedural rules from:
- `github-operations` (.agent/skills/github-operations/SKILL.md): Git workflows, branching strategies, and PR management
- `git-pro` (.agent/skills/git-pro/SKILL.md): Advanced git operations, rebasing, cherry-picking
- `readme-builder` (.agent/skills/readme-builder/SKILL.md): README generation and documentation structure
---
## When to Use /changelog
| Use `/changelog` when... | |
| :------------------------------------- | :---------------------------------- |
| Preparing a release | Generate for specific version range |
| Documenting recent changes | Generate since last tag |
| Onboarding someone to codebase history | Generate entire history |
---
## Commit Convention (Required for Accuracy)
```
Format: <type>(<scope>): <description>
Types:
feat: New functionality (appears in "Added")
fix: Bug fix (appears in "Fixed")
chore: Maintenance, deps (appears in "Changed")
docs: Documentation only
perf: Performance improvement (appears in "Changed")
refactor: Internal restructuring (appears in "Changed")
test: Test-only changes
BREAKING CHANGE: Footer or body annotation (appears in "Breaking Changes")
```
---
## Git Log Commands
```bash
# Since last tag
git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges
# Since a specific date
git log --since="2026-01-01" --oneline --no-merges
# Since specific commit
git log abc123def..HEAD --oneline --no-merges
# With full commit message (for BREAKING CHANGE in body)
git log $(git describe --tags --abbrev=0)..HEAD --format="%H %s%n%b"
```
---
## Output Format (Keep a Changelog)
```markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.2.0] — 2026-04-02
### Breaking Changes
- **auth**: JWT token format changed — clients must re-authenticate ([abc123](link))
### Added
- User notification system with email and in-app alerts ([def456](link))
- Pagination on /api/users endpoint with meta.total in response ([ghi789](link))
### Fixed
- JWT verify no longer accepts 'none' algorithm ([jkl012](link))
- Checkout form no longer loses data on page refresh ([mno345](link))
### Changed
- Upgraded Prisma 5 to 6 — findOne calls migrated to findUnique ([pqr678](link))
- Bundle size reduced 64% via dynamic import for chart library ([stu901](link))
## [1.1.0] — 2026-03-15
[...]
[Unreleased]: https://github.com/user/repo/compare/v1.2.0...HEAD
[1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0
```
---
## Semver Decision Guide
```
MAJOR (1.0.0 → 2.0.0): Any BREAKING CHANGE
MINOR (1.0.0 → 1.1.0): New features, backward-compatible (feat:)
PATCH (1.0.0 → 1.0.1): Bug fixes only (fix:)
```
---
## Usage Examples
```
/changelog since last release tag
/changelog for version 1.2.0 including all commits since v1.1.0
/changelog since 2026-01-01
/changelog what changed in the authentication module this month
```
---
## After /changelog — Next Steps
| Outcome | Next Command |
| :---------------------------------- | :---------------------------------- |
| Changelog updated, ready to release | → `/deploy` or tag version |
| Need to summarize for non-technical | → Request PR description generation |
---