Generate well-formatted pull requests with integrated verification steps.
Install
mkdir -p .claude/skills/pr-dirien && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13462" && unzip -o skill.zip -d .claude/skills/pr-dirien && rm skill.zipInstalls to .claude/skills/pr-dirien
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create pull requests with structured descriptionKey capabilities
- →Understand all commits on the current branch
- →See the full diff against the main branch
- →Push the branch to remote if not already pushed
- →Create a pull request using gh CLI
- →Return the PR URL to the user
How it works
The skill examines commits and diffs, ensures the branch is pushed, and then creates a pull request using the gh CLI with a short title and a structured body.
Inputs & outputs
When to use pr
- →Creating pull requests
- →Summarizing branch changes
- →Adding PR test plans
About this skill
/pr — Pull Request Creation
When to use
When the user runs /pr or asks to create a pull request.
Steps
- Run
git log --oneline main..HEADto understand all commits - Run
git diff main...HEADto see the full diff - Check if the branch is pushed:
git rev-parse --abbrev-ref --symbolic-full-name @{u} - If not pushed, push with
git push -u origin HEAD - Create the PR using
gh pr createwith:-
Title: short, under 70 chars
-
Body using the template:
Summary
<1-3 bullet points>
Test plan
- Tests pass
- Manual verification
-
Rules
- NEVER force push
- Analyze ALL commits, not just the latest
- Keep the title concise — details go in the body
- Return the PR URL to the user when done
Limitations
- →The skill will NEVER force push.
How it compares
This skill automates the creation of a pull request with a structured description and title, unlike manually performing these steps.
Compared to similar skills
pr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr (this skill) | 0 | 4mo | No flags | Beginner |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
| git-commits | 21 | 4mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
git-commits
bonny
Create well-structured git commits in logical chunks following best practices
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
github-multi-repo
ruvnet
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
git-workflow-enforcer
CrazyDubya
Ensures commits follow conventional commits, branch naming conventions, and PR templates. Use when creating commits, branches, or PRs, or when user mentions git workflow.