git-diff-summariser
Installation
SKILL.md
Git diff summariser
When to use
The user pastes or points at a git diff and wants a summary rather than reading it line-by-line.
Examples:
- "Summarise this diff"
- "Draft a commit message for these changes"
- "What changed in this PR?"
Steps
- Get the diff content. Either the user pasted it, or they point at a file — use
fs_readon a.diff/.patchfile. If you have sandbox access and a git repo cloned in/workspace, the shell script below can regenerate the diff.