
Create Pr
Creates pull requests with properly formatted titles and descriptions following conventional commit style. Checks for uncommitted changes first and routes you to commit them before opening the PR. The description template skips the usual checkbox theater and focuses on what matters: what changed, why you made the change, and context reviewers actually need. Handles both modern and legacy GitHub CLI versions automatically, working around that old Projects classic deprecation bug if you're stuck on an older gh version. Integrates with the conventional-commit skill for the full workflow from changes to merged PR.
- skills.sh installs
- 311
- GitHub stars
- 19
- last updated
- Aug 21, 2026
Install
$ npx -y skills add marcelorodrigo/agent-skills --skill create-pr --agent claude-codeInstalls into .claude/skills of the current project.
Files
Create Pull Request
Create pull requests following the best engineering practices.
Requires: GitHub CLI (gh) authenticated and available.
Prerequisites
Before creating a PR, ensure all changes are committed. If there are uncommitted changes, run the commit skill skill({ name: "conventional-commit" }) first to commit them properly.
# Check for uncommitted changes
git status --porcelain
If the output shows any uncommitted changes (modified, added, or untracked files that should be included), invoke the commit skill skill({ name: "conventional-commit" }) before proceeding.
Process
Step 1: Verify Branch State
# Detect the default branch
BASE=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')
# Check current branch and status
git status
git log $BASE..HEAD --oneline
Ensure:
- All changes are committed
- Branch is up to date with remote
- Changes are rebased on the base branch if needed
Step 2: Analyze Changes
Review what will be included in the PR:
# See all commits that will be in the PR
git log $BASE..HEAD
# See the full diff
git diff $BASE...HEAD
Sponsors
Details
- Repository
- github.com/marcelorodrigo/agent-skills
- Categories
- Git & Pull Requests, Documentation, Code Review & Quality, AI & Agent Building
- First seen
- Jun 3, 2026