zweack

Git Summary

開發程式設計v1.0.0
作者:zweack更新於 2026-05-11git-summary@clawhub_zweack/git-summary
Git 輔助#Git Repository

據 AlphaMoat 統計,截至 2026-09,Git Summary 累計下載 4,967 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 1,855 位,在「開發程式設計」分類(577 個)中排名第 239 位。

累計安裝
266
累計下載
4967
星標
1
全站排名
#1,855
全站前 37% · 「開發程式設計」前 42%
平台累計安裝累計下載星標評論
ClawHub ↗16247121-
SkillHub ↗26649671—

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

這個技能是做什麼的

使用者詢問倉庫概覽時,整理當前分支與工作區狀態、近期提交、分支列表、remote、暫存/未暫存改動統計,並可選列出貢獻者。以分節摘要呈現。分享前應檢查分支名、提交資訊、貢獻者與 remote URL;若 URL 含令牌,不要公開完整地址。此技能需要 git。

資料釋出於 2026-10-27

可以用來做什麼

  • 檢視倉庫當前分支與工作區狀態、近期提交、分支和 remote。

什麼時候用

  • 需要快速瞭解 Git 專案概況或未提交改動時

示例提示詞

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

幫我總結這個 Git 倉庫的當前狀態
列出最近提交、分支和 remote
彙總暫存與未暫存改動,並注意隱藏敏感 URL

月度資料趨勢

累計下載4967
3395423950832026-03 · 累計下載 35112026-05 · 累計下載 40542026-06 · 累計下載 42182026-07 · 累計下載 44632026-08 · 累計下載 46132026-09 · 累計下載 496726-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

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

月份累計下載環比星標
2026-094967—1
2026-084613+3.4%1
2026-074463+5.8%1
2026-064218+4.0%1
2026-054054—1
2026-033511—1

SKILL.md 原文

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

2.1 KB · ClawHub v1.0.0
---
name: git-summary
description: Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
user-invocable: true
metadata: {"openclaw": {"emoji": "📊", "requires": {"bins": ["git"]}, "os": ["darwin", "linux", "win32"]}}
---

# Git Summary Skill

This skill provides a comprehensive overview of the current Git repository state.
展開全部(共 63 行)
## Usage

When the user asks for a git summary, repository overview, or wants to understand the current state of a git project, use the terminal to run the following commands and present the results in a clear, organized format.

## Instructions

1. **Repository Status**: Run `git status --short --branch` to get the current branch and working directory status.

2. **Recent Commits**: Run `git log --oneline -10 --decorate` to show the last 10 commits with branch/tag decorations.

3. **Branch Overview**: Run `git branch -a --list` to list all local and remote branches.

4. **Remote Info**: Run `git remote -v` to show configured remotes.

5. **Uncommitted Changes Summary**: 
   - Run `git diff --stat` for unstaged changes
   - Run `git diff --cached --stat` for staged changes

6. **Contributors** (optional, for larger context): Run `git shortlog -sn --all | head -10` to show top 10 contributors.

## Output Format

Present the gathered information in a structured format:

```
## 📊 Git Repository Summary

### Current Branch & Status
- Branch: `<branch_name>`
- Status: <clean/dirty with X modified, Y staged, Z untracked>

### Recent Commits (Last 10)
<formatted commit list>

### Branches
- Local: <count> branches
- Remote: <count> branches
<list notable branches>

### Remotes
<list remotes with URLs>

### Uncommitted Changes
<summary of staged and unstaged changes>
```

## Notes

- If not in a git repository, inform the user and suggest initializing one with `git init`.
- For large repositories, the contributor list may take a moment - warn the user if this is expected.
- Always respect that some information may be sensitive - don't expose full URLs if they contain tokens.

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

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