Command Palette

Search for a command to run...

Back to skills
skill № 45673

git-diff

Show changes between commits, branches, and working tree.

FreeNo executable scripts
Andersonlimahwby Andersonlimahw★ 19 GitHub stars

Install git-diff in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Git Diff Skill

Inspect differences in working tree, staging area, and between commits.

Capabilities

  • Working tree vs index: git diff
  • Staged vs last commit: git diff --staged or --cached
  • Between commits: git diff <commit1> <commit2>
  • Between branches: git diff <branch1> <branch2>
  • Specific file: git diff -- <file>
  • Word diff: git diff --word-diff
  • Stat summary: git diff --stat
  • Name only: git diff --name-only
  • Ignore whitespace: git diff -w or --ignore-all-space
  • Show diff with context: git diff -U<n>
  • Check for changes: git diff --exit-code (exit 0 if no changes)
  • Diff cached: git diff --cached

Usage

Triggered when user says "diff", "show changes", "what changed", "compare branches". Use --stat for quick overview, --name-only for file list, full diff for detailed review.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the git-diff skill do?

Show changes between commits, branches, and working tree.

How do I install the git-diff skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the git-diff skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare git-diff with