Clean Git Summary
- Pick the diff: staged (
git diff --cached), else working tree (git diff), else<base>...HEADif a base was given. Start withgit diff --stat. - Skip lockfiles, generated and minified files unless the change in them is intentional.
- Describe behavior and structure, not line edits. Group by module when many files changed.
- Output exactly this, 3–6 bullets in total:
### Changes
- Primary behavior or architecture change.
### Scope
- `path/to/module/`: what changed there.
### Risk
- Breaking: none | <contract that changed>
- Migration: none | <step needed>Rules: imperative tone ("Add endpoint"), no preamble, no adjectives, no AI mentions. Read-only — never stage or commit.