Skip to content
Back to skills

Code Review Diff Summary Skill

ASecurity

Diff summarization workflow for code review. Use when: a reviewer needs fast orientation on what really changed, which behavior is new versus modified, what remained untouched, and whether the diff has a few large clusters or many small edits.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 13, 2026
developmentpythonbashcode-reviewgit

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add Andrer757/Kickoff-V2 --skill code-review-diff-summary-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review Diff Summary Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Review Diff Summary Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andrer757-code-review-diff-summary-skill/badge)](https://www.skillsdirectory.com/skills/andrer757-code-review-diff-summary-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-review-diff-summary-skill
description: 'Diff summarization workflow for code review. Use when: a reviewer needs fast orientation on what really changed, which behavior is new versus modified, what remained untouched, and whether the diff has a few large clusters or many small edits.'
argument-hint: 'Describe the diff, PR, branch, or file set that should be summarized for review orientation.'
user-invocable: false
---

# Code Review Diff Summary Skill

## When to Use

- A reviewer asks what changed in plain language
- The diff is large enough that orientation cost matters
- The review needs separation of new versus modified behavior
- The review needs identification of large and small edit clusters

## Boundaries

- Do not review correctness, bugs, or design quality
- Do not speculate about behavior not supported by the diff and nearby context
- Do not recommend approval or rejection

## Procedure

### Step 1 - Identify the Change Surface

Prefer deterministic extraction first with the helper script:

```bash
python3 .github/policies/codereview/code-review-diff-summary.py --path core/services
python3 .github/policies/codereview/code-review-diff-summary.py --base-ref main --head-ref feature/review-pass --path core/services
python3 .github/policies/codereview/code-review-diff-summary.py --path core/common --json
```

Use the helper to extract:

- changed files and line counts
- new, deleted, renamed, and modified file buckets
- path clusters and isolated edits
- nearby untouched siblings under the selected paths when determinable

If the helper output is insufficient, augment it with one or two focused Git or file reads rather than broad exploration.

### Step 2 - Identify the Change Surface

Collect:

- changed files and modules
- main edit clusters
- proportion of structural versus behavioral edits

### Step 3 - Reframe the Diff

Describe in reviewer language:

- new behavior introduced
- existing behavior modified
- structural, naming, or non-behavioral edits

### Step 4 - Bound the Summary

Call out adjacent areas that are not touched only when the diff gives enough confidence.

### Step 5 - Report Shape, Not Judgment

Make the summary faster to read than the raw diff while staying neutral.

## Output Pattern

Use this structure:

```md
### Scope Summary
### What Changed
### What Did Not Change
### Diff Shape
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.