// PROJECT_DETAILS
commitai — AI-powered Git Commits
A CLI tool that auto-generates conventional commit messages from staged diffs using Claude and Gemini, installable as a native git hook.
OVERVIEW
Built commitai end-to-end — an npm CLI that hooks into git's prepare-commit-msg lifecycle to automatically generate meaningful commit messages from staged diffs using LLMs. Supports both Anthropic Claude and Google Gemini with auto-detection and a --provider flag for manual override. Follows the Conventional Commits specification, handles large diffs gracefully via truncation, and includes verbose mode for commit bodies. Zero config — one command to install, works silently on every git commit.
NEXT PROJECT