Streamline PR creation with automatic label, assignee, and issue linking.
Install
mkdir -p .claude/skills/pr-phel-lang && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13468" && unzip -o skill.zip -d .claude/skills/pr-phel-lang && rm skill.zipInstalls to .claude/skills/pr-phel-lang
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.
Push branch and open a PR (assigned to @me, labeled, Closes #N)Key capabilities
- →Update `CHANGELOG.md` with unreleased changes
- →Derive PR title from branch prefix using conventional commit format
- →Select a label for the pull request based on branch type
- →Create a pull request with a structured body and linked issue
- →Report the URL of the created pull request
How it works
The skill automates the process of pushing a branch and creating a pull request, enforcing specific conventions for changelog updates, titles, and descriptions.
Inputs & outputs
When to use pr
- →Opening PRs with labels
- →Linking PRs to issues
- →Automating changelog updates
About this skill
PR
Context
!git branch --show-current
!git log main..HEAD --oneline
Instructions
- If
## [Unreleased]inCHANGELOG.mdwasn't updated, update it and commit:docs: update changelog. git push -u origin HEAD.- Title:
<type>(<scope>): <short>(conventional, under 70 chars). Derive type from branch prefix (feat/→feat,fix/→fix,docs/→docs,ref/→ref). If$ARGUMENTSis an issue number, pull the title viagh issue view <num> --json title -q '.title'. - Pick one label:
bug(fix/),enhancement(feat/),documentation(docs/),refactoring,pure testing,dependencies. - Open:
Drop thegh pr create --title "<title>" --assignee @me --label "<label>" --body "$(cat <<'EOF' ## Summary - <what + why, one or two bullets> ## Test plan - [ ] `composer test` green locally - [ ] CI green Closes #<issue-number> EOF )"Closesline if there's no linked issue. Body under 15 lines. - Report URL.
When not to use it
- →The user does not want to update `CHANGELOG.md`
- →The user does not want to use conventional commit format for PR titles
- →The user does not want to link PRs to issue numbers
Limitations
- →It requires `gh` CLI for creating the pull request
- →It assumes a `CHANGELOG.md` file exists
- →It enforces specific branch prefixes for deriving PR types
How it compares
This workflow simplify PR creation by automating changelog updates, title generation, and issue linking, reducing manual steps and ensuring consistency.
Compared to similar skills
pr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr (this skill) | 0 | 3mo | Review | Intermediate |
| 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.