Index of every page on this site: llms.txt
All skills
Run it yourself

Create or update CHANGELOG.md following the Keep a Changelog 1.1.0 format. Use this skill whenever the user mentions changelog, release notes, tracking changes, documenting changes, updating CHANGELOG.md, preparing a release, or wants to know what changed between versions. Also triggers for phrases like 'update the changelog', 'what changed since last release', 'add to changelog', 'prepare release notes', 'create a changelog', 'document the changes', 'log the changes'. Handles creating new changelogs, adding entries to Unreleased, and promoting Unreleased to a versioned release.

Use this Skill: https://skilld.dev/gh/thedoobieapp/git-tools/changelog

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈149 tokens for metadata: the name and description. ≈1.6k when used: this file. ≈1.7k more on demand in 2 files.

Description uses 7.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈597 characters, or 7.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Changelog SKILL

Context

  • Repo check ((no repo) means this directory is not under git): !out=$(git rev-parse --show-toplevel 2>/dev/null) || true; printf '%s\n' "${out:-(no repo)}"
  • Current branch: !out=$(git branch --show-current 2>/dev/null) || true; printf '%s\n' "${out:-(no branch — detached HEAD, or no repo)}"
  • Latest tags: !out=$(git tag --sort=-version:refname 2>/dev/null | head -5) || true; printf '%s\n' "${out:-(no tags yet)}"
  • Git status: !out=$(git status --short 2>/dev/null) || true; printf '%s\n' "${out:-(working tree clean)}"

Your task

Maintain CHANGELOG.md following ${CLAUDE_PLUGIN_ROOT}/skills/changelog/references/keep-a-changelog-1.1.0.md conventions.

Step 0 — Confirm there is a repo

If the repo check in the context reads (no repo), this directory is not under version control. Say so, point the user at init to create the repo, and stop — nothing below applies until there is one.

Step 1 — Detect mode

Determine what the user wants:

  1. Create — No CHANGELOG.md exists yet → create one from scratch
  2. Update — Add entries to the ## [Unreleased] section
  3. Release — Move Unreleased entries into a new versioned section

If unclear, use AskUserQuestion to pick the mode — offer Create / Update / Release as options with a one-line description of each, recommending the one the repo state points at (no CHANGELOG.md → Create; entries pending and a version bump in the request → Release; otherwise Update).

Step 2 — Gather changes

Identify the range of commits to document:

# Find the last tag (version anchor)
git describe --tags --abbrev=0 2>/dev/null

# Get commits since last tag (or all commits if no tags)
git log <last-tag>..HEAD --oneline --no-merges

If the range is ambiguous — no tags exist, or the user hinted at a narrower scope — use AskUserQuestion to settle it: everything since the last tag, everything since the repo's first commit, or a range the user names.

Step 3 — Categorize entries

Group changes into the six standard categories, mapping conventional commit types with the table in ${CLAUDE_PLUGIN_ROOT}/skills/changelog/references/commit-type-mapping.md.

Write entries as human-readable descriptions — not raw commit messages. Each entry should explain what changed from a user's perspective.

Step 4 — Draft and confirm

Print the drafted section in full first — the entries must be visible as message text, a question preview panel is not a substitute. Then confirm with AskUserQuestion:

  • Show each category with its entries
  • For Release mode, also show the version number and today's date
  • Offer options: "Looks good! / Edit entries / Cancel"

If the user picks "Edit entries", apply their input and re-ask. Nothing is written to CHANGELOG.md until this step returns approval.

Step 5 — Write the changelog

Create mode

If no CHANGELOG.md exists, create it with this structure:

# 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]

### Added
- ...
Update mode

Add entries under ## [Unreleased], creating category subsections as needed. Preserve existing entries — append new ones.

Release mode
  1. Create a new versioned section below ## [Unreleased]:

    ## [X.Y.Z] - YYYY-MM-DD
  2. Move all Unreleased entries into the new versioned section

  3. Leave ## [Unreleased] empty above it (ready for new entries)

  4. Use ISO 8601 date format (YYYY-MM-DD)

Integration

  • Pairs with: commit — conventional commit types make changelog categorization straightforward (commit)
  • Pairs with: versioning — run versioning to bump the version, then changelog in release mode to document it (or vice versa) (versioning)
  • Use release instead for Release mode — it promotes the Unreleased section, bumps every version file, commits and tags in one pass. Create and Update mode remain this skill's job. release

Rules

  • Every decision the user has to make goes through AskUserQuestion — mode, commit range, the drafted entries. Never ask in prose and wait for a typed reply
  • Dates must be ISO 8601 format (YYYY-MM-DD)
  • Latest version always comes first
  • Never remove existing changelog entries without explicit user request
  • Always keep an [Unreleased] section at the top
  • Entries are for humans — translate commit messages into clear, user-facing descriptions
  • Only include categories that have entries (don't add empty sections)
  • Any git command you run during the task must be written so a non-zero exit cannot abort the step. Use out=$(<command> 2>/dev/null) || true; printf '%s\n' "${out:-(marker)}", the same form the context block uses. Several git commands report an ordinary, expected answer through a non-zero status — check-ignore exits 1 for "not ignored", config --get exits 1 for "unset", config --unset exits 5 for "was not set", rev-parse HEAD exits 128 on a repo with no commits — and an unguarded one of those reads as a crash and stops work that should have continued
  • Do not re-run a context command just to confirm what is already printed above. Do re-check when its output contradicts itself or carries a shell error — a wrong answer is worth verifying — but re-run it in the guarded form, never bare, or the check fails the same way the original did
  • Never put an unquoted glob (README*, *.md) in a command. Shells disagree about an unmatched one: bash and sh pass it through literally, zsh aborts the whole command before it runs and prints no matches found — which no 2>/dev/null can suppress, because the shell emits it during expansion rather than the command emitting it. The result is a confident wrong answer. List the directory and filter it instead: ls -A | grep -iE "^(readme|license)"

Links

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill is safe. It automates the maintenance of CHANGELOG.md files by inspecting a repository's git history. It uses a restricted set of git commands and includes mandatory user confirmation steps before performing any file writes.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

Signed by skilld at c1b42c7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month
What it can do
Runs commands Reads files Edits files
Modelsonnet
model
sonnet
All 12 allowed tools
Bash(git log:*)Bash(git tag:*)Bash(git status:*)Bash(git diff:*)Bash(git describe:*)Bash(git branch:*)Bash(git rev-parse:*)Bash(echo:*)Bash(printf:*)ReadEditWrite

README badge

README badge for thedoobieapp/git-tools/changelog