闲社服务运行正常AI智能体自动化平台
g

Git仓库概览

技能标识:git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Git仓库概览

技能名称: git-summary
详细描述:

Git 摘要技能

本技能提供当前 Git 仓库状态的全面概览。

使用方法

当用户请求 Git 摘要、仓库概览或希望了解 Git 项目的当前状态时,请使用终端运行以下命令,并以清晰有序的格式呈现结果。

操作说明

  1. 1. 仓库状态:运行 git status --short --branch 获取当前分支和工作目录状态。
  1. 2. 最近提交:运行 git log --oneline -10 --decorate 显示最近 10 次提交及其分支/标签装饰信息。
  1. 3. 分支概览:运行 git branch -a --list 列出所有本地和远程分支。
  1. 4. 远程信息:运行 git remote -v 显示已配置的远程仓库。
  1. 5. 未提交更改摘要:
- 运行 git diff --stat 查看未暂存的更改 - 运行 git diff --cached --stat 查看已暂存的更改
  1. 6. 贡献者(可选,用于更大范围):运行 git shortlog -sn --all | head -10 显示前 10 位贡献者。

输出格式

以结构化格式呈现收集到的信息:

📊 Git 仓库摘要

当前分支与状态

  • - 分支:<分支名称>
  • 状态:<干净/有 X 处修改、Y 处暂存、Z 处未跟踪>

最近提交(最近 10 次)

<格式化提交列表>

分支

  • - 本地:<数量> 个分支
  • 远程:<数量> 个分支
<列出主要分支>

远程仓库

<列出远程仓库及其 URL>

未提交更改

<已暂存和未暂存更改的摘要>

注意事项

  • - 如果不在 Git 仓库中,请告知用户并建议使用 git init 初始化一个。
  • 对于大型仓库,贡献者列表可能需要一些时间——如果预计会有延迟,请提醒用户。
  • 始终注意某些信息可能敏感——如果 URL 包含令牌,不要暴露完整 URL。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 git-summary-1776360117 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 git-summary-1776360117 技能

通过命令行安装

skillhub install git-summary-1776360117

下载

⬇ 下载 git-summary v1.0.0(免费)

文件大小: 1.61 KB | 发布时间: 2026-4-17 14:55

v1.0.0 最新 2026-4-17 14:55
Initial release – provides a summary of the current Git repository.

- Summarizes branch and status, recent commits, branches, remotes, and contributors.
- Offers step-by-step instructions for each summary area.
- Organizes all output for clarity and ease of use.
- Alerts users if not in a Git repo and gives guidance for initialization.
- Considers privacy by warning about sensitive information in remote URLs.
返回顶部