super-commit-assistant
v0.0.1
Published
AI powered git commit messages
Downloads
94
Maintainers
Readme
super-commit-assistant
AI-powered git commit message generator. Analyzes your staged changes and recent commit history to generate commit messages that match your project's conventions.
Install
npm install -g super-commit-assistantUsage
Stage your changes, then run:
git aiOn first run, you'll be prompted for an OpenRouter API key.
The tool will:
- Analyze your staged diff and recent commit messages
- Generate a commit message matching your project's style
- Let you [C]ommit, [E]dit, or [A]bort
Configuration
Config is stored at ~/.config/super-commit-assistant/config.json:
{
"apiKey": "your-openrouter-api-key",
"model": "google/gemini-2.0-flash-001"
}The model field is optional — defaults to google/gemini-2.0-flash-001. You can change it to any model available on OpenRouter.
Development
git clone https://github.com/nikolasgioannou/super-commit-assistant.git
cd super-commit-assistant
npm install
npm run dev # build and link globally to test as `git ai`License
MIT
