Diff Explain banner
redhat-community-ai-tools redhat-community-ai-tools

Diff Explain

Git community

Description

--- 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

Installation

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.

Full documentation available on GitHub

View Source Repository