pr
Skill3 starsChanged 7 months agoMITView on GitHub
Generate a well-structured pull request with summary and test plan
- Commits and pushes
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Before creating the PR:
- Distinctive: line 46
Create PR using GitHub CLI:
- Distinctive: line 88
Follow conventional commit format:
- Distinctive: line 179
Prefer smaller PRs for faster reviews and easier rollbacks.
- Distinctive: line 200
Add labels for categorization
- Distinctive: line 201
Use PR templates if project has them
- Distinctive: line 202
Keep PRs focused on single concern
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/pr - Create Pull Request
Generate a well-structured pull request.
Usage
/pr # Create PR for current branch
/pr [base-branch] # Create PR targeting specific base
/pr main # Create PR to mainProcess
1. Gather Information
Before creating the PR:
# Check current branch and status
git branch --show-current
git status
# Review commits to include
git log main..HEAD --oneline
# Review all changes
git diff main..HEAD2. Analyze Changes
Examine the changes to understand:
- What features/fixes are included
- What files were modified
- Any breaking changes
- Dependencies added/removed
3. Generate PR
Create PR using GitHub CLI:
gh pr create \
--title "feat: Add user authentication" \
--body "$(cat <<'EOF'
## Summary
Brief description of what this PR does and why.
## Changes
- Added OAuth integration with Google
- Created user session management
- Added login/logout endpoints
## Testing
- [ ] Unit tests added for auth service
- [ ] Integration tests for OAuth flow
- [ ] Manual testing completed
## Screenshots
[If applicable]
## Checklist
- [ ] Tests pass
- [ ] Documentation updated
- [ ] No breaking changes (or documented)
- [ ] Reviewed my own code
## Related Issues
Closes #123
EOF
)"PR Title Format
Follow conventional commit format:
<type>: <description>
Types:
- feat: New feature
- fix: Bug fix
- docs: Documentation only
- style: Formatting, no code change
- refactor: Code change, no feature/fix
- perf: Performance improvement
- test: Adding tests
- chore: Maintenance tasksExamples:
feat: Add user authentication with OAuth
fix: Resolve cart calculation rounding error
docs: Update API documentation for v2
refactor: Extract payment processing to servicePR Body Template
## Summary
[1-2 sentences describing what this PR does]
## Motivation
[Why is this change needed? Link to issue/discussion]
## Changes
- [Change 1]
- [Change 2]
- [Change 3]
## Testing
Describe testing performed:
- [ ] Unit tests
- [ ] Integration tests
- [ ] Manual testing
### Test Instructions
1. [Step 1]
2. [Step 2]
3. [Expected result]
## Screenshots
[If UI changes, include before/after screenshots]
| Before | After |
|--------|-------|
| [img] | [img] |
## Breaking Changes
[List any breaking changes and migration steps]
## Checklist
- [ ] Tests pass locally
- [ ] Code follows project style
- [ ] Self-reviewed
- [ ] Documentation updated
- [ ] No sensitive data exposed
## Related
- Closes #[issue]
- Related to #[issue]
- Depends on #[PR]Size Guidelines
| Size | Lines Changed | Review Time |
| XS | < 50 | Minutes |
| S | 50-200 | < 1 hour |
| M | 200-500 | 1-2 hours |
| L | 500-1000 | Half day |
| XL | > 1000 | Consider splitting |
Prefer smaller PRs for faster reviews and easier rollbacks.
Draft PRs
For work in progress:
gh pr create --draft \
--title "WIP: Feature X" \
--body "Work in progress - not ready for review"Convert to ready when complete:
gh pr readyTips
- Link to related issues with "Closes #123"
- Request specific reviewers if needed
- Add labels for categorization
- Use PR templates if project has them
- Keep PRs focused on single concern
In this repository72 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- api-designerSkill
- backend-patternsSkill
- code-reviewerSkill
- debugging-assistantSkill
- golang-testingSkill
- project-guidelines-exampleSkill
- python-testingSkill
- refactoring-guideSkill
- spec-driven-developmentSkill
- tdd-workflowSkill
- verification-loopSkill
- update-docsSkill
- api-docsSkill
- changelog-writerSkill
- readme-generatorSkill
- django-patternsSkill
- django-securitySkill
- django-tddSkill
- django-verificationSkill
- fastapi-patternsSkill
- nextjs-patternsSkill
- react-patternsSkill
- springboot-patternsSkill
- springboot-securitySkill
- springboot-tddSkill
- branch-strategySkill
- changelogSkill
- commit-helperSkill
- pr-creatorSkill
- evolveSkill
- instinct-exportSkill
- instinct-importSkill
- instinct-statusSkill
- cleanupSkill
- lint-fixSkill
- refactor-cleanSkill
- update-depsSkill
- continuous-learningSkill
- continuous-learning-v2Skill
- eval-harnessSkill
- iterative-retrievalSkill
- strategic-compactSkill
- golang-patternsSkill
- python-patternsSkill
- rust-patternsSkill
- typescript-patternsSkill
- accessibility-checkerSkill
- build-fixSkill
- code-reviewSkill
- e2eSkill
- performance-reviewerSkill
- security-auditorSkill
- security-reviewSkill
- test-coverageSkill
- checkpointSkill
- deploySkill
- evalSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

