Skip to content

electrocucaracha/ai-prepare-commit-msg

Repository files navigation

AI Prepare Commit Message

License GitHub Super-Linter

Code style: black visitors Scc Code Badge Scc COCOMO Badge

AI-powered Git hook that generates concise, high-quality commit messages from your staged changes.

Messages follow the Conventional Commits format and OpenStack commit-message best practices.

The hook integrates with Git's prepare-commit-msg flow and uses LiteLLM to produce the text.

Features

  • Generates commit messages from staged diffs.
  • Produces Conventional Commits-compliant messages.
  • Integrates with the prepare-commit-msg Git hook and pre-commit.
  • Configurable prompts to control tone and style.

About

AI-powered Git hook that generates concise commit messages from staged changes using LiteLLM and standards.

Topics

Resources

Stars

Watchers

Forks

Contributors