Agent skill
open-pr
Write a PR description using conversation context and open PR creation in browser.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/open-pr
SKILL.md
Gather context
- Get the base branch (usually
mainormaster) - Get the diff:
git diff <base>...HEAD - Get commit messages:
git log <base>...HEAD --format="%s" - Read changed files to understand the broader context
Commit uncommitted changes
- Run
git statusto check for uncommitted changes - If changes exist, commit them before proceeding
Write PR description
Use this template:
## Summary
[1-2 sentences: what this PR does and why]
## Changes
- [Key change 1]
- [Key change 2]
- [Key change 3]
## Testing
[How you verified it works]
Guidelines:
- Lead with a concise summary of what the PR does
- Explain the "why" before the "how"
- Use the conversation context to inform the description
- Include before/after comparisons for UI or performance changes
- Be direct and to the point
Create the PR
-
Write a short PR title (max 72 characters)
-
Ensure the branch is pushed:
bashgit push -u origin HEAD -
Open PR creation in browser (do NOT create directly):
bashgh pr create --web --title "<title>" --body "<body>"
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?