gitai-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.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- gitai-automation
- tags
- [ "git", "automation", "ai", "commit", "conventional-commits", "workflow", "productivity", "dev-tools", "openai", "anthropic", "groq", "llm" ]
- author
- leandrosilvaferreira
- version
- 1.0.0
- priority
- HIGH
- description
- 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.
- display_name
- Gitai - Automated Conventional Commits in Git with AI
- allowed-tools
- Run Command, Read File, Write File
02 资源文件 3
- 参考文档_meta.json306 B
- 参考文档README.md4.2 KB
- 参考文档skill.json1.1 KB
03 SKILL.md 正文
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: leandrosilvaferreira@gmail.com
License
MIT
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.