Generate a GitHub Pull Request message following GitHub's PR template guidelines. Use when the user wants to create a PR, write a pull request description, or asks to summarize changes for a PR.
How this skill is triggered — by the user, by Claude, or both
Slash command
/github-write-pr-message:github-write-pr-messageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a well-structured GitHub Pull Request message following GitHub's official PR template guidelines.
Generate a well-structured GitHub Pull Request message following GitHub's official PR template guidelines.
Additional context (optional): $ARGUMENTS
git branch --show-currentgit log main..HEAD --oneline 2>/dev/null || git log master..HEAD --oneline 2>/dev/null || git log --oneline -10git diff --name-status main..HEAD 2>/dev/null || git diff --name-status master..HEAD 2>/dev/null || git diff --name-status HEAD~1..HEADgit diff main..HEAD 2>/dev/null || git diff master..HEAD 2>/dev/null || git diff HEAD~1..HEADCheck for existing PR templates (in priority order):
.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE/*.mddocs/pull_request_template.mdpull_request_template.mdIf found, use it as the structure and fill all sections. If not found, use the Default PR Structure below.
fix/123-bug) or commit messages## Summary
<!-- Brief description of what this PR does and why -->
## Changes
-
-
## Related Issues
Closes #<issue-number>
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Test addition or update
## Testing
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manually tested
## Screenshots / Demo
## Checklist
- [ ] Self-review completed
- [ ] Code follows project style guidelines
- [ ] No new warnings introduced
- [ ] Tests added where applicable
- [ ] Dependent changes merged and published
Present in this order:
feat:, fix:, chore:, etc.)gh pr create@mentions based on changed filesGood:
fix: resolve null pointer in user authenticationfeat: add dark mode support to settings panelBad: Fix bug, Changes, WIP
Closes, Fixes, Resolves) + #issue-number to auto-close issues on merge.github/PULL_REQUEST_TEMPLATE/, present as options and use the most relevantOutput the PR title and body in a code block for easy copy-paste or use with gh pr create.
npx claudepluginhub fuongz/skills --plugin github-write-pr-messageGenerates pull request descriptions from git diffs/commits with conventional titles, summaries, checklists, metadata, and reviewer tips to aid reviews.
Analyzes git diffs and commit history to fill PR templates and create pull requests via gh CLI. Useful for automating PR creation and descriptions.
Creates, updates descriptions, and adds comments to GitHub pull requests using file-based drafts for safety, emphasizing material impact and reviewer-friendly communication.