gitai-automation

Review·Scanned 2/18/2026

This skill automates Conventional Commits using the gitai CLI and configured LLM providers to generate, commit, and optionally push changes. It instructs running commands like command -v gitai and gitai . '' --push and requires ~/.gitai containing API_KEY, enabling command execution, remote pushes, and handling of secrets.

from clawhub.ai·v1.0.0·9.1 KB·0 installs
Scanned from 1.0.2 at 5987476 · Transparency log ↗
$ vett add clawhub.ai/leandrosilvaferreira/gitai-automationReview findings below

Gitai: Automated Conventional Commits

Transform your git history with AI. From chaotic logs to semantic perfection.


The Problem

Writing meaningful commit messages is often the last thing on a developer's mind. We're focused on the code, not the log. This leads to repositories full of fix, wip, or update messages that make history audits a nightmare.

Common issues:

  • Inconsistent History: "Added feature" vs "feat: add new feature"
  • Mental Fatigue: Context switching to write summaries breaks flow
  • Lost Context: "Fixed bug" (Which bug? How? Why?)
  • Time Wasted: Minutes lost per day thinking of message formatting

The Solution

Gitai acts as your intelligent pair programmer that handles the bureaucracy of version control. It analyzes your staged changes and generates precise, descriptive, Conventional Commits-compliant messages instantly.

FeatureBefore (Manual)After (Gitai)
ConsistencyVaries by mood/coffee100% Conventional Commits
Detail LevelOften vagueSemantic & Descriptive
EffortHigh frictionOne command (gitai)
AccuracyHuman error proneAI-analyzed diffs

Result: A professional, navigable git history with zero extra effort.

Efficiency Comparison

MetricManual CommitGitai Automation
Time per commit30-90 seconds3-5 seconds
Cognitive LoadHigh (Summarizing diffs)Zero (Review only)
Standard ComplianceHit or missGuaranteed

Quick Start

Installation

MacOS / Linux:

chmod +x scripts/install.sh
./scripts/install.sh

Windows (PowerShell):

.\scripts\install.ps1

Configuration (One Time)

Gitai needs to know your preferred AI provider. Run the setup:

  1. Create ~/.gitai:
    nano ~/.gitai
    
  2. Add your settings:
    PROVIDER=openai # or anthropic, groq
    API_KEY=sk-...
    MODEL=gpt-4o
    LANGUAGE=en
    

Features

1. Universal Language Support

Gitai understands code, not just syntax. Whether you're writing Node.js, Python, Java, Go, PHP, or Rust, Gitai analyzes the logic changes to generate accurate summaries.

2. Multi-LLM Support

Choose your brain. Gitai supports:

  • OpenAI (GPT-4o, GPT-3.5)
  • Anthropic (Claude 3.5 Sonnet, Haiku)
  • Groq (Llama 3, Mixtral - strict/fast)

3. Workflow Automation

Combine stages, commits, and pushes into single fluid actions.

Standard Workflow:

# Analyze all changes, commit, and push
gitai . "" --push

Scoped Workflow:

# Analyze only frontend folder
gitai ./frontend "ui refresh"

Usage

Basic Usage

gitai [path] [base-message] [options]

Examples

GoalCommand
Auto-commit everythinggitai
Commit specific pathgitai src/components
Add context hintgitai . "fix login bug"
Commit & Pushgitai . "" --push

Troubleshooting

Wizard Hangs?

If gitai hangs waiting for input, ensure your ~/.gitai config file exists and is valid. Background agents cannot interact with the setup wizard.

"Command not found"?

Ensure the installation script completed successfully and added gitai to your PATH.

Support

If Gitai saves you time, consider supporting development:

License

MIT. See LICENSE for details.


Built with ❤️ by Leandro Zuck