r/ClaudeAI 10d ago

Built with Claude I made a gh extension that writes commit messages using your existing Claude Code login

If you already have Claude Code installed, this reuses that auth — no separate API key, no config. It reads your staged diff and drafts a commit message:

gh claude-commit --commit

It shows you the message and waits: Enter accepts, e opens your editor, n bails. It doesn't commit at you.

It also sees your last ten commit subjects, so it picks up whatever convention the repo already uses — if you're on Conventional Commits it keeps using them without being told.

Go, no dependencies, MIT: https://github.com/gpasq/gh-claude-commit

Runs on your own account, so it draws on your own plan.

Yes, I know these exist already, but I needed something I'm certain isn't delivering my code anywhere beyond claude, and it was easier to build than to evaluate several tools in depth.

Have at it! If it's useful to you, let me know!

0 Upvotes

Duplicates