Skip to content
Back to skills

Generate Changelog

ASecurity

Generate changelog using git-cliff, optionally bump version tag

  • 2 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 11, 2026
documentationgit

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add jcasnellie69/homelab-config --skill generate-changelog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate Changelog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate Changelog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jcasnellie69-generate-changelog/badge)](https://www.skillsdirectory.com/skills/jcasnellie69-generate-changelog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: generate-changelog
description: Generate changelog using git-cliff, optionally bump version tag
context: fork
agent: general-purpose
---

Generate or update CHANGELOG.md using git-cliff based on conventional commits.

Action: $ARGUMENTS

If no action was specified, determine the workflow by asking the user.

## Current State

Branch and status: !`git status -sb`

Recent commits: !`git log --oneline -10`

Latest tag: !`git describe --tags --abbrev=0 2>/dev/null || echo "No tags yet"`

Unpushed commits: !`git log --oneline @{u}..HEAD 2>/dev/null || echo "No upstream or no unpushed commits"`

Working directory: !`git status --porcelain | head -5 || echo "Clean"`

Unreleased changes preview: !`git-cliff --unreleased 2>/dev/null | head -20 || echo "No unreleased changes or git-cliff not configured"`

## Pre-flight Check

If uncommitted changes exist (other than CHANGELOG.md), warn the user and ask whether to continue or abort.

If no conventional commits since last tag, inform user and stop.

## Actions

**preview**: Show unreleased changes with `git-cliff --unreleased`. Report summary and stop.

**generate**: Run `git-cliff -o CHANGELOG.md`, show diff with `git diff CHANGELOG.md`, commit with message `docs: update changelog`.

**release**:

1. Analyze unreleased commits to identify types of changes (breaking, features, fixes, docs, etc.)
2. Check git-cliff recommendation: `git-cliff --bump --bumped-version`
3. Recommend version bump level with reasoning (major/minor/patch) and show proposed version
4. Ask user to confirm or override the bump level
5. Generate changelog: `git-cliff --bump -o CHANGELOG.md`
6. Show diff, commit: `docs: update changelog for v<VERSION>`
7. Create annotated tag: `git tag -a v<VERSION> -m "Release v<VERSION>"`

## Summary

Report changelog diff summary, version change (if releasing), and next step:

- If committed: "Ready to push with `git push`"
- If released: "Ready to push with `git push && git push --tags`"

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.