Skip to content
Content
Command

/history

Explore git history to understand what changed and why.

BOOST
From plugin
youtube-tutorials
40911 skills11 commands
Install
$ npx -y skills add owainlewis/youtube-tutorials --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/history

Context preview

What this command does when you run it.

Explore git history to understand what changed and why.

Command definition

history.md

History

Explore git history to understand what changed and why.

What to look for

$ARGUMENTS — e.g. "what changed in the last 3 commits", "who last changed this function", "what happened to auth.ts"

Tools

Recent commits

git log --oneline -N

Changes in a specific commit

git show <hash>

Who changed a specific file or line

git log --follow -p <file>
git blame <file>

Search commit messages

git log --grep="keyword"

Find when a line was introduced

git log -S "search string" --oneline

Instructions

1. Understand what the user is looking for 2. Use the appropriate git command to find it 3. Summarize the findings in plain language — don't just dump raw output 4. If looking at blame, explain the context of each change

Rules

  • Translate git output into human-readable summaries
  • When showing blame, include the commit message context — not just the hash
  • For large histories, summarize the key changes rather than listing everything
Ships withyoutube-tutorials

Code and examples from my YouTube channel tutorials.

Get the whole plugin

Other commands on youtube-tutorials.