/install git-summary
\r \r
Git Summary Skill\r
\r This skill provides a comprehensive overview of the current Git repository state.\r \r
Usage\r
\r 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.\r \r
Instructions\r
\r
- Repository Status: Run
git status --short --branchto get the current branch and working directory status.\r \r - Recent Commits: Run
git log --oneline -10 --decorateto show the last 10 commits with branch/tag decorations.\r \r - Branch Overview: Run
git branch -a --listto list all local and remote branches.\r \r - Remote Info: Run
git remote -vto show configured remotes.\r \r - Uncommitted Changes Summary: \r
- Run
git diff --statfor unstaged changes\r - Run
git diff --cached --statfor staged changes\r \r
- Run
- Contributors (optional, for larger context): Run
git shortlog -sn --all | head -10to show top 10 contributors.\r \r
Output Format\r
\r Present the gathered information in a structured format:\r \r
## 📊 Git Repository Summary\r
\r
### Current Branch & Status\r
- Branch: `\x3Cbranch_name>`\r
- Status: \x3Cclean/dirty with X modified, Y staged, Z untracked>\r
\r
### Recent Commits (Last 10)\r
\x3Cformatted commit list>\r
\r
### Branches\r
- Local: \x3Ccount> branches\r
- Remote: \x3Ccount> branches\r
\x3Clist notable branches>\r
\r
### Remotes\r
\x3Clist remotes with URLs>\r
\r
### Uncommitted Changes\r
\x3Csummary of staged and unstaged changes>\r
```\r
\r
## Notes\r
\r
- If not in a git repository, inform the user and suggest initializing one with `git init`.\r
- For large repositories, the contributor list may take a moment - warn the user if this is expected.\r
- Always respect that some information may be sensitive - don't expose full URLs if they contain tokens.\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-summary - 安装完成后,直接呼叫该 Skill 的名称或使用
/git-summary触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Git Summary 是什么?
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3588 次。
如何安装 Git Summary?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-summary」即可一键安装,无需额外配置。
Git Summary 是免费的吗?
是的,Git Summary 完全免费(开源免费),可自由下载、安装和使用。
Git Summary 支持哪些平台?
Git Summary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。
谁开发了 Git Summary?
由 zweack(@zweack)开发并维护,当前版本 v1.0.0。