Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Smart Commit AINew to Visual Studio Code? Get it now.
Smart Commit AI

Smart Commit AI

Minku Singh

|
5 installs
| (1) | Free
Generate meaningful Git commit messages using AI (Gemini/OpenRouter) with emoji support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Smart Commit AI

Version Installs Rating

A VS Code extension that generates meaningful Git commit messages using AI. Powered by Gemini and OpenRouter APIs, it helps you write better commit messages with emoji support.

Features

  • 🤖 AI-powered commit message generation
  • 🎨 Multiple commit message styles:
    • Conventional Commits
    • Gitmoji
    • Custom
    • Haiku
  • ✨ Automatic emoji support
  • 🎯 Smart analysis of staged changes
  • 📝 Clean and intuitive UI in the sidebar
  • 🔄 Automatic git repository detection
  • 📦 First-time setup assistance

Installation

  1. Open VS Code
  2. Press Ctrl+Shift+X to open the Extensions view
  3. Search for "Smart Commit"
  4. Click Install

Configuration

  1. Get your API key from either:
    • Gemini API or
    • OpenRouter
  2. Open VS Code Settings (Ctrl+,)
  3. Search for "Smart Commit"
  4. Enter your API key in the appropriate field
  5. (Optional) Choose your preferred commit message style

Usage

  1. Click the commit icon in the VS Code activity bar (left sidebar)
  2. Stage your changes using Git
  3. Click "Generate Commit Message" in the sidebar
  4. Review the generated message
  5. Click "Commit Changes" to commit with the generated message

Commit Message Styles

Conventional Commits

feat: add user authentication
fix: resolve login page crash
docs: update API documentation

Gitmoji

✨ Add user authentication
🐛 Fix login page crash
📝 Update API documentation

Custom

[Feature] Add user authentication
[Bugfix] Resolve login page crash
[Documentation] Update API documentation

Haiku

Code changes made
Improving the system now
Better than before

Requirements

  • VS Code 1.60.0 or higher
  • Git repository
  • Gemini API key or OpenRouter API key

Extension Settings

  • smartCommit.geminiApiKey: Your Gemini API key
  • smartCommit.openRouterApiKey: Your OpenRouter API key
  • smartCommit.style: Commit message style (conventional, gitmoji, custom, haiku)
  • smartCommit.useEmoji: Enable/disable emoji support

Known Issues

  • None at the moment

Release Notes

0.0.1

Initial release of Smart Commit:

  • AI-powered commit message generation
  • Multiple commit message styles
  • Emoji support
  • Sidebar UI
  • Git integration

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have suggestions, please:

  1. Check the known issues
  2. Open an issue on GitHub

Acknowledgments

  • VS Code Extension API
  • Gemini API
  • OpenRouter
  • Simple Git
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft