/diff-explain:diff-explainfrom diff-explain
Generates a one-paragraph plain-English summary of a diff, grouping changes by concern and flagging risks. Useful for PRs, local branches, or pasted diffs.
Ships in diff-explain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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"Do NOT activate when the user is asking for a detailed line-by-line review -- that's a different task.
gh pr diff <url-or-number>git diff <base>...HEAD (default base: main or master)Watch out for:.One paragraph. Optional single-line Watch out for: ... trailer.
No preamble ("Here's a summary of..."). Lead with the answer.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
diff-summary, pr-review, code-review, git-diff, plain-english
Other plugins' skills for the same job
npx claudepluginhub sagargupta16/claude-skills --plugin diff-explain