Gitai - Git Commit Automation
/install gitai-skill
Gitai Automation - AI-Powered Git Workflow
Transform your development workflow with intelligent, automated commit management.
Gitai analyzes your code changes to generate precise, descriptive commit messages following the Conventional Commits standard. It eliminates the friction of writing commit messages, ensuring a clean, semantic, and professional git history automatically.
Key capabilities:
- Universal Language Support: Analyzes Node.js, Python, Java, Go, PHP, and more.
- Multi-LLM Support: Choose your preferred AI brain—OpenAI (GPT), Anthropic (Claude), or Groq.
- Workflow Automation: Stages, commits, and pushes changes in a single command.
- Standardized History: Enforces consistency across your project's version history.
📦 Prerequisites (MANDATORY)
This skill requires the @notyped/gitai CLI tool to be installed and configured on the system BEFORE the agent can operate.
The AGENT MUST NOT attempt to install this package or configure it.
-
CHECK if
gitaiis available:command -v gitai -
IF MISSING, STOP immediately and inform the user:
"The
gitaiCLI tool is not installed. Please install it globally (e.g.,npm install -g @notyped/gitai) and configure it before using this skill." -
CHECK if
~/.gitaiexists. -
IF MISSING, STOP immediately and inform the user:
"The
gitaitool is installed but not configured. Please rungitaiin your terminal to complete the setup." -
ONLY PROCEED if both checks pass.
🚀 Usage & Workflows
Command Structure
Based on gitai --help:
gitai [options] [projectPath] [baseMessage]
Arguments:
projectPath: The path to the project (default: ".").baseMessage: The base commit message (Optional).
Options:
-p, --push: Whether to push after committing (default: false).-V, --version: Output the version number.-h, --help: Display help for command.
Standard Workflows
| Command | Action Description |
|---|---|
gitai . '' |
Analyzes current folder, Generates message and commits |
gitai . '' --push |
Analyzes current folder, Generates message, commits, AND pushes to remote |
gitai ./frontend 'ui update' |
Analyzes only the ./frontend directory, Generates message and commits |
Verification
Check which version of Gitai is currently active:
gitai --version
⚠️ Troubleshooting
- Interactive Wizard Hangs: If
gitaihangs waiting for input, it means~/.gitaiis missing or invalid. create the file manually as described in Step 2. - Node Version Error: Ensure Node.js 18+ is active (
node -v). - API Errors: Check the
API_KEYin~/.gitai.
Links
- GitHub: https://github.com/leandrosilvaferreira/gitai-skill
- Issues: https://github.com/leandrosilvaferreira/gitai-skill/issues
Author
- Leandro Zuck
- GitHub: https://github.com/leandrosilvaferreira
- Email: [email protected]
License
MIT
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gitai-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/gitai-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Gitai - Git Commit Automation 是什么?
Boost developer productivity with Gitai: An AI-powered Git automation tool that analyzes code changes and generates semantic Conventional Commits instantly. Supports Node.js, Python, Java, Go, PHP, and more. Compatible with OpenAI, Anthropic, and Groq. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3125 次。
如何安装 Gitai - Git Commit Automation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gitai-skill」即可一键安装,无需额外配置。
Gitai - Git Commit Automation 是免费的吗?
是的,Gitai - Git Commit Automation 完全免费(开源免费),可自由下载、安装和使用。
Gitai - Git Commit Automation 支持哪些平台?
Gitai - Git Commit Automation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gitai - Git Commit Automation?
由 leandrosilvaferreira(@leandrosilvaferreira)开发并维护,当前版本 v1.0.2。