Standardizes the PR creation process from feature branch to GitHub.
Install
mkdir -p .claude/skills/pr-mparticle && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11920" && unzip -o skill.zip -d .claude/skills/pr-mparticle && rm skill.zipInstalls to .claude/skills/pr-mparticle
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 a pull request from the current branch. Triggers on create PR/open PR/make PR/submit PR/push PR/raise PR/open a pull request/create a pull request/ready to merge/branch is ready when the user wants to turn their current branch into a GitHub pull request with a well-structured descriptionKey capabilities
- →Read local repository conventions
- →Verify current branch status
- →Push current branch to origin
- →Build PR title using Conventional Commits
- →Build PR description from commits and diffs
- →Create GitHub pull request
How it works
The skill reads repository conventions, verifies the branch, pushes changes, then constructs a PR title and description based on Conventional Commits and commit history before creating the pull request.
Inputs & outputs
When to use pr
- →Open a pull request
- →Submit feature branch
- →Ready to merge
About this skill
Pull Request
Create a pull request from the current branch with a well-structured description derived from commits and diffs.
Step 1: Read Local Repo Conventions
Before doing anything, check for repo-specific instructions that override the defaults below:
# Check for conventions in order of priority
cat CLAUDE.md 2>/dev/null || cat AGENTS.md 2>/dev/null || cat .github/CONTRIBUTING.md 2>/dev/null
Look for:
- Branch naming rules
- PR title format
- Required PR template sections
- Base branch (default:
main) - Ticket/issue reference format
Step 2: Verify Branch
git branch --show-current
git status
git log main..HEAD --oneline
- Confirm there are commits ahead of the base branch
- If on
maindirectly, stop and ask the user to create a feature branch first - Branch prefix should match the change type:
feat/,fix/,chore/,ci/,docs/,test/,refactor/ - Use
no-jira/orno-ticket/when there is no associated issue
Step 3: Push Branch
git push origin <branch_name>
Always use the explicit branch name (not HEAD).
Step 4: Build PR Title
Use Conventional Commits format — NO scopes in parentheses. CI rejects
feat(scope):, only feat: is valid.
<type>: <description>
Types: feat, fix, docs, chore, refactor, test, perf, ci
Step 5: Build PR Description
If the repo has a PR template
Read it and replace all placeholder text with content derived from commits and diffs:
cat .github/pull_request_template.md
Fill in every section. Leave any screenshots/video section for the author to populate.
If there is no PR template
Use this structure:
## Background
- {Why this change is needed}
## What Has Changed
- {What this PR introduces or modifies}
## Screenshots/Video
- {Leave for author}
## Checklist
- [ ] Self-review completed
- [ ] Tests added or updated
- [ ] Tested locally
## Reference Issue
- Closes #{issue-number} ← only include if there is an associated issue
Checklist rules
- Leave all checklist items unchecked — never check boxes on the author's behalf
Reference Issue rules
- If the branch name contains a ticket/issue number, include a closing reference
- If there is no ticket, omit the section entirely
Step 6: Create the PR
gh pr create \
--title "<title>" \
--body "<description>" \
After creating the PR, do not perform any additional commits.
Step 7: Return the PR URL
Share the URL so the user can review it immediately.
When not to use it
- →When the user is on the main branch and needs to create a feature branch first
- →When the user wants to bundle multiple fixes into one commit
- →When the user wants to check checklist items on their behalf
Limitations
- →If on `main` directly, stop and ask the user to create a feature branch first
- →Leave all checklist items **unchecked** , never check boxes on the author's behalf
- →After creating the PR, **do not perform any additional commits**
How it compares
This skill automates the process of creating a well-structured pull request by adhering to repository conventions and Conventional Commits, unlike manual PR creation.
Compared to similar skills
pr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr (this skill) | 0 | 5mo | Review | 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.