aicommit is a small CLI tool I built to remove friction from one of the most boring parts of development: writing commit messages.
It uses OpenAI’s GPT models to generate clear, contextual git commit messages based on your staged changes.
No magic. Just automation where it actually helps.
I designed it to fit real workflows, not demos.
Why I built it
I noticed I was either:
- writing rushed, low-quality commit messages, or
- overthinking something that shouldn’t take more than a few seconds
So I built a tool that sits quietly in the background and helps me stay consistent, without taking control away from me.
What it does
- Generate commit messages
Creates commit messages directly from your git diff using GPT models. - Multiple profiles
Different API keys, models, and system prompts for different projects or contexts. - Interactive review
You can inspect, tweak, or reject the message before committing. Nothing is forced. - Profile management
Simple commands to add, list, and switch between profiles. - Git log visibility
Shows relevant git log output during staging, committing, and pushing, useful context when you need it.
Design principles
- CLI-first
- Minimal configuration
- Human-in-the-loop
- No unnecessary abstraction
It’s meant to feel like a small, sharp tool — not a platform.
Still refining it, but this is version 1.
Built for myself. Shared in case it’s useful to others.
