Agent skill
github-pr
Create and manage pull requests
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/github-pr-breakerofstems-claude-skills
SKILL.md
GitHub Pull Request Skill
Create pull requests with proper descriptions and link to issues.
See also: Shared Conventions | Safety Guidelines
Purpose
Create well-documented pull requests that are easy to review.
Commands
gh pr create
gh pr create --title "<title>" --body "<body>"
gh pr create --draft
gh pr view <number>
gh pr list
gh pr checks <number>
PR Title Format
Include issue number in title:
[#123] Fix login validation bug
[#456] Add user authentication
PR Body Template
## Summary
<!-- Brief description of the changes -->
## Related Issue
Closes #<issue-number>
## Changes Made
- Change 1
- Change 2
## Testing
- [ ] Unit tests pass
- [ ] Manual testing completed
## Checklist
- [ ] Code follows project conventions
- [ ] Self-review completed
Workflow
-
Verify branch is ready
bashgit status git log origin/main..HEAD --oneline -
Push latest changes
bashgit push -
Create PR
bashgh pr create --title "[#123] Fix login bug" --body "## Summary Fixes validation issue in login form. Closes #123" -
Verify PR created
bashgh pr view
Policies
- PR title must include issue number
- PR body must reference the issue with "Closes #X" or "Fixes #X"
- Ensure all commits are pushed before creating PR
- Use draft PRs for work-in-progress
- Never push directly to main/master
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?