Installs into .claude/skills of the current project.
Are you the author of Open Pr?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/okm321-open-pr)
---
name: open-pr
description: Write a PR description using conversation context and open PR creation in browser.
disable-model-invocation: true
allowed-tools: Read, Bash, Glob, Grep
---
<!-- This is a starting point. Customize the template and guidelines to match your team's PR conventions. -->
## Gather context
1. Get the base branch (usually `main` or `master`)
2. Get the diff: `git diff <base>...HEAD`
3. Get commit messages: `git log <base>...HEAD --format="%s"`
4. Read changed files to understand the broader context
## Commit uncommitted changes
1. Run `git status` to check for uncommitted changes
2. If changes exist, commit them before proceeding
## Write PR description
Use this template:
```markdown
## 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
1. Write a short PR title (max 72 characters)
2. Ensure the branch is pushed:
```bash
git push -u origin HEAD
```
3. Open PR creation in browser (do NOT create directly):
```bash
gh pr create --web --title "<title>" --body "<body>"
```