This extension automatically generates detailed commit messages using AI (Gemini, OpenAI, Qwen, Claude, etc.) based on your staged Git changes.
- Automatically generates detailed commit messages using AI
- Supports multiple AI providers (Gemini, OpenAI, Qwen, Claude, etc.)
- Works with staged Git changes
- Inserts generated message directly into VS Code's commit message field
- Follows conventional commit format with subject and body
- Git must be installed and available in your PATH
- An API key for your chosen AI provider
This extension contributes the following settings:
commitcraft.apiKey: Your API key for the selected AI providercommitcraft.provider: Select the AI provider for generating commit messages (default: gemini)
To set your API key:
- Open VS Code settings (Ctrl/Cmd + ,)
- Search for "CommitCraft"
- Enter your API key in the "API key for the selected AI provider" field
- Optionally, select your preferred AI provider
- Stage your changes in Git
- Run the "Generate commit" command (Ctrl/Cmd + Shift + P, then type "Generate commit")
- The extension will generate a commit message and insert it into the commit message field
- May not work correctly with very large diffs
- Requires internet connection to access the AI API
Initial release of CommitCraft
Installable file link: v0.0.1-beta.vsix