Git Mew 🐱
Your AI kitty for Git chaos - Generate intelligent commit messages using AI.
Features
Git Mew helps you write better commit messages by analyzing your staged changes and generating meaningful, conventional commit messages using AI.
Key Features
- 🤖 AI-Powered Commit Messages: Automatically generate commit messages based on your staged changes.
- 🔍 AI-Powered Code Review: Generate comprehensive code reviews for merge requests/pull requests by comparing any two branches.
- 📝 AI-Powered MR Descriptions: Generate professional merge request descriptions with smart template selection (default, release, hotfix).
- 🎯 Multiple LLM Providers: Support for OpenAI, Claude, Gemini, and Ollama.
- ⚡ Quick Access: Generate commit messages directly from the Source Control panel.
- 🎨 Conventional Commits & Rich Reviews: Follows conventional commit format and generates detailed code review reports.
- 🔧 Customizable: Configure your preferred AI model and provider for commit generation, code review, and MR descriptions.
- 📝 Custom Rules: Define project-specific rules for commit messages, code reviews, and MR descriptions.
- 🌍 Multi-Language Support: Get code reviews and MR descriptions in your preferred language.
- 📤 Easy Template Publishing: Use the publish command to copy template files to your project.
How to Use
Generating Commit Messages
- Stage your changes in Git.
- Click the sparkle icon (✨) in the Source Control panel, or run the command
git-mew: Generate Commit Message.
- Git Mew will analyze your changes and generate a commit message.
- Review and commit!
Generating a Code Review or MR Description
- Ensure you have committed your changes to your feature branch.
- Run the command
git-mew: Review Merge.
- A webview will open. Select your base branch (e.g.,
main) and your compare branch (your feature branch).
- Choose your preferred LLM provider, model, and output language.
- Optionally, add task/issue context for better results.
- Click either:
- "Generate Review" for a comprehensive code review
- "Generate Description" for a merge request description
- The result will open in a new tab.
MR Description Templates:
- Default: Standard feature/bugfix descriptions
- Release: For release branches with changelog links
- Hotfix: For urgent fixes with incident tracking
Requirements
- Visual Studio Code 1.104.0 or higher
- Git installed and configured
- API key for your chosen LLM provider (OpenAI, Claude, or Gemini)
Setup
- Install the extension
- Run the command
git-mew: Setup Model to configure your AI provider
- Select your preferred LLM provider (OpenAI, Claude, or Gemini)
- Enter your API key when prompted
- Choose your preferred model
Customizing Rules
Git Mew allows you to customize how AI generates content by creating rule files in a .gitmew folder in your repository root.
Publishing Template Files
The easiest way to get started with customization:
- Run the command
git-mew: Publish Files
- Select which template files you want to copy to your project
- Edit the files in
.gitmew/ to match your project needs
Available Customization Files
Commit Message Rules (.gitmew/commit-rule.generate-commit.md)
- Define custom rules for commit message generation
- The AI will use these instructions instead of the default prompt
Code Review System Prompt (.gitmew/system-prompt.review-merge.md)
- Completely replace the default review instructions
- Full control over AI's persona, structure, and output format
Code Review Rules (.gitmew/code-rule.review-merge.md)
- Add specific, project-level rules on top of the default system prompt
- Define project-specific conventions, style guides, or areas to check
MR Description System Prompt (.gitmew/system-prompt.description-merge.md)
- Customize the merge request description generation
- Control template selection logic and output format
Example structure:
your-project/
├── .gitmew/
│ ├── commit-rule.generate-commit.md # Custom commit rules
│ ├── system-prompt.review-merge.md # Custom review prompt
│ ├── code-rule.review-merge.md # Custom review rules
│ └── system-prompt.description-merge.md # Custom MR description prompt
├── src/
└── ...
Extension Settings
This extension contributes the following settings:
git-mew.llmProvider: Select the default LLM provider (openai, claude, gemini, or ollama).
git-mew.llmModel.openai: Default OpenAI model to use.
git-mew.llmModel.claude: Default Claude model to use.
git-mew.llmModel.gemini: Default Gemini model to use.
git-mew.reviewMerge.provider: (Internal) Stores the last used provider for Review Merge.
git-mew.reviewMerge.model: (Internal) Stores the last used model for Review Merge.
git-mew.reviewMerge.language: (Internal) Stores the last used language for Review Merge.
Supported LLM Providers
OpenAI
- GPT-5, GPT-5 Mini, GPT-5 Nano, GPT-4.1
Anthropic Claude
Google Gemini
- Gemini 2.5 Pro, Gemini 2.5 Flash
Ollama
- Supports any model you have running locally.
Privacy & Security
- Your API keys are stored securely in VS Code's secret storage
- Your code is only sent to the AI provider you choose
- No data is collected or stored by Git Mew
Known Issues
- Large diffs may take longer to process
- Some binary file changes may not be analyzed properly
Release Notes
0.0.4
Enhanced features and customization:
- Added MR description generation with smart templates
- Added publish command for easy template distribution
- Enhanced webview UI with description generation
- Added auto-reload prompt after extension updates
- Improved error handling and API key management
0.0.3
Bug fixes and improvements
0.0.2
Added code review feature:
- AI-powered merge request/pull request reviews
- Branch comparison and diff analysis
- Multi-language support
0.0.1
Initial release of Git Mew:
- AI-powered commit message generation
- Support for OpenAI, Claude, and Gemini
- Conventional commit format
- Source Control panel integration
Contributing
Found a bug or have a feature request? Please open an issue on our GitHub repository.
License
See LICENSE file for details.
Enjoy using Git Mew! 🐱✨