Skip to main content
skill CX Codex

create-pr · ulpi-io — Claude Code skill: what it does, how to install

create-pr opens a GitHub pull request from the real branch diff: commits pending work first, runs the narrowest checks, pushes, then creates and verifies the PR with gh.

no license 156 installs ★ 5 updated 2026-08-31

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ulpi-io/skills --skill create-pr -a claude-code
Open on GitHub

What create-pr does

The skill builds a pull request from the full diff against the true base branch. Branch names and commit messages only hint at what happened. It looks at the current branch, its tracking state, uncommitted files and how far ahead of base you are. A dirty tree is not ignored: the commit skill runs first, then the workflow picks up again.

Readiness comes next. A branch sitting on main, master or develop, an empty branch, or conflict markers in changed files stop everything. Classification — type, scope, breaking changes — is read off the code, with references/pr-conventions.md loaded for the heuristics. Then the narrowest checks that fit the touched files run: typecheck, lint, a scan for conflict markers. Lint and type failures are warnings; conflict markers always block, and test status never gets invented in the body.

The branch is pushed before gh pr create runs, and afterwards the skill checks the number, URL, state, draft flag and base. No gh on the machine means no PR: you get a prepared title, body and compare URL to open it by hand. It stays user-only, so nothing fires until you ask for a PR, and it asks back when the base or reviewers are unclear.

What it helps with

  • open a PR that matches the diff rather than the branch name
  • commit leftover changes before the PR is drafted
  • catch conflict markers in changed files before pushing
  • spell out breaking changes in the PR body
  • confirm the new PR's number, URL and state right after creation

Example prompts for the agent

  • Open a draft PR against main and add the backend team as reviewers.
  • Push this branch and create a pull request describing what actually changed.
  • Make a PR for the current branch with a Conventional Commit title.

How to install create-pr

1Skills CLI (Vercel)

npx skills add ulpi-io/skills --skill create-pr -a claude-code

2Manually: put the files in place

~/.claude/skills/create-pr/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/create-pr/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about create-pr

How do I install create-pr in Claude Code?

Run npx skills add ulpi-io/skills --skill create-pr -a claude-code. The skill lands at ~/.claude/skills/create-pr/SKILL.md.

What does create-pr do?

It reads the branch diff against the real base, checks that the branch is ready, classifies the change, pushes the branch and opens a pull request with gh, then verifies its number, URL and state.

What happens if gh is not installed?

No pull request is created. The skill stops and hands you the prepared title, body and compare URL so you can open it yourself.

Similar skills

All skills for Git and GitHub →

create-pr by other authors comes first.

create-pr NeoLabHQ create-pr opens draft pull requests through the GitHub CLI using repository templates. It checks for uncommitted changes and formats PR titles with emojis. CX Codex +1 1,200installs create-pr zhaono1 create-pr — a skill that walks the agent through opening a pull request and keeps the English and Chinese READMEs in sync. Useful when the skill catalog changes and the docs have to follow. CX Codex +1 678installs create-pr FradSer The create-pr skill opens GitHub pull requests after quality and security checks, then hands them to CI monitoring and reviewer-comment triage. CX Codex +1 109installs create-pr OrchestKit create-pr — a skill that opens a GitHub pull request after running tests, linter, types, and security checks. Triggers on explicit invocation; plain gh pr create stays a command. CX Codex +1 209installs create-pr marcelorodrigo create-pr prepares structured pull requests, generates conventional titles, and submits them via GitHub CLI. CX Codex +1 312installs gh prathamdby The gh skill lets an agent inspect PRs, discussions, and CI, post replies, and handle GitHub commands that need more than a simple call. CX Codex +1 420installs github Ben Barclay (benbarclay), Hermes Agent Routes GitHub workflows through the gh CLI, covering issues, PR lifecycles, code reviews, and repo tasks. Designed for tracking delivery straight from the terminal. CX Codex +1 245installs code-review official Anthropic Runs a multi-agent code review on a pull request, filters out false positives, and checks changes against local CLAUDE.md rules. CX Codex +1 5,537installs git-worktree-explorer official James Montemagno The git-worktree-explorer plugin visualizes an active Git repository through worktrees, branches, and commits. Use it when you need a clear view of repository structure and pull request context. ★ 41,430repo stars pr-create Garrick Aden-Buie (@gadenbuie) pr-create is a Claude Code skill that branches, commits changes, opens a GitHub PR, and monitors CI, pushing fixes until checks pass. CX Codex +1 807installs jackin-create-pr jackin-project jackin-create-pr opens a pull request for a small change in the jackin❯ repo: a typo, a dependency bump, a one-line bugfix. The PR body comes from the repo template with verify-locally blocks picked from the diff. CX Codex +1 469installs

From the same set49

The whole set →
update-agent-learnings The update-agent-learnings skill turns one confirmed lesson from a session into lasting agent guidance and syncs it to relevant agent files. Use it when a behavior rule should carry over to future sessions. CX Codex +1 160installs map-project-monorepo map-project-monorepo builds self-contained CLAUDE.md files for every monorepo member and keeps the project root minimal. CX Codex +1 160installs commit Creates targeted git commits from working diffs, checks for secrets and conflict markers, and stages files individually by name. CX Codex +1 159installs git-merge-expert-worktree git-merge-expert-worktree — a Claude Code skill that runs merges and conflict resolution inside a dedicated git worktree. The main tree stays clean, and the skill handles its own cleanup when the operation finishes. CX Codex +1 159installs update-skill-learnings update-skill-learnings captures one validated rule about skill design or quality in a central learnings file. Use it when a session reveals guidance worth keeping. CX Codex +1 155installs start start is a Claude Code skill that routes incoming tasks, selects domain skills, evaluates sub-agent delegation, and limits context exploration before code edits. CX Codex +1 152installs pr-retro The pr-retro skill measures a feature branch against its base and reports merge-readiness with recommendations. Run it before reviewing a PR. CX Codex +1 150installs ast-grep This skill uses the ast-grep CLI to find code by syntax. Use it when a text or regex search cannot express the structure you need. CX Codex +1 148installs

Project sponsors

Companies that keep this analytics open