diff-explain

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

diff-explain

Live context (when diffing a local branch)

  • Current branch diff stat: !git diff $(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD main 2>/dev/null || echo HEAD)...HEAD --stat 2>/dev/null || echo "no local diff vs main"

When to activate

  • User pastes a diff and asks "what does this do?" / "summarize" / "explain".
  • User shares a PR link or branch name and wants a quick read before reviewing.
  • Reviewing unfamiliar changes before merge.

Do NOT activate when the user is asking for a detailed line-by-line review -- that's a different task.

Steps

Installs
2
GitHub Stars
3
First Seen
Jun 14, 2026
diff-explain — sagargupta16/claude-skills