# Code change history (/git--blame-detective)

/git--blame-detective is a Claude Code skill in the Code section. Investigates with git blame and log who changed a file or section and why, and presents a timeline of the significant changes.

- Web version: https://skills.sgomez.dev/en/s/git--blame-detective
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/git/blame-detective.md
- Updated 26 Mar 2026

## How to ask for it

- `/git--blame-detective find out who changed this function and why`
- `/git--blame-detective dig into the history of this line of code`
- `/git--blame-detective find out when this bug was introduced`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install git-skills@claude-skills-collection
```

## Permissions

- Reads: `.git/**`, `**/*`
- Writes: —
- Runs: `git blame`, `git show`, `git log`
- Network: No
- Destructive: No

## Author's description

Deep investigation of who changed what and why using git blame and log

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
