LLM Commit Message

AI-powered git commit message generator for VS Code. One click, perfect Conventional Commits.
🌏 한국어 | 简体中文 | 繁體中文-台灣 | 繁體中文-香港 | 日本語
How It Works
- Stage your changes
- Click ✨ in the Source Control panel
- Done — commit message generated
What Makes It Good
Deep context — not just the diff. Collects project tree, recent commits per file, open tabs, terminal output, and full file snapshots for complex changes.
Any model — GPT, Claude, Gemini, Llama, Mistral via OpenRouter. Default: google/gemini-2.5-flash-lite.
Multi-repo — handles workspaces with multiple git repos.
Transparent — every API request logged. Show Last Payload command to see exactly what was sent.
Setup
- Install from Marketplace
- Get an API key from OpenRouter
- Set
kargnas.aiCommit.apiKey in VS Code settings
Key Settings
| Setting |
Default |
Description |
kargnas.aiCommit.apiKey |
— |
OpenRouter API key |
kargnas.aiCommit.model |
google/gemini-2.5-flash-lite |
Model ID |
kargnas.aiCommit.commitLanguage |
auto |
Output language (ko, ja, etc.) |
kargnas.aiCommit.maxPatchBytes |
50000 |
Max total diff size |
kargnas.aiCommit.previousCommitLimit |
10 |
Recent commits for context |
kargnas.aiCommit.transport |
fetch |
HTTP transport (fetch or curl) |
All settings →
Commands
- AI Commit — Generate commit message from staged changes
- Ping OpenRouter — Test API connection
- Show Last Payload — Debug prompt/context
- Open in GitHub — Open current file on GitHub
License
MIT © Sangrak Choi
GitHub · Marketplace · OpenRouter