Back to Skills

manage-changelog

pjt222
Updated 2 days ago
7 views
17
2
17
View on GitHub
Designai

About

This Claude Skill helps developers maintain a project changelog following the Keep a Changelog standard. It manages entry categorization (Added, Changed, Fixed, etc.) and handles version sections, including promoting Unreleased entries to versioned sections during releases. Use it when starting a new project, adding entries after changes, preparing releases, or converting existing changelogs to the standard format.

Quick Install

Claude Code

Recommended
Primary
npx skills add pjt222/agent-almanac -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/pjt222/agent-almanac
Git CloneAlternative
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/manage-changelog

Copy and paste this command in Claude Code to install this skill

Documentation

Manage Changelog

Maintain project changelog per Keep a Changelog. Create new, categorize entries, manage [Unreleased], promote to versioned on release. Adapts R convention (NEWS.md) when detected.

Use When

  • Start new project needing changelog
  • Add entries after features / fixes / other changes
  • Prep release → move Unreleased → versioned section
  • Review completeness before publish
  • Convert free-form → Keep a Changelog format

In

  • Req: Project root dir
  • Req: Change description (or git log to extract from)
  • Opt: Target version # (release promotion)
  • Opt: Release date (default today)
  • Opt: Format pref (Keep a Changelog / R NEWS.md)

Do

Step 1: Locate / Create Changelog

Search existing changelog in project root.

# Check for common changelog filenames
ls -1 CHANGELOG.md CHANGELOG NEWS.md CHANGES.md HISTORY.md 2>/dev/null

None exists → create w/ std header:

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

R pkgs → use NEWS.md w/ R convention:

# packagename (development version)

## New features

## Bug fixes

## Minor improvements and fixes

→ Changelog located / created w/ proper header + Unreleased section.

If err: Exists in non-std format → don't overwrite. Note format diff + adapt entries to match existing style.

Step 2: Parse Existing Entries

Read + ID structure:

  1. Header/preamble (project name, format desc)
  2. [Unreleased] w/ pending changes
  3. Versioned in reverse chron order ([1.2.0] before [1.1.0])
  4. Comparison links at bottom (opt)

Per section → ID categories:

  • Added — new features
  • Changed — changes in existing fn
  • Deprecated — soon-to-be removed
  • Removed — now removed
  • Fixed — bug fixes
  • Security — vulnerability fixes

→ Structure understood, existing entries inventoried.

If err: Malformed (missing sections, wrong order) → note issues, don't restructure w/o confirmation. Add new correctly + flag structural issues for manual review.

Step 3: Categorize New Changes

Per change → classify into 1 of 6:

CategoryWhen to UseExample Entry
AddedNew feature or capability- Add CSV export for summary reports
ChangedModification to existing feature- Change default timeout from 30s to 60s
DeprecatedFeature marked for future removal- Deprecate old_function()in favor ofnew_function()``
RemovedFeature or capability removed- Remove legacy XML parser
FixedBug fix- Fix off-by-one error in pagination
SecurityVulnerability fix- Fix SQL injection in user search (CVE-2026-1234)

Entry writing guidelines:

  • Start w/ imperative verb (Add, Change, Fix, Remove)
  • Specific enough user understands impact w/o reading code
  • Ref issue #s / CVEs where applicable
  • One line; sub-bullets only for complex changes

→ Each change in exactly one category w/ well-written entry.

If err: Change spans multi categories (feature + bug fix) → separate entries per category. Unclear → default "Changed".

Step 4: Add Entries to Unreleased

Insert under [Unreleased]. Maintain category order: Added, Changed, Deprecated, Removed, Fixed, Security.

## [Unreleased]

### Added

- Add batch processing mode for large datasets
- Add `--dry-run` flag to preview changes without applying

### Fixed

- Fix memory leak when processing files over 1GB
- Fix incorrect timezone handling in date parsing

Only add categories w/ entries; don't include empty category headings.

→ New entries added under [Unreleased] in correct categories, consistent formatting.

If err: Unreleased section missing → create immediately below header/preamble + above first versioned section.

Step 5: Promote to Versioned on Release

Release cut → move Unreleased → new versioned section:

  1. New heading: ## [1.3.0] - 2026-02-17
  2. Move all entries from [Unreleased] → new section
  3. Leave [Unreleased] empty (keep heading)
  4. Update comparison links at bottom
## [Unreleased]

## [1.3.0] - 2026-02-17

### Added

- Add batch processing mode for large datasets

### Fixed

- Fix memory leak when processing files over 1GB

## [1.2.0] - 2026-01-15

### Added

- Add CSV export for summary reports

Update comparison links (if present):

[Unreleased]: https://github.com/user/repo/compare/v1.3.0...HEAD
[1.3.0]: https://github.com/user/repo/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0

R NEWS.md → use R convention:

# packagename 1.3.0

## New features

- Add batch processing mode for large datasets

## Bug fixes

- Fix memory leak when processing files over 1GB

# packagename 1.2.0
...

→ Unreleased entries moved to dated versioned section; Unreleased cleared; comparison links updated.

If err: Version # conflicts w/ existing → already released. Check apply-semantic-versioning for correct version.

Step 6: Validate Format

Verify meets format requirements:

  1. Versions in reverse chron (newest first)
  2. Dates ISO 8601 (YYYY-MM-DD)
  3. Each versioned has ≥1 categorized entry
  4. No dup version sections
  5. Comparison links match version sections
# Check for duplicate version sections
grep "^## \[" CHANGELOG.md | sort | uniq -d

# Verify date format
grep "^## \[" CHANGELOG.md | grep -v "Unreleased" | grep -vE "\d{4}-\d{2}-\d{2}"

→ Passes all format checks w/ no warnings.

If err: Fix format issues: reorder, correct dates, remove dups. Report issues requiring human judgment (missing entries for known changes).

Check

  • File exists w/ proper header ref Keep a Changelog + SemVer
  • [Unreleased] at top (below header)
  • All new entries categorized into Added/Changed/Deprecated/Removed/Fixed/Security
  • Entries start w/ imperative verb + describe user-facing impact
  • Versioned sections reverse chron
  • Dates ISO 8601 (YYYY-MM-DD)
  • No dup version sections
  • Comparison links (if used) correct + up to date
  • Empty categories not included (no heading w/o entries)

Traps

  • Internal-only entries: "Refactored DB module" not useful to users. Focus on user-facing. Internal refactors → commit msgs, not changelogs.
  • Vague entries: "Various bug fixes" tells user nothing. Each fix → specific descriptive entry.
  • Forget Unreleased: Adding directly to versioned = changes documented as released when not.
  • Wrong category: "Fix" actually adds feature. Fix restores expected behavior; new capability = "Added" even if requested as bug report.
  • Missing Security: Security fixes always documented w/ CVE ids when avail. Users need to know if should upgrade urgently.
  • Changelog drift: Not updating at time of change. Batch-writing before release → missed / poorly described changes. Write entries alongside code changes.

  • apply-semantic-versioning — determine version # pairing w/ entries
  • plan-release-cycle — define when entries promoted to versioned
  • commit-changes — commit changelog updates w/ proper msgs
  • release-package-version — R-specific release workflow incl NEWS.md updates
  • create-github-release — use changelog content as GitHub release notes

GitHub Repository

pjt222/agent-almanac
Path: i18n/caveman-ultra/skills/manage-changelog
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

Related Skills

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

requesting-code-review

Design

This skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.

View skill

connect-mcp-server

Design

This skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.

View skill

web-cli-teleport

Design

This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.

View skill