Skip to content
Development
Skill

/git-analysis

Answer questions from repository history, including what changed, when, by whom, why a line exists, which commits touched an area, where a regression entered, and how branches relate. Use for blame, bisect-style narrowing, changelog drafting, and release diffs.

From plugin
code-cli
21814 skills15 agents

Claude Code

$ npx -y skills add autohandai/code-cli --skill git-analysis --agent claude-code

SKILL.md

git-analysis.SKILL.md
name: git-analysis
description: Answer questions from repository history, including what changed, when, by whom, why a line exists, which commits touched an area, where a regression entered, and how branches relate. Use for blame, bisect-style narrowing, changelog drafting, and release diffs.
allowed-tools: read_file find_grep git_log git_diff git_diff_range git_status git_branch run_command

Read the history, not just the tree

Git already knows most of what a reviewer wants to ask. Use it before reading code, and cite commits.

Techniques

  • **What changed between X and Y**: `git_diff_range`, then group by module;

summarize behavior changes, not file lists.

  • **Why does this line exist**: `git blame -L` through `run_command`, then

`git show` the commit and read its message and the surrounding diff.

  • **When did it break**: find the last known good and first known bad, then

narrow with `git bisect run <test command>` when a test exists; otherwise bisect by hand on the commits touching the area (`git log -- <path>`).

  • **Who owns this area**: `git shortlog -sn -- <path>` and recent authors.
  • **What is risky in this release**: largest diffs, files with many recent

touches, changes without tests, dependency bumps.

  • **Branch relationships**: `git log --oneline --graph`, merge bases, commits

not yet in main.

Rules

  • Quote commit hashes and dates; never paraphrase a commit message as fact

without showing it.

  • Read-only by default. Do not rebase, reset, or rewrite history unless the

user asks for that specific operation and confirms.

  • Large histories: bound queries with paths, `--since`, and `-n`.

Output

A short narrative with the commits that matter, then a table of commit, date, author, summary, and the evidence line for each claim. End with the open questions the history cannot answer.

Read more
@autohandai
Ships withcode-cli

Docs: English | 日本語 | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Polski | Русский | Português (Brasil) | Türkçe | Čeština | Magyar | हिन्दी | Bahasa Indonesia A fast, self-improving terminal-native AI coding agent for planning, reflecting,

21814 skills15 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
218
Star history of autohandai/code-cli on GitHub, a chart by star-history.com

Other skills on code-cli.

architecture-breakdown

architecture-breakdown

Map an unfamiliar codebase or subsystem into modules, boundaries, data flow, entry points, and hot spots, and produce a breakdown…

@autohandai@autohandaiInstall Skill
brainstorm

brainstorm

Turn a rough software idea into a clear, well-scoped design before any code is written. Use when the user wants to design,…

@autohandai@autohandaiInstall Skill
code-reviewer

code-reviewer

Staff-engineer-level code review delivering 10 prioritized actionable findings across architecture, security, performance, and…

@autohandai@autohandaiInstall Skill
computer-control

computer-control

Operate native desktop applications through Autohand Computer Use. Use when the user asks Autohand to open, drive, click, type,…

@autohandai@autohandaiInstall Skill
data-scientist

data-scientist

Explore, clean, analyze, and model data in the workspace (CSV, JSON, Parquet, SQL, notebooks) with reproducible scripts and…

@autohandai@autohandaiInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react9d252k
@facebook@facebookInstall Skill

Questions about git-analysis.

Which coding agents can use git-analysis?
git-analysis installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.