The Commitzen extension is an open-source Gemini CLI extension built to automate and standardize your Git commit history. This extension adds a powerful new command to Gemini CLI that analyzes your staged changes and generates high-quality commit messages following the Conventional Commits v1.0.0 specification.
- Semantic Analysis: Automatically identifies the correct type (feat, fix, refactor, etc.) based on code intent.
- Smart Scoping: Infers the scope of changes from your project's directory structure.
- Breaking Change Detection: Automatically flags breaking changes with the
!suffix and required footer. - Clean Output: Generates raw text ready to be piped directly into your git commands.
Install the Commitzen extension by running the following command from your terminal (requires Gemini CLI v0.4.0 or newer):
gemini extensions install https://github.com/fiquellcarter/commitzenIf you do not yet have Gemini CLI installed, or if the installed version is older than 0.4.0, see the Gemini CLI installation instructions.
The Commitzen extension adds the /commitzen command to Gemini CLI which analyzes staged git changes to generate a structured commit message.
- Gemini CLI extensions: Documentation about using extensions in Gemini CLI.
- Conventional Commits: The specification followed by this extension.
- GitHub Issues: Report bugs or request new commit types.
- License: Apache License 2.0