Skip to content
Skills Library
Programming · Learning & explanation

summarize-diff

/summarize-diff

Summarizes a git diff in simple language: what changed and why it matters. Use when the user asks to summarize a diff, explain current changes, or describe what a branch or working tree changed.

Repository
agent-kit ↗
Licence
MIT
Last repository change
11.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Summarizes a git diff in simple language: what changed and why it matters. Use when the user asks to summarize a diff, explain current changes, or describe what a branch or working tree changed.

Original author description

Summarizes a git diff in simple language: what changed and why it matters. Use when the user asks to summarize a diff, explain current changes, or describe what a branch or working tree changed.

How it works

  1. 1. Pin the diff
  2. 2. Read the change
  3. 3. Summarize in simple language
  4. 4. Report
Original SKILL.md headings · 48 lines, 279 words
SKILL.md preview
---
name: summarize-diff
description: >-
  Summarizes a git diff in simple language: what changed and why it
  matters. Use when the user asks to summarize a diff, explain current
  changes, or describe what a branch or working tree changed.
---

# Summarize Diff

Read the change, then report a **simple-language** summary a teammate could follow without opening the diff. Stop after the report; leave editing and committing to the user.

## 1. Pin the diff

Resolve the range:

- User named a fixed point → `git diff <fixed-point>...HEAD`, plus any working-tree changes
- Working tree is dirty → the working tree against `HEAD`, including untracked files
- Working tree is clean → `git diff <main>...HEAD` (resolve `main` / `master` / the tracked upstream from git)

State the range. Gather the file list and the full diff. Work in source humans maintain; skip lockfiles, generated output, and vendor trees.

Completion: the range is stated, and the file list plus full diff are in context. If the range is empty, say so and stop.

## 2. Read the change

Walk every hunk and every newly added file. Read enough surrounding code to name behaviors, not just paths.

Completion: every changed path is understood well enough to explain what it does in this change.

## 3. Summarize in simple language

Explain what changed and why it matters for a reader who has not seen the diff.

- Prefer concrete outcomes over file names, APIs, or jargon
- Group related edits into areas
- Call out risk or surprising deletes when they are present

Completion: the whole change has a short overview, and each area has a plain-language note.

## 4. Report

```
## Diff summary

Range: <the pinned range>

<2–4 sentence plain-language overview of the whole change>

By area:
- <area or path group>: <what changed, in simple terms>
```

Omit empty sections. Do not invent commit messages or edit the tree.
Files in this package (2)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB

Versions

The database has no other skills named summarize-diff.

Database snapshot: 13.11.2026 · package version 28a3144e6712 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90diff-explain
    Use when you want a one-paragraph plain-English summary of what a diff does. Activates on "summarize this diff", "what does this PR do", "explain this branch", or when pointed at a PR URL or local branch.
  • 100review-github-pr
    Review a GitHub pull request by summarizing its diff and key design decisions. Use when the user wants to review a PR, understand changes in a branch, or get a code review summary. Trigger keywords - review PR, review pull request, summarize PR, summarize diff, code review,…
  • 100load-branch-changes
    Load current git branch changes (diff, commits, changed files) into session context. Use when the user invokes /load-branch-changes to review, understand, or focus on the current branch's changes compared to the base branch.
  • 100explain-changes
    Explain git diffs and code changes with educational insights — what changed, why, and what it means. Use this skill whenever a user wants to understand recent modifications to their codebase, whether staged, unstaged, committed, or across branches. This is different from code…
  • 100get-diff-info
    Fetch and summarize Diffy diff status, result JSON, changed percentage, per-page and per-breakpoint differences, JUnit output, or recent diff lists. Use when the user asks for diff info, diff results, changed pages, percent changed, report link, or whether a Diffy diff is complete.
  • 100explain-diff
    USE WHEN about to open a PR, when teammate asks "what's in this diff?", or when returning to a branch and needing self-orientation. Three modes: `--for pr|review|self`. Reads `git diff HEAD` (or passed range), returns 3–5 bullet plain-English narration. Read-only — defers…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.