-
Notifications
You must be signed in to change notification settings - Fork 2
AI Commit Message Generator
jorsm edited this page May 31, 2026
·
3 revisions
Generate conventional commit messages directly from VS Code's Source Control view.
The extension uses Vertex AI to analyze your staged Git changes and write a professional commit message.
It is designed to produce messages in Conventional Commits style with:
- an imperative subject line
- no trailing punctuation
- a short subject and more descriptive body
- a proper commit type such as
feat,fix,refactor,docs, orchore
The command is available in the Git SCM toolbar as a wand icon and also in the Command Palette as:
Vertex AI Models Chat Provider: Generate Commit Message
- The workspace must use Git with staged changes.
- The
vscode.gitextension must be available.
The message generator sends your staged diff to Gemini 3 Flash model and streams the response into the Git commit input box.
It also records usage metrics so the cost dashboard can show the token impact of the request.
- Saves time on commit message writing
- Encourages consistent commit formatting
- Works without API keys, using your configured Google Cloud project credentials