A tiny Go tool for generating conventional commits using Claude
1–5 of 5 posts
Re: A tiny Go tool for generating conventional commits using Claude
#2git add .
commit
a (to accept, e to open Vim to edit, r to reject)
Conventional commits for everyone!
<3
Re: A tiny Go tool for generating conventional commits using Claude
#3Re: A tiny Go tool for generating conventional commits using Claude
#4Re: A tiny Go tool for generating conventional commits using Claude
#5I know there are lots of these, but this one is my no-frills CLI tool for generating conventional commits from whatever is staged. It's super small, super fast, super fun. 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 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-...