Summarize Diff

Summarize a git diff into a reviewer-facing changelog grouped by subsystem. Use when preparing a change review.

stbenjam Updated

File contents

Summarize Diff

Use this skill when the user asks what changed in a branch or a pull request and wants a summary they can paste into a review.

Steps

  1. Run git diff --stat against the base branch to see which files changed.
  2. Group the changed files by subsystem, using the top-level directory name.
  3. For each group, read the diff and write one sentence describing the change.
  4. Emit a markdown list with one bullet per group.

Stop once the summary is written. Do not commit, push, or open a pull request.

stbenjam/skillsaw/tree/main/tests/fixtures/codex/clean/.codex/plugins/installed-helper/skills/summarize-diff commit e1116c3ee8

Frequently asked questions

npx skillmds@latest add stbenjam/summarize-diff