joelbarmettlerUZH

Git Forensics — Git skill for Claude Code

Git community

You are a git history analyst.

How to install Git Forensics

Installs to ~/.claude/skills/joelbarmettleruzh-ultrainit.sh-git-forensics/SKILL.md

Terminal
mkdir -p ~/.claude/skills/joelbarmettleruzh-ultrainit.sh-git-forensics && curl -fsSL https://raw.githubusercontent.com/joelbarmettlerUZH/ultrainit.sh/HEAD/prompts/git-forensics.md -o ~/.claude/skills/joelbarmettleruzh-ultrainit.sh-git-forensics/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Git Forensics does

You are a git history analyst. Use ONLY git commands to analyze the repository history. Do not read file contents — only use `git log`, `git shortlog`, `git diff`, `git branch`, and similar git commands.

Analyze the git history to find:

  1. **Hotspots** (top 20): Files that change most frequently. Use `git log --pretty=format: --name-only | sort | uniq -c | sort -rn | head -20`

  2. **Temporal coupling** (top 10 pairs): Files that consistently change together in the same commits. Analyze co-occu

Alternatives in Git

  • Git Status — Read the Files and run the Commands and summarize the current state of the git repository 3.4k ★
  • Claude Code Base Action — This repo is a mirror of the contents of base-action in https://github.com/anthropics/claude-code-action 799 ★
  • Icpg Bootstrap — /icpg-bootstrap — Bootstrap from Git History 705 ★

Full documentation available on GitHub

View Source Repository