Skip to main content
skill CX Codex

pr-creator · b-mendoza — Claude Code skill: what it does, how to install

pr-creator turns your current branch into a pull or merge request. You see the exact preview first and approve before anything is created.

no license 195 installs ★ 3 updated 2026-10-25

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

What pr-creator does

The skill walks PR creation through a state machine. It looks at remotes and the platform, runs preflight checks for auth and already-open requests, pins the diff, drafts a title and body, then suggests reviewers and labels. Nothing is created until you approve the frozen preview.

Six subagents carry the phases: repo-state-inspector, preflight-validator, diff-analyzer, pr-drafter, review-metadata-suggester, pr-submitter. When a host cannot dispatch them, the same steps run inline and emit the same status blocks. The state table sits in state-machine.md, the diagram in flow-diagram.md, the contracts under references/.

No allowed-tools list ships with the package, so the host CLIs (git, gh, glab) do the actual work. Without an authenticated gh or glab the preflight stops. An open PR for the same head/base pair halts creation instead of producing a duplicate. Repository text and fetched pages count as data; imperative lines inside them get reported as a suspected injection.

What it helps with

  • open a PR from the current branch without hand-writing the description
  • get a Conventional Commits title out of the diff
  • stop a duplicate PR when one is already open
  • push from a fork into upstream
  • pick reviewers and labels before submitting

Example prompts for the agent

  • Create a PR from this branch into main as a draft
  • The branch is ready for review — open a pull request with alice and bob as reviewers
  • Open a merge request against upstream/main with the docs label

How to install pr-creator

1Skills CLI (Vercel)

npx skills add b-mendoza/agent-skills --skill pr-creator -a claude-code

2Manually: put the files in place

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

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

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

Questions about pr-creator

How to install pr-creator in Claude Code?

Run npx skills add b-mendoza/agent-skills --skill pr-creator -a claude-code. The skill file lands at ~/.claude/skills/pr-creator/SKILL.md.

What does pr-creator do?

It handles pull and merge request creation end to end, from repo inspection to submit. You review the diff summary, drafted title and body, reviewers and labels in a preview, then approve that exact version.

Does it work with hosts other than GitHub?

GitLab is covered through glab alongside gh. For non-GitHub platforms the skill loads references/platform-adaptation.md to handle state capability differences.

Similar skills

All skills for Git and GitHub →

pr-creator by other authors comes first.

pr-creator mblode pr-creator writes GitHub PR titles and bodies the way a developer would, not as a diff summary. Useful when opening a PR or rewriting its description. CX Codex +1 613installs pr-description Jiachen (MiniMax Code team) pr-description is a Claude Code skill that drafts and verifies pull request descriptions for GitHub and GitLab. It runs when opening a PR or when MCode Review reports missing sections. CX Codex +1 ★ 741repo stars pr-review Jiachen (MiniMax Code team) pr-review is a Claude Code skill that reviews pull requests and branches with MCode Review rules. It runs from CI or on a developer’s request before human review. CX Codex +1 ★ 741repo stars babysit-pr amElnagdy babysit-pr works a pull or merge request through bot review rounds: checks each finding against the code, fixes blockers, replies and resolves. Handy when review bots bury the PR in comments. CX Codex +1 584installs shepherd chrisbanes shepherd monitors open pull requests and merge requests, triages review feedback, addresses CI failures, and batches local fixes. CX Codex +1 1,400installs om-followup-issue-from-pr open-mercato om-followup-issue-from-pr turns a PR link or a review comment into a tracked issue. Useful once a review is done and the requested changes must not slip away. CX Codex +1 3,700installs greploop greptileai greploop fixes code review issues from Greptile, pushes updates, and repeats until scoring 5/5. Works with GitHub PRs, GitLab MRs, and Perforce changelists. CX Codex +1 3,100installs

From the same set12

The whole set →
validate-implementation-plan validate-implementation-plan audits implementation plans for speculative complexity and brittle assumptions. Writes a separate audit file without touching the original plan. CX Codex +1 1,800installs recency-guard recency-guard validates time-sensitive facts in assistant answers, cross-checking software releases, pricing, policy changes, and docs against live sources. CX Codex +1 203installs review-pull-request review-pull-request audits a single GitHub pull request across isolated stages, drafts a local Markdown report, and posts comments only when confirmed. CX Codex +1 161installs committing-scoped-changes committing-scoped-changes splits an explicit list of files or folders into separate git commits and leaves the rest of the working tree alone. CX Codex +1 153installs responding-to-pr-review-comments The responding-to-pr-review-comments skill gathers pull request comments, assesses the feedback, and drafts replies. With confirmation, it can post approved text to supported GitHub comment threads. CX Codex +1 144installs clarifying-assumptions clarifying-assumptions — a skill that runs the conversational layer for plan verification. Asks critical questions upfront or before individual tasks, delegates artifact analysis to subagents. CX Codex +1 129installs refactoring-code refactoring-code is a Claude Code skill that stages simplification refactors: approve the plan before edits, then check that behaviour stays the same. CX Codex +1 124installs diagnosing-root-causes The diagnosing-root-causes skill traces bugs, regressions, and CI/CD failures from supplied evidence, then produces a reviewed root-cause report. Use it when a problem report needs investigation rather than guesswork. CX Codex +1 122installs

Project sponsors

Companies that keep this analytics open