Git summary

From kunwl123456/zeroclaw-skills-collection · View interactive version

Git summary is an AI agent skill from the GitHub repository kunwl123456/zeroclaw-skills-collection. Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

How to use this skill

Skill file

Git Summary Skill

This skill provides a comprehensive overview of the current Git repository state.

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.
  1. Recent Commits: Run git log --oneline -10 --decorate to show the last 10 commits with branch/tag decorations.
  1. Branch Overview: Run git branch -a --list to list all local and remote branches.
  1. Remote Info: Run git remote -v to show configured remotes.
  1. Uncommitted Changes Summary:
  1. 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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.