summary
Generate branch summaries for PR descriptions.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Summary
Generate concise summaries of changes made on the current branch for PR descriptions.
Requirements
- Must be in a git repository
- Must be on a branch (not main/master)
Execution
Create a short summary of changes made on this branch suitable for a PR description.
Scope: Current branch vs main
Steps
-
Verify branch context:
- Check current branch:
git branch --show-current - Ensure not on main/master (error if so)
- Check current branch:
-
Get changes:
- Run
git diff main...HEADto see all changes since divergence - Run
git log main..HEAD --onelineto see commit history
- Run
-
Analyze changes:
- Review the diff to understand what was changed
- Look at commit messages for context
- Identify the main purpose/theme of the changes
- Note key files/components modified
- Identify the type of change (feature/fix/refactor/docs/etc.)
-
Generate summary:
- Create a concise 2-4 sentence summary capturing:
- What was changed (high-level)
- Why it was changed (if evident from commits/diff)
- Any notable technical decisions or approaches
- Focus on "why" over "what" where possible
- Use clear, direct language
- Avoid technical jargon unless necessary
- Create a concise 2-4 sentence summary capturing:
-
Format for PR:
- Present the summary ready to paste into PR description
- Include list of key files changed (if helpful)
- Suggest test plan items if relevant
Output Format
## Summary
[2-4 sentence summary]
## Key Changes
- [Main change 1]
- [Main change 2]
- [Main change 3]
## Test Plan
- [ ] [Test item 1 if relevant]
- [ ] [Test item 2 if relevant]
Notes
- Keep it SHORT - PR descriptions should be scannable
- Focus on the "why" and "so what" over implementation details
- If the branch has many unrelated changes, call that out
- Suggest splitting the summary if changes are too diverse
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!