Pull Request Skill
Create well-structured GitHub pull requests.
Process
- •Check current branch state:
- •
git statusfor uncommitted changes - •
git log origin/main..HEADfor commits to include - •
git diff main...HEADfor full diff
- •
- •Analyze ALL commits (not just the latest)
- •Draft PR title and description:
- •Title: Under 70 characters, descriptive
- •Summary: 1-3 bullet points
- •Test plan: How to verify changes
- •Push branch and create PR
PR Format
markdown
## Summary - Bullet point describing main change - Additional changes if applicable ## Test plan - [ ] How to test the changes - [ ] Expected outcomes
Commands
bash
# Push branch git push -u origin <branch-name> # Create PR gh pr create --title "Title" --body "Body"
Guidelines
- •Keep PR title short and descriptive
- •Reference related issues with #number
- •Include test plan for reviewers
- •One logical change per PR when possible