Skip to content
Agentmart
Submit a tool

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…

Skill by autohandai

IndexedApache-2.0★ 210
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/autohandai-git-analysis

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/git-analysis

Tools it pre-approves 8

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • read_file
  • find_grep
  • git_log
  • git_diff
  • git_diff_range
  • git_status
  • git_branch
  • run_command

What's inside

Skill 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.
License
Apache-2.0
Allowed tools
read_file, find_grep, git_log, git_diff, git_diff_range, git_status, git_branch, run_command
Instructions
35 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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.

From autohandai/code-cli, Apache-2.0.

More from autohandai/code-cli

Signals

Stars
210
Forks
37
Open issues
41
Last commit (this folder)
Sep 14, 2026 (1 month ago)
Last release
Sep 22, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from autohandai

Cite this page

git-analysis skill. Agent Mart. https://agentmart.dev/skills/autohandai-git-analysis (last updated 2026-10-24)