AI SummaryA command-line tool that automatically generates conventional commit messages using AI, based on your staged git changes. Your commit messages will look like this: 1. Clone this repository:
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "cmai — Windsurf Rules" prompt rules to my project. Repository: https://github.com/mrgoonie/cmai Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
A quick CLI command to generate commit message using AI and push to origin
Features
• 🤖 AI-powered commit message generation (using google/gemini-flash-1.5-8b - SUPER CHEAP!) • Around $0.00001/commit -> $1 per 100K commit messages! • 📝 Follows Conventional Commits format • 🔒 Secure local API key storage • 🚀 Automatic git commit and push • 🐛 Debug mode for troubleshooting • 💻 Cross-platform support (Windows, Linux, macOS)
Prerequisites
• Git installed and configured • For Windows: Git Bash or WSL installed • For Linux/macOS: Bash shell environment • An OpenRouter API key • curl installed
Usage
!Usage Demonstration • Make your code changes • Generate commit message and commit changes: `bash cmai ` To also push changes to remote: `bash cmai --push
`cmai` - AI Commit Message Generator
A command-line tool that automatically generates conventional commit messages using AI, based on your staged git changes. Your commit messages will look like this: !Example Git Commit Messages
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts