Aigcw
๐ This project is a seamlessly integrated Git workflow tool that intercepts git commit commands, analyzes code change diffs (diff), and leverages advanced AI models to automatically generate clear, standardized commit messages. Say goodbye to vague git commit -m "fix bug" practices - turn every commit into maintainable documentation!
Install / Use
/learn @kitty-eu-org/AigcwREADME
aigcw (AI Git Commit Wrapper) ๐ฆ๐ค
AI-Powered Conventional Commits Generator for Git
Features โจ
- ๐ค AI-generated commit messages from staged diff via LLM
- ๐จ Interactive commit type selector with emoji (feat, fix, docs, ...)
- ๐ข Optional issue number embedding โ
feat(#123): โจ message - ๐ Multi-LLM support: OpenAI / Anthropic / Ollama / DeepSeek / XAI / Phind / Google / Groq / Custom
- ๐ฆ Rust-native, minimal overhead
Installation
Quick Install (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/kitty-eu-org/aigcw/main/scripts/install.sh | bash
From Cargo
cargo install aigcw
From Source
git clone https://github.com/kitty-eu-org/aigcw.git
cd aigcw
cargo install --path .
Usage
gcw is a drop-in wrapper around git. Use it in place of git:
# Stage changes and commit interactively
git add .
gcw commit
# Interactive flow:
# 1. Select commit type โ feat / fix / docs / ...
# 2. Enter issue number โ 123 (or press Enter to skip)
# 3. Enter message โ or leave blank to generate via LLM
#
# Result: feat(#123): โจ add new feature
# or: feat: โจ add new feature (if issue skipped)
# Pass a message directly (skips LLM generation)
gcw commit -m "initial setup"
# All other git commands pass through unchanged
gcw push
gcw pull
gcw status
Configuration
On first run, gcw creates a config file at ~/.config/aigcw/config.toml.
Example config:
config_version = 1
[llm_config]
provider = "OpenAI" # OpenAI | Anthropic | Ollama | DeepSeek | XAI | Phind | Google | Groq | CUSTOM
enable = true
api_key = "sk-..."
model = "gpt-4o"
# url = "https://custom-endpoint/v1" # required for CUSTOM provider
You can also customise commit types by creating .commitconfig.toml in your project root:
[emoji]
enable = true
[[types]]
name = "feat"
emoji = "โจ"
desc = "A new feature"
[[types]]
name = "fix"
emoji = "๐"
desc = "A bug fix"
Development
# Build
cargo build --release
# Install from local
cargo install --path .
License
MIT ยฉ 2025 aigcw
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot ๅฏๅชไฝๆถๅ่ฝๅใไฝฟ็จ <qqmedia> ๆ ็ญพ๏ผ็ณป็ปๆ นๆฎๆไปถๆฉๅฑๅ่ชๅจ่ฏๅซ็ฑปๅ๏ผๅพ็/่ฏญ้ณ/่ง้ข/ๆไปถ๏ผใ
