/prp-core:prp-pr [--base <branch>] [--draft] [issue number or URL] [published plan URL]from prp-core
Creates and opens GitHub pull requests with proper base branch resolution, work validation, and reviewer-friendly descriptions.
Ships in prp-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a clear, reviewer-friendly GitHub pull request for the completed work on the current branch.
Arguments: $ARGUMENTS
Run this at the PR-creation step after the requested work has been done by the current agent, a subagent, or another collaborator. Ensure every change belonging to that work is committed before opening the PR. If intended changes remain uncommitted, invoke /prp-commit with a natural-language target that identifies only those changes, then verify the resulting commit. Never sweep unrelated worktree changes into the commit.
The pull request itself is the artifact; do not create a separate local PR document.
Inspect the current branch, repository instructions, remote branches, and Git history. Determine the base in this order:
--base <branch>.development, dev, and the remote default branch.Use the same resolved base for every log, diff, and PR command. Never assume main. If the evidence is genuinely ambiguous, stop and ask rather than opening the PR against a guessed target.
Check whether any open or closed PR already exists for the current branch. If one exists, return its URL and state instead of creating a duplicate.
git status and the diff after any commit to confirm no intended changes were omitted..github, or docs locations. If several templates could apply and the correct one cannot be inferred, ask which to use.Treat repository rules as syntax constraints, not as the writing-quality standard. Write in plain, natural language. Cut filler, generic praise, formulaic transitions, and vague claims. Use the repository's exact terms and name concrete behavior and evidence.
Bad: feat(core): add child run traversal and parent event aggregation
Good: feat(core): workflows can now include a child workflow in the parent run
Use the repository's pull request template whenever one exists. Preserve its structure and fill every applicable section with concrete information from the request, diff, commits, and validation evidence.
If no template exists, use this fallback:
## Problem
{Explain the original problem and why it matters to the user.}
## Solution
{Briefly explain how the change resolves it, focusing on behavior rather than an inventory of files and functions.}
## Validation
- `{actual command}` — passed
- {Concrete manual verification, when applicable}
{Fixes/Closes/Relates to #N when supported}
{Plan: <verified published-plan URL> when supplied}
Fixes or Closes only when the PR fully resolves the referenced issue. Use Relates to for a non-closing relationship. Do not infer issue linkage from an unexplained bare number.Co-Authored-By: Claude.Push the current branch with upstream tracking when needed. If the remote branch has diverged or the push is rejected, stop and report the conflict; do not rebase or force-push as part of this skill.
Create a ready-for-review PR against the resolved base. Use --draft only when the user explicitly requests a draft. Pass the prepared title and body to gh pr create without opening an interactive editor.
Read the created PR back from GitHub and verify its number, URL, title, base, head, draft state, and open state. Check CI status without waiting for pending jobs.
Return the PR URL first, followed by the verified title, base <- head, ready/draft state, and current checks. Keep the report concise.
Do not report success until GitHub confirms the PR exists with the intended base and head.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
22 skills in this plugin
/prp-broRestates the previous response in plain language, with no jargon. Use when the user says "bro", asks to "say that plainly", says "explain it simply", or invokes /prp-bro./prp-codebase-questionResearch codebase questions using parallel agents - documents what exists, not what should change. Use when the user asks how the codebase works, where something lives, or invokes /prp-codebase-question./prp-commitCreates Git commits for completed work. Always use when committing changes, when the user explicitly asks to commit the work, when another PRP workflow reaches its commit step, or when the user invokes /prp-commit./prp-companionWrites the visual HTML companion of a PRP plan or review - one self-contained page beside the markdown that shows a plan's change diagram, steps and risks, or a review's verdict, findings and a diagram of what the PR changed, with every item carrying a stable id a mark can point at. In helm a review or plan page is live: the operator sets each finding's or step's status and replies on the page. prp-plan and prp-review run it after writing their markdown. Use when the user wants to "make it visual", "show me the plan", "visualize this review", "diagram this plan", "write the companion", or invokes /prp-companion./prp-debugDiagnoses a bug, error, stack trace, regression, or unexplained behavior and publishes the evidence-backed root cause to GitHub. Use when the user says "debug this", "find the root cause", provides a bug report or stack trace, asks to investigate a GitHub issue, or invokes /prp-debug. Defaults to commenting on the matching open issue or creating one when none exists./prp-deliverThis is an experimental skill. Never use it unless the user explicitly tells you to invoke /prp-deliver.npx claudepluginhub wirasm/prp --plugin prp-coreOther plugins' skills for the same job