← 返回
数据分析

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.
提升开发者生产力,Gitai:AI 驱动的 Git 自动化工具,即时分析代码变更并生成语义化 Conventional Commits。支持 Node.js、Python、Java、Go、PHP 等语言。兼容 OpenAI、Anthropic 与 Groq。
leandrosilvaferreira
数据分析 clawhub v1.0.2 1 版本 99167.6 Key: 无需
★ 1
Stars
📥 4,269
下载
💾 436
安装
1
版本
#ai#anthropic#automation#commit#conventional-commits#dev-tools#git#groq#latest#latest git automation ai commit conventional-commits workflow productivity dev-tools openai anthropic groq llm#llm#openai#productivity#workflow

概述

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.

  1. CHECK if gitai is available:

```bash

command -v gitai

```

  1. IF MISSING, STOP immediately and inform the user:

> "The gitai CLI tool is not installed. Please install it globally (e.g., npm install -g @notyped/gitai) and configure it before using this skill."

  1. CHECK if ~/.gitai exists.
  2. IF MISSING, STOP immediately and inform the user:

> "The gitai tool is installed but not configured. Please run gitai in your terminal to complete the setup."

  1. 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

CommandAction Description
-----------------------------
gitai . ''Analyzes current folder, Generates message and commits
gitai . '' --pushAnalyzes 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 gitai hangs waiting for input, it means ~/.gitai is 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_KEY in ~/.gitai.

Links

Author

License

MIT

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-28 11:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,855
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,959
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,890