A tiny Go tool for generating conventional commits using Claude
github.com
github.com
git add .
commit
a (to accept, e to open Vim to edit, r to reject)
Conventional commits for everyone!
<3
``` git diff --cached | aichat -m deepseek:deepseek-chat -r gitcommit | git commit --edit --file - ```
I like that your tool includes some previous commit messages... I'm not sure if that can be done with `aichat` but it seems like a great idea.
I'd be tempted to wrap individual commit messages in pseudo-xml <commit> tags, as Claude really likes those[^2] and the `%B` format doesn't really show the breaks between commit messages.
1: https://github.com/sigoden/aichat
2: https://docs.anthropic.com/en/docs/build-with-claude/prompt-...