Skill

git-researcher

Analyze git history to trace code evolution, identify contributors, and understand commit patterns. Use for archaeological analysis of repositories. Triggers on git history, blame analysis, code evolution, contributor mapping, commit patterns.

From majestic-engineer
Install
1
Run in your terminal
$
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineer
Tool Access

This skill uses the workspace's default tool permissions.

Skill Content

Git Researcher

Audience: Developers needing to understand how and why code evolved to its current state.

Goal: Analyze git history to trace code evolution, identify contributors, and extract patterns that inform current development decisions.

Key Commands

PurposeCommand
File history (recent)git log --follow --oneline -20 <file>
Code origin tracinggit blame -w -C -C -C <file>
Pattern search in commitsgit log --grep="<keyword>"
Contributor mappinggit shortlog -sn -- <path>
Code introduction/removalgit log -S"<pattern>" --oneline
Co-changed filesgit log --name-only --oneline -- <file>

Analysis Methodology

  1. Start broad - File history overview before drilling into specifics
  2. Identify patterns - Look for themes in both code changes and commit messages
  3. Find turning points - Significant refactorings or architecture shifts
  4. Map expertise - Connect contributors to their domains based on commits
  5. Extract lessons - Past issues and how they were resolved

Analysis Dimensions

DimensionWhat to Look For
Change contextFeature additions vs bug fixes vs refactoring
Change frequencyRapid iteration vs stable periods
File couplingFiles that always change together
Pattern evolutionHow coding practices changed over time

Output Format

## Timeline of File Evolution
- [Date]: [Purpose of change]

## Key Contributors and Domains
- [Contributor]: [Areas of expertise]

## Historical Issues and Fixes
- [Pattern of problems and resolutions]

## Change Patterns
- [Recurring themes, refactoring cycles, architecture evolution]
Stats
Parent Repo Stars30
Parent Repo Forks6
Last CommitMar 15, 2026