leandrosilvaferreira

Gitai - Git Commit Automation

開發程式設計v1.0.2
作者:leandrosilvaferreira更新於 2026-05-11共 3 個版本 · 最新版本釋出於 2026-02-06gitai-skill@clawhub_leandrosilvaferreira/gitai-skill
指令碼工具Git 輔助#Git#Anthropic#Conventional Commits#Groq#OpenAI

據 AlphaMoat 統計,截至 2026-10,Gitai - Git Commit Automation 累計下載 6,927 次、獲 1 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 4,084 位,在「開發程式設計」分類(1,069 個)中排名第 344 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
6927
星標
1
全站下載量排名
#4,084
全站前 38% · 「開發程式設計」前 33%
平台累計下載星標評論
ClawHub ↗43571-
SkillHub ↗69271—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

需要預先安裝gitai並完成本地配置,模型服務需相應API憑證;代理不負責安裝配置。命令會建立提交,可選推送還會改動遠端,應在授權範圍明確後執行。 提交前先檢查暫存差異與產生的提交訊息。儲存庫內容可能傳送至 Gitai 設定的 AI 服務供應商;未獲准進行此類處理時,不要用於敏感程式碼。只有明確授權更新遠端時才推送。

資料釋出於 2026-10-27

可以用來做什麼

  • 整理規範化提交工作流

什麼時候用

  • Gitai已配置且需要根據程式碼差異提交時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

檢查Gitai前置要求並說明擬提交範圍,執行前確認提交和推送授權。

月度資料趨勢

累計下載6927
3351527271922026-03 · 累計下載 36162026-05 · 累計下載 42322026-06 · 累計下載 43552026-07 · 累計下載 45472026-08 · 累計下載 48042026-09 · 累計下載 52272026-10 · 累計下載 692726-0326-0926-10
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 12026-10 · 星標 126-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-106927—1
2026-095227—1
2026-084804+5.7%1
2026-074547+4.4%1
2026-064355+2.9%1
2026-054232—1
2026-033616—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.8 KB · ClawHub v1.0.2
---
name: "gitai-automation"
display_name: "Gitai - Automated Conventional Commits in Git with AI"
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."
author: "leandrosilvaferreira"
version: "1.0.0"
tags: ["git", "automation", "ai", "commit", "conventional-commits", "workflow", "productivity", "dev-tools", "openai", "anthropic", "groq", "llm"]
allowed-tools: "Run Command, Read File, Write File"
priority: "HIGH"
---
展開全部(共 99 行)

# 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
    ```
2.  **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."
    
3.  **CHECK** if `~/.gitai` exists.
4.  **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."

5.  **ONLY PROCEED** if both checks pass.

## 🚀 Usage & Workflows

### Command Structure
Based on `gitai --help`:
```bash
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:
```bash
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
- **GitHub**: [https://github.com/leandrosilvaferreira/gitai-skill](https://github.com/leandrosilvaferreira/gitai-skill)
- **Issues**: [https://github.com/leandrosilvaferreira/gitai-skill/issues](https://github.com/leandrosilvaferreira/gitai-skill/issues)

## Author
- **Leandro Zuck**
- **GitHub**: [https://github.com/leandrosilvaferreira](https://github.com/leandrosilvaferreira)
- **Email**: [email protected]

## License
MIT

「開發程式設計」分類下的熱門技能

程式設計大神.Skill開發程式設計

【全棧能力】程式設計大神.Skill:面向複雜真實專案的高階全棧程式設計助手。不止生成程式碼,而是從一句目標接手陌生程式碼庫,拆解需求、補齊實現、追到根因、完成重構、聯調前後端,並把結果推進到能執行、能驗證、能交付。覆蓋 Web、後端、指令碼、iOS、安卓、鴻蒙 ArkUI、微信小程式及其他技術棧,支援中英文工程、疑難 Bug、跨模組任務和長任務續做;用構建、日誌、真實入口、裝置或介面證據說明結果。僅問概念時直接回答,要求落地時持續推進到驗收或明確阻塞。

↓ 1125.9萬★ 82u_42bbb65f
程式設計專家Pro.Skill開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 626.9萬★ 32user_47d655f0
程式設計專家.Skill開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 600.7萬★ 378user_741dc82b
dev-expert開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 528.1萬★ 32user_814dbe54
dev-expert-pro開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 104.7萬★ -user_814dbe54
程式設計專家 Pro開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 98.2萬★ 1user_28275a78
程式設計專家.Skill開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 70.1萬★ 6user_613b33ea
Github開發程式設計

用 gh 命令列工具檢視 GitHub 上的 PR 檢查、工作流執行與 API 查詢的技能。

↓ 48萬★ 714Peter Steinberger

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。