commitmsg-ai
v1.0.3
Published
AI-powered commit message generator from git diff
Maintainers
Readme
CommitMsg — commits on autopilot
Stop writing git commit messages manually.
Run cm after git add → AI reads your diff → generates 3 conventional commit options → you pick with arrow keys → done.
Install
npm install -g commitmsg-aiUsage
git add .
cmThat's it. No config. No API keys. Just works.
How it works
- You stage your files with
git add - You run
cm - AI reads your git diff and generates 3 commit messages in Conventional Commits format
- You pick with arrow keys
- Commit is applied automatically
Example output
❯ feat(auth): add OAuth2 login with Google
feat: implement social authentication flow
feat(auth): integrate Google sign-inWhy CommitMsg
Every developer has a git log that looks like this:
fix
wip
asdfgh
please work
FINAL final fix v2CommitMsg fixes this. Every commit follows Conventional Commits format automatically.
Team style guide
Drop .commitmsg.yml in your repo:
custom_types:
- feat
- fix
- chore
max_length: 72
language: enWhat's next
- VS Code extension
- JetBrains plugin
- Web dashboard
Links
Author
Built by @0xKyotoDev
