gh-copmit
Links
README
From the repo.
gh-copmit
🤖 AI-powered Conventional Commits using GitHub Models
A gh CLI extension that generates Conventional Commit messages and bodies automatically using GitHub Models AI.
✨ Features
- 🎯 AI-generated commits using GitHub Models (
gh models) - 📝 Conventional Commits format (feat, fix, docs, etc.)
- 🌍 Multi-language support (English, Spanish, and more)
- 🔍 Dry-run mode to preview commits before creating them
- 🚀 Auto-push option after committing
📦 Installation
gh extension install svg153/gh-copmit
Prerequisites:
- GitHub CLI authenticated
gh modelsextension (auto-installed with--yesflag)jq(optional, for robust JSON parsing)
🚀 Usage
# Show help
gh copmit --help
# Stage all changes and create commit (English, default model)
gh copmit --all
# Preview commit message (dry-run)
gh copmit --all --dry-run
# Create commit in Spanish
gh copmit --all --lang es
# Create commit and push
gh copmit --all --push
📁 Repository Files
gh-copmit.sh- Main extension script that generates AI-powered commit messages.gitignore- Git ignore rules for the project
For additional scripts, documentation, and examples, check the local repository or future releases.
🔧 Development
Local installation for development:
ln -s $(pwd) ~/.local/share/gh/extensions/gh-copmit
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
🙏 Acknowledgments
- Built with GitHub CLI
- Powered by GitHub Models
- Follows Conventional Commits specification
If you find this extension useful, consider giving it a ⭐ on GitHub!
Collected info
- ★ 1 stars
- Language: Shell
- Source updated: 5/28/2026
Config for your environment
Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.
Tool
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "{MCP_ENDPOINT_URL}"
}
}
}Paste into mcpServers in the config file. Restart Cursor after saving.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.