Commiter AI is a powerful VS Code extension that automatically generates intelligent and meaningful commit messages with AI. It streamlines your Git workflow by analyzing your code changes and creating appropriate commit messages in various styles.
Features
AI-Powered Commit Message Generation
Analyze your staged changes and generate contextually appropriate commit messages
Automatic detection of the type of changes made (feature, fix, refactor, etc.)
Clean, concise, and properly formatted commit messages
Multiple Commit Styles
Commiter AI supports various commit message styles to match your project's conventions:
Conventional Commits: feat: add login validation - Structured format for automated changelogs
Linus Style: Title followed by detailed body - Login System with bullet points for implementation details
Contextual: [auth] update session timeout - Includes the context of the change
Ticket Reference: PROJ-123: add user dashboard - References a ticket ID for traceability
Symbol Notation: [+] enable dark mode toggle - Visual indicators for change types
Concise: optimize image loading - Brief summary without extra formatting
Customizable Settings
Choose your preferred AI model from OpenRouter's offerings
Click the Commiter AI icon in the Source Control panel (or run the "Generate Commit" command)
Your commit message will be automatically generated and inserted into the commit message field
Review and adjust if needed, then commit as normal
Extension Settings
Setting
Description
Default
commiter_ai.api_key
OpenRouter API key for accessing AI services
null
commiter_ai.prompt.max_tokens
Maximum number of tokens in the generated response
200000
commiter_ai.prompt.custom_prompt
Custom instructions to override default behavior
""
commiter_ai.prompt.temperature
Creativity level of the AI (0.0-2.0)
0.7
commiter_ai.prompt.model
OpenRouter AI model to use
google/gemini-2.0-pro-exp-02-05:free
commiter_ai.prompt.commit_style
Predefined commit message style
conventional
commiter_ai.sound_enabled
Enable/disable sound feedback
true
Commit Styles
The extension supports multiple commit message styles:
Conventional Commits: Structured format for automated changelogs, focusing on type and description. Example: feat: add login validation
Linus Style: A title followed by a detailed body, suitable for complex changes. Example: Login System with bullet points explaining implementation details
Contextual: Includes the context of the change, providing clarity on the area affected. Example: [auth] update session timeout
Ticket Reference: References a ticket ID in the message for traceability. Example: PROJ-123: add user dashboard
Symbol Notation: Uses symbols to indicate the type of change visually. Example: [+] enable dark mode toggle
Concise: A brief summary that captures the essence of the change without extra formatting. Example: optimize image loading
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.