git-cliff
$ git-cliff Community Low RiskHighly configurable Rust changelog generator driven by Conventional Commits and Tera templates. Emits release notes to stdout by default without modifying files, and exports structured commit context as JSON via --context.
brew install git-cliff Reads local Git history and renders changelogs/JSON context locally in milliseconds; no MCP server needed.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Outputs to stdout by default, supports --context JSON export, --unreleased, --bumped-version, and fully flag-driven non-interactive execution.
--contextexports parsed commit groups and metadata as JSON- Default stdout mode prevents unintended disk writes
Strictly read-only unless -o / --output is explicitly specified; never creates git tags or commits.
- Requires explicit
-oflag to write files
Single Rust binary available via Homebrew, Cargo, npm wrapper, and GitHub Releases across macOS, Linux, and Windows.
- Cross-platform prebuilt static binaries
Eliminates manual commit grouping and semver bump guesswork in release automation.
--bump+--unreleasedautomates release note generation
Well-maintained community Rust project (orhun/git-cliff) under MIT/Apache-2.0.
- Active open-source project with consistent releases
Comprehensive documentation site at git-cliff.org/docs/ covering templates, config, and CLI flags.
- Detailed CLI and Tera template docs at git-cliff.org/docs/
Security, Auth & Guardrails
Purely local Git history reading by default; optional remote GitHub/GitLab contributor metadata uses GITHUB_TOKEN / GITLAB_TOKEN.
Dual MIT / Apache-2.0 open-source Rust binary; completely free.
# git-cliff Agent Rules - Omit `-o` / `--output` to preview changelogs safely to stdout before writing `CHANGELOG.md`. - Use `--context` when structured JSON commit data is needed instead of parsing rendered Markdown.
Agent-Ready Command Recipes
Safe Read-Only Queries
git-cliff --unreleased --context
Prints the parsed Conventional Commits context as JSON to stdout without writing any files.
git-cliff --unreleased --bump
Calculates the semantic version bump from commit types and prints release notes to stdout.
Controlled Writes & Previews
git-cliff --tag v1.2.0 -o CHANGELOG.md
Writes or prepends the rendered changelog for v1.2.0 to CHANGELOG.md.
Strengths for Agents
- +
--contextoutputs structured JSON commit/release data while omitting-okeeps runs strictly read-only. - +
--bumpand--unreleasedlet release agents compute next semver tags deterministically.
Caveats & Pitfalls
- ! Repositories without Conventional Commits require custom regex parsers in
cliff.toml. - ! Optional GitHub/GitLab API enrichment requires
GITHUB_TOKENor--offlineto avoid network calls.