home / skills / nweii / agent-stuff / update-changelog
This skill updates changelog files following Keep a Changelog conventions and can adjust skill metadata for versioning and visibility.
npx playbooks add skill nweii/agent-stuff --skill update-changelogReview the files below or copy the command above to add this skill to your agents.
---
name: update-changelog
description: "Update changelog files following Keep a Changelog conventions. Use for project changelogs or skill changelogs. Handles version sections, change type groupings, and skill-specific metadata updates."
metadata:
author: nweii
version: "1.0.0"
---
# Update Changelog
Update changelog files following [Keep a Changelog](https://keepachangelog.com) conventions.
## Usage
```
/update-changelog <version> <change_type> <message>
/update-changelog <skill_path> <version> <change_type> <message>
```
## Parameters
- `<version>`: Version number (e.g., "1.1.0")
- `<change_type>`: One of: "added", "changed", "deprecated", "removed", "fixed", "security"
- `<message>`: Description of the change
- `<skill_path>` (optional): Path to skill folder for skill changelogs
## Process
1. Check for existing changelog (CHANGELOG.md or changelog.md), create if missing
2. Find or create section for the specified version with today's date
3. Add the new entry under the appropriate change type heading
4. Format according to Keep a Changelog conventions
5. Write the updated changelog back to file
## Format Conventions
- Group changes by type (Added, Changed, Deprecated, Removed, Fixed, Security)
- List changes as bullet points
- Include date for version sections (YYYY-MM-DD)
- Keep entries concise but descriptive
- No emojis
## Example Output
```markdown
## [1.2.0] - 2025-01-24
### Added
- New markdown to BlockDoc conversion feature
### Fixed
- Bug in HTML renderer causing incorrect output
```
---
## Skill & Plugin Changelogs
For skill-specific conventions (updating `metadata.version` in SKILL.md) or plugin changelog formats, see [skill-plugin-conventions.md](skill-plugin-conventions.md).
This skill updates CHANGELOG files following Keep a Changelog conventions for projects and individual skills. It creates or updates version sections, groups entries by change type, and can update skill-specific manifest metadata when present. Use it to keep release notes consistent and machine-friendly.
The skill locates a changelog file (CHANGELOG.md or changelog.md) or creates one if missing. It finds or creates a version section with today’s date, inserts the message under the correct change-type heading (Added, Changed, Deprecated, Removed, Fixed, Security), and reformats the file to match Keep a Changelog rules. Optionally it updates the skill manifest version field when a skill path is supplied, then writes the file back to disk.
What change types are supported?
Use one of: added, changed, deprecated, removed, fixed, security. The skill maps them to the corresponding headings.
What happens if the changelog is missing?
The skill creates a new CHANGELOG.md using Keep a Changelog structure, adds the version section and your entry, then writes the file.