# Git Diff Explain

> Use when user asks what changed, requests a diff summary, or says "explain my changes". Scans uncommitted changes (staged and unstaged) and produces a one-sentence summary of what was modified.

- Skill: `dzhuneyt/git-diff-explain` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dzhuneyt/git-diff-explain`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dzhuneyt/git-diff-explain/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Dzhuneyt (https://skillmd.com/u/dzhuneyt)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/dzhuneyt/git-diff-explain

---


Execute the following steps:
1. Check if current directory is a valid git repository
2. Get all uncommitted changes (staged and unstaged) in one command
3. Analyze the changes and provide exactly one sentence summarizing what changed
4. Only output more than one sentence for critical errors (not a git repo, etc.)

Rules:
- Output exactly one sentence unless there's a critical error
- Be concise but descriptive about the nature of changes
- Include number of files affected if relevant
- Mention the type of changes (additions, modifications, deletions)

