Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Commit Genie AINew to Visual Studio Code? Get it now.
Commit Genie AI

Commit Genie AI

kushal-builds

| (0) | Free
AI-powered conventional commit message generator from Git staged changes using Google Gemini.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🧙‍♂️ Git Commit Genie

⚡️ Generate smart Git commit messages from your staged code changes — powered by Gemini AI or offline rule-based logic.


✨ Features

  • 🔍 Reads your git diff --cached (staged changes)
  • 🧠 AI mode – Uses Gemini to generate natural-language commit messages
  • 📏 Rule-based mode – Infers messages based on file types, keywords, and diff size
  • 💬 VS Code integration:
    • Copy to clipboard
    • Auto-insert into Source Control commit box
  • 🌐 Dual mode: choose AI or offline anytime
  • 🔐 Privacy: only sends data to Gemini if you choose AI mode

🚀 How to Use

  1. Make and stage code changes (git add .)
  2. Open VS Code, press Ctrl+Shift+P
  3. Run one of the following commands:
    • 📏 Generate Rule-Based Commit Message
    • 🔮 Generate AI Commit Message
  4. Choose:
    • 💬 Use → inserts the message into the Git commit box
    • 📋 Copy → copies message to your clipboard

🧪 Example Outputs

Rule-based:

feat: Update HTML (index.html), Update logic (script.js) – 10 lines added, 2 removed

AI (Gemini):

refactor: improve score reset logic and add match end condition


🔧 Configuration

  1. Install dependencies:
npm install
  1. Set your API key in a .env file:
GEMINI_API_KEY=your-secret-key-here

Get your key from: Google AI Studio

  1. Compile the project:
npm run compile
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft