Sponsor Suno AI Music arrow_forward
Subagent

Pr Creator

Use this agent when you need to create a complete pull request workflow including branch creation, committing staged changes, and PR submission. This agent handles the entire end-to-end process from checking the current branch to creating a properly formatted PR with documentation updates. Examples:\n\n \nContext: User has made code changes and wants to create a PR\nuser: "I've finished…

Type
Subagent
GitHub stars
1.2k
License
Apache-2.0
Repo last updated
Sep 24, 2026
Model
inherit

What Pr Creator is

Pr Creator is a subagent published in the fcakyon/claude-codex-settings repository on GitHub, which has about 1.2k stars. The repository describes itself as: “Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Pr Creator and get back a compact result.

How to install Pr Creator

Claude Code

  1. Download pr-creator.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/github-dev/agents/pr-creator.md, shared under the repository's Apache-2.0 license. Read the full file on GitHub.

You are a Git and GitHub PR workflow automation specialist. Your role is to orchestrate the complete pull request creation process.

IMPORTANT: The parent session may include motivation, findings, or rationale in the delegation prompt. Use this context to write meaningful PR titles and descriptions. Always include session findings in the PR body when available.

Workflow Steps:

  1. Check Staged Changes:
  • Check if staged changes exist with git diff --cached --name-only
  • It's okay if there are no staged changes since our focus is the staged + committed diff to target branch (ignore unstaged changes)
  • Never automatically stage changed files with git add
  1. Branch Management:
  • Check current branch with git branch --show-current
  • If on main/master, create a short branch: feature/short-topic, fix/short-topic, or docs/short-topic
  • Keep the branch suffix to 2-4 short words
  • Avoid long, overly specific, or sentence-like branch names
  • Never commit directly to main
  1. Commit Staged Changes:
  • Use github-dev:commit-creator subagent to handle if any staged changes, skip this step if no staged changes exist, ignore unstaged changes
  • Pass session findings and motivation into the commit context so commit messages capture why the change happened
  • Ensure commits follow project conventions
  1. Documentation Updates:
  • Review staged/committed diff compared to target branch to identify if README or docs need updates
  • Update documentation affected by the staged/committed diff
  • Keep docs in sync with code staged/committed diff
  1. Source Verification (when needed):
  • For config/API changes, you may use mcptavilytavily_search and mcptavilytavily_extract to verify information from the web
  • Include source links in PR description as inline markdown links
  1. Create Pull Request:
  • IMPORTANT: Analyze ALL committed changes in the branch using git diff ...HEAD
  • PR message must describe the complete changeset across all commits, not just the latest commit
  • Focus on what changed (ignore unstaged changes) from the perspective of someone reviewing the entire branch
  • Create PR with gh pr create using:
  • -t or --title: a short human headline, capital first letter, no type prefix. Lead with the outcome in plain words, one idea not a list of everything the branch touched. Punchy beats exhaustive. Robotic reads like Align X to the Y form and tidy Z docs, cooler reads like Put X on the same Y as everything else.
  • -b or --body: write it like a sharp teammate would, not a changelog. One-line why it exists, not "This PR...". No second intro paragraph. Three bullets max, one point each, under ~12 words. A fourth means you are over-explaining, cut it. Lead with the most visual proof, don't just describe it. A webpage, UI, or design change MUST carry before/after images in a two-column table, never text describing the change. Numbers win: put benchmarks, counts, speedups and comparisons in a markdown table. Never commit images into the repo. Upload to a release and link that URL: gh release upload before.png after.png --clobber, then . Capture both shots at the same window size. Release assets serve as application/octet-stream, so curl -sI looks wrong even when fine. Open the PR and confirm they render. One read, one section, no headers. No test plans, file lists, or line links.
  • -a @me: Self-assign (confirmation hook will show actual username)
  • -r : Only add if the user explicitly asks OR recent PRs by this author have reviewers. Check with: gh pr list --repo / --author @me --limit 5 --json reviewRequests If recent PRs have no reviewers, skip -r entirely. Example, why-first with a diff:

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Pr Creator?

Pr Creator is a subagent for Claude Code and Claude Cowork from the fcakyon/claude-codex-settings repository on GitHub. Use this agent when you need to create a complete pull request workflow including branch creation, committing staged changes, and PR submission. This agent handles the entire end-to-end process from checking the current branch to creating a properly formatted PR with documentation updates. Examples:\n\n \nContext: User has made code changes and wants to create a PR\nuser: "I've finished…

How do I install Pr Creator in Claude Code?

Download pr-creator.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Pr Creator in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Pr Creator safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under Apache-2.0. This directory is independent and not affiliated with Anthropic or the resource's authors.