redhat-community-ai-tools

Diff Explain — Git skill for Claude Code

Git community

Explain a git diff or branch comparison in plain language.

How to install Diff Explain

Installs to ~/.claude/commands/redhat-community-ai-tools-claude-code-setup-evaluator-diff-explain.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/redhat-community-ai-tools/claude-code-setup-evaluator/HEAD/.claude/commands/diff-explain.md -o ~/.claude/commands/redhat-community-ai-tools-claude-code-setup-evaluator-diff-explain.md

Restart Claude Code, or start a new session, for it to be picked up.

What Diff Explain does


description: "Explain a git diff or branch comparison in plain language. Describes the intent behind changes, not just what files were modified. Useful for MR reviews and catching up."

Diff Explain Command

Explain code changes in plain language — what was done and why.

Instructions

Step 1: Get the Diff

Determine what to explain based on arguments:

  • No arguments: explain uncommitted changes (git diff + git diff --staged)
  • Branch name: explain difference from t

Alternatives in Git

  • Claude Code Safety Net — A Claude Code plugin that acts as a safety net, catching destructive git and filesystem commands before they e 1.2k ★
  • Resolve Reviews — 指定したPRの未解決レビューコメントに対応する 697 ★
  • /commit — by evmts - Creates git commits using conventional commit format with appropriate emojis, following project sta 440 ★

Full documentation available on GitHub

View Source Repository