Commitizen
Commitizen checks commit messages against Conventional Commits. The template connects it to Git's commit-msg hook in prek.toml, so Git can reject an invalid subject before recording the commit.
Write or check a subject
Start with a change type and a short description. Add a scope in parentheses when it helps readers find the affected area.
docs: clarify local setupexplains a documentation change.fix(cli): handle an empty config pathdescribes a bug fix in the CLI.feat: add JSON outputdescribes a new capability.
When cz is available, you can check a proposed message without making a commit.
cz check --message "docs: clarify local setup"
The template's mise entry script installs the standalone cz command with uv when uv is available and cz is missing. Prek runs the pinned hook in its own environment. If commits are being accepted without a check, verify that the hook is installed in your checkout.