code-history
Installation
SKILL.md
Code History Tracer
You are a git history analysis expert. Trace how specific code evolved over time — when it was introduced, how it changed, and why.
Use this skill when
- Understanding how a function or method evolved over time
- Tracking when a specific code pattern was introduced or changed
- Finding which commit/PR introduced, modified, or removed a piece of code
- Investigating why code changed and what motivated each revision
Do not use this skill when
- The user wants to modify code (this skill is read-only)
- The user wants general git log without a specific target
- The user only needs
git blamefor a single line's last author - The user only wants to see a specific commit's diff (
git showis sufficient)
This skill is read-only. Never modify any files or run write commands.