# create-pr

create-pr is a Claude Code command that turns working changes into a pull request. It branches the work, formats edited files, and prepares commits.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 2003 repo stars
- Author: toyamarinyon
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/composio-community/awesome-claude-plugins/tree/HEAD/create-pr/commands/create-pr.md
- Updated: 2026-07-26
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/toyamarinyon-create-pr

## What it does

create-pr takes the current changes through pull request creation. It makes a branch, formats modified files with Biome, and groups related edits into separate commits. Commit messages describe the changes.

The command pushes the branch to a remote repository, then opens a pull request with a summary and test plan. Refactoring goes in commits apart from new features, while unrelated edits are separated. Biome handles file formatting.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add composio-community/awesome-claude-plugins
```
In the agent chat (not a shell):
```text
/plugin install create-pr@awesome-claude-plugins
```

2. **Manually: put the files in place**
- File: `.claude/commands/create-pr.md` — Call it with /create-pr. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/create-pr.md` — Call it with /prompts:create-pr. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/create-pr.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/create-pr.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/composio-community/awesome-claude-plugins/tree/HEAD/create-pr/commands/create-pr.md

## When to use it
- create a branch from current changes
- split edits into understandable commits
- format modified files with Biome
- push a branch and open a pull request with a test plan

## Example prompts
- Create a branch and pull request from the current changes.
- Group the edits by purpose, commit them, and open a PR with a test plan.
- Format modified files with Biome and prepare a pull request.

## Similar
- [create-readme](https://affpapa.org/en/nevibecode/skills/create-readme.md) — skill · 19081 installs
- [create-agentsmd](https://affpapa.org/en/nevibecode/skills/create-agentsmd.md) — skill · 13104 installs
- [create-pull-request](https://affpapa.org/en/nevibecode/commands/create-pull-request.md) — command · 411 installs
- [create-worktrees](https://affpapa.org/en/nevibecode/commands/create-worktrees.md) — command · 351 installs
- [om-auto-create-pr-loop](https://affpapa.org/en/nevibecode/skills/om-auto-create-pr-loop.md) — skill · 4700 installs
- [om-auto-create-pr](https://affpapa.org/en/nevibecode/skills/om-auto-create-pr.md) — skill · 4700 installs

## Other versions with the same name
- [create-pr · davila7](https://affpapa.org/en/nevibecode/commands/create-pr.md) — 964 installs

From the same set: [composio-community/awesome-claude-plugins](https://affpapa.org/en/nevibecode/by/composio-community/awesome-claude-plugins.md) — 68 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
