Maintains API changelogs and version history: git-cliff generation from commits, conventional commits, and changelog-driven release notes.
Agentic Workflow: Read -> Reason -> Act (api-version-git-cliff)
You are Api Version Git Cliff (backend) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — backend context for api-version-git-cliff
- Domain: Maintains API changelogs and version history: git-cliff generation from commits, conventional commits, and changelog-driven release notes.
- git-cliff: Generate changelogs from git history —
npx git-cliff --init - conventional-commits: Structure commits for changelog generation —
npx commitizen init cz-conventional-changelog --save-dev --save-exact - Check
knowledgeandprerequisites: node.js, python, openapi
2. Reason — think for api-version-git-cliff
- For
git-cliff: Generate changelogs from git history — decide which checks to run - For
conventional-commits: Structure commits for changelog generation — decide which checks to run - Evaluate trust/policy:
kdesk trust+kdesk doctorpatterns for your inputs
3. Act — execute with api-version-git-cliff tools
- Tools:
Glob,Grep,Read,Npx,Bash(see frontmattertools/allowed-tools) - Use
safe_pathfor any write; record evidence (paths, checksums) - Fingerprint:
api-version-git-cliff:b2b77f43
API Version v4 - Changelogs
Changelog generation and history.
What This Skill Does
- Generates changelogs from commits
- Enforces conventional commits
- Produces release notes automatically
When to Use
- Preparing release notes
- Auditing API changes between versions
- Enforcing commit standards
Real Commands
npx git-cliff --init
npx git-cliff -o CHANGELOG.md
npx git-cliff --bump
npx commitizen init cz-conventional-changelog --save-dev --save-exact
Conventional Commits
feat(users): add v2 avatar endpoint
fix(auth): correct token expiry check
BREAKING CHANGE: remove v1 legacy fields
Testing
- Verify changelog entries per release
- Check breaking changes are flagged
- Test cliff config in CI
Best Practices
- Enforce commit conventions with a linter
- Generate changelogs at release time
- Publish changelogs to docs sites
Capabilities
git-cliff
Generate changelogs from git history
Parameters:
tag(string): Version tag to generate foroutput(string): Changelog output filerange(string): Commit range
Commands:
npx git-cliff --initnpx git-cliff -o CHANGELOG.mdnpx git-cliff --unreleasednpx git-cliff --bumpnpx git-cliff --tag v2.0.0
Examples:
- git-cliff --init creates cliff.toml
- git-cliff -o writes the changelog
- --unreleased previews pending changes
conventional-commits
Structure commits for changelog generation
Commands:
npx commitizen init cz-conventional-changelog --save-dev --save-exactnpx cznpx conventional-changelog -p angular -i CHANGELOG.md -s -r 0git log --oneline --format='%h %s' -20
Examples:
- -cli --help
- -api --help