name: changelog
description: Set up git-cliff for automated changelog generation. Use /changelog init to initialize in a new project.
argument-hint: init
allowed-tools: Bash, Read, Write, Edit
user-invocable: true
Changelog Skill
Manage automated changelog generation using git-cliff for ZeroAE projects.
Commands
| Command | Description |
|---|---|
/changelog init | Set up git-cliff in a new project |
init
Set up git-cliff configuration and GitHub Actions workflow.
Process
- Check Current State
ls cliff.toml 2>/dev/null
ls .github/workflows/release.yml 2>/dev/null
- Create cliff.toml
If missing, create cliff.toml in project root using cliff-config.toml.
- Update Release Workflow
If .github/workflows/release.yml exists, add the changelog generation step from workflow-snippet.yml.
If no release workflow exists, inform the user they need to create one first.
- Verify Setup
git cliff --unreleased
Output
Report what was created/updated and any manual steps needed.
Reference Files
- cliff-config.toml - Standard git-cliff configuration
- workflow-snippet.yml - GitHub Actions release job snippet