AI-based commit generator that turns your staged diff into clean, conventional, and detailed commits in an instant.
We all hate writing commit messages like:
- "fix"
- "final final fix"
- "update file"
this is capable of generating clean, readable, meaningful commit messages automatically based on your changes
- Auto stage + commit + push (one command workflow) -
commitcraft push --ai - PR message generator -
commitcraft pr(creates polished Pull Request descriptions from recent commits) - Undo last commit-
commitcraft undo(reverts to previous commit safely) - Reads your staged files from Git
- AI-powered commit messages using your OpenRouter key
- commits each file with a relevant message
- conventional commits format
- Easy setup and use
- Works in any repo
- Install the package
npm install -g commitcraft-ai- Then set your API key (gemini)
commitcraft-setup- START USING!!!:
commitcraft push --ai- BOOM NOW JUST CLICK ENTER
- Add AI-powered commit suggestions
- Git hook integration
- SINGLE CLICK WORFLOW
- Interactive commit message refinement mode
if this tool saved you time (or your sanity at all), a star on the repository is appreciated- it helps others discover the project :3
If you’d like to report a bug, request a feature, or open a PR, please create an issue first so we can discuss the approach.
MIT License
Copyright (c) 2025 Sukhdev Thukral
See the LICENSE file for details.
