Primary target: VS Code-compatible editors such as VS Code, VSCodium, Kiro, and Antigravity.
Commit Message Generator (by Gemini)
This extension automatically generates a Conventional Commits-style commit message from your repository changes and inserts it into the Source Control input box.
It uses the Gemini API through @google/genai. Set GEMINI_API_KEY or GOOGLE_API_KEY before starting your editor.
Usage
From the UI (recommended)
A button is added to the Source Control view title bar and near the commit input box. Click it to run "Commit message generation by Gemini."
It appears when the Git provider is active.
While generating, the status bar shows "$(sync~spin) Generating commit message..." and it disappears automatically when finished.
From the Command Palette
Press Ctrl+Shift+P and type "Commit message generation by Gemini".
Or run "Commit message generation by Gemini" (commit-message-gene-by-gemini-cli.runGeminiCLICmd) directly.
When finished, the generated message is inserted into the commit input box. If an error occurs, check the Output panel "commit message gene".
Settings
commitMessageGeneGemini.prompt.intro.en
commitMessageGeneGemini.prompt.intro.ja
Requirements
VSCode with Git available in the workspace
GEMINI_API_KEY or GOOGLE_API_KEY is set in the environment before the editor starts