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
累计下载
4,967
星标
1
全站排名
#1,855
全站前 37% · 「开发编程」前 42%
平台累计安装累计下载星标评论
ClawHub ↗1624,7121-
SkillHub ↗2664,9671—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

用户询问仓库概览时,整理当前分支与工作区状态、近期提交、分支列表、remote、暂存/未暂存改动统计,并可选列出贡献者。以分节摘要呈现。分享前应检查分支名、提交信息、贡献者与 remote URL;若 URL 含令牌,不要公开完整地址。此技能需要 git。

资料发布于 2026-10-27

可以用来做什么

  • 查看仓库当前分支与工作区状态、近期提交、分支和 remote。

什么时候用

  • 需要快速了解 Git 项目概况或未提交改动时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

帮我总结这个 Git 仓库的当前状态
列出最近提交、分支和 remote
汇总暂存与未暂存改动,并注意隐藏敏感 URL

月度数据趋势

累计下载4,967
3,3954,2395,0832026-03 · 累计下载 3,5112026-05 · 累计下载 4,0542026-06 · 累计下载 4,2182026-07 · 累计下载 4,4632026-08 · 累计下载 4,6132026-09 · 累计下载 4,96726-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,967—1
2026-084,613+3.4%1
2026-074,463+5.8%1
2026-064,218+4.0%1
2026-054,054—1
2026-033,511—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),按月更新。口径说明见数据方法。