
Create PR
Turns a finished branch or a fix left on main into a guarded, linked pull request
Create PR is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- shell
- Platforms
- Claude Code
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Create PR
This skill takes work that was built outside the normal flow and gets it into a pull request. If the fix sits directly on the default branch, it first moves the work onto its own branch and later rewinds the default branch. It commits any leftover changes and pushes them through the repository's guarded commit and push scripts, links the related issue, checks the PR title, and opens the PR as ready for review when the full test suite passes, or as a draft when requested or when the test fails.
Before it writes anything, it refuses a detached HEAD, a leftover debug probe on the default branch, a branch with no commits ahead, or a closed issue. If a PR already exists for the branch or issue, it reports that and opens none. It expects an authenticated GitHub CLI with push rights, git, and a committed repository profile generated by the init step. The scripts are written in bash.
It is part of a lifecycle suite: merging the resulting PR is handled by a separate merge skill, and building issues, reviewing diffs and filing issues are handled by other skills.
When your agent uses it
Open a pull request for a finished feature branch — or a fix left on the default branch itself (debug-issue's hand-off), which this skill branches off first: push it through the guard, link its issue, gate the title, and open it ready when the full test passes (a draft when asked, or when the test is red). Triggers: "open a PR for this branch", "create a pull request for my fix", "turn this branch into a PR", "I just fixed the flaky test on main, open a PR for it", « ouvre une PR pour ce correctif », « crée la pull request », « le correctif est commité, ouvre la PR ». Does NOT apply to merging a PR (merge-pr), building a planned issue (implement-issue), reviewing a diff (code-review), or filing an issue (create-issue).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs shell scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 6 files (21 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the tagout plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add phmatray/tagout
/plugin install tagout@tagout-marketplaceOr copy only this skill to ~/.claude/skills/create-pr:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/create-pr &&
cp -R "$tmp/plugins/tagout/skills/create-pr" ~/.claude/skills/create-pr &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/create-pr inside it instead.
Copy the skill folder to ~/.agents/skills/create-pr to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/create-pr &&
cp -R "$tmp/plugins/tagout/skills/create-pr" ~/.agents/skills/create-pr &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/create-pr inside it instead.
Copy the skill folder to ~/.cursor/skills/create-pr to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/create-pr &&
cp -R "$tmp/plugins/tagout/skills/create-pr" ~/.cursor/skills/create-pr &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/create-pr inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/phmatray/tagout.git --path plugins/tagout/skills/create-prOr copy the folder to ~/.gemini/skills/create-pr yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/create-pr:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/create-pr &&
cp -R "$tmp/plugins/tagout/skills/create-pr" ~/.copilot/skills/create-pr &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/create-pr inside it instead.
Get the folder:
git clone --depth 1 https://github.com/phmatray/tagout.gitThen copy tagout/plugins/tagout/skills/create-pr into your agent's skills folder as create-pr. Agents that support SKILL.md read one folder per skill.
What it does
- Default branch rescue
- Moves a fix committed directly on the default branch onto its own branch and rewinds the default afterward.
- Guarded push
- Commits leftover changes and pushes the branch through the suite's guard scripts.
- Issue linking
- Connects the pull request to its related issue, when one is given.
- Title gate
- Checks the pull request title before the PR is created.
- Ready or draft decision
- Opens the PR ready for review when the full test passes, or as a draft otherwise.
- Duplicate PR check
- Stops and reports when a pull request already exists for the branch or issue.
Good for
- Open a pull request for my finished feature branch
- Turn the fix I just committed on main into a PR
- Create a pull request for my bug fix linked to issue 42
- Open the PR as a draft because the tests are still failing
Create PR FAQ
What does Create PR need to run?
An authenticated GitHub CLI with push rights, git, and the repository profile generated by init.
What happens if the full test fails?
The PR is opened as a draft and the reason is stated, so it is not merged by mistake.
Does Create PR merge the pull request?
No. Merging is handled by the separate merge-pr skill, which it names as the next step.
What if a PR already exists for the branch?
The skill reports the existing PR and opens no new one.
How do I install Create PR in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/create-pr to use it in all your projects, or to .claude/skills/create-pr in one project. Or install the tagout plugin, which includes it: /plugin marketplace add phmatray/tagout, then /plugin install tagout@tagout-marketplace.
Does Create PR run scripts?
Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Create PR?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Create PR?
The closest alternatives to Create PR are Make PR, Open draft PR, Git PR, Commit push PR and Review PR.
Where this comes from
- Description: from the skill's own SKILL.md.
More from phmatray/tagout

Guides an agent through a gated, phased upgrade of legacy .NET applications
- Open source
- 5 GitHub stars
- Developer tools

Consolidates open migration follow-ups across repos and updates them at the source
- Open source
- 5 GitHub stars
- Developer tools

Runs a parallel fleet of agents that implement and merge GitHub issues from a backlog
- Open source
- 5 GitHub stars
- Developer tools

Files a fully seeded GitHub issue with brainstorm, spec and implementation plan
- Open source
- 5 GitHub stars
- Developer tools

Makes the agent find a bug's root cause with a reproducible test before any fix
- Open source
- 5 GitHub stars
- Developer tools

Takes one idea or planned issue through filing, building and merging a PR
- Open source
- 5 GitHub stars
- Developer tools





