Skip to content
Skill

Make PR

Pushes committed branch work and opens or updates a GitHub pull request

Make PR is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Make PR

This skill takes a branch that already has commits, pushes it, and opens a GitHub pull request against a base branch, or updates the title and description of an existing open pull request on that branch. It can create a draft PR when asked. The agent drafts the title and body from the branch diff against the target, so the text describes the changes that are actually there.

Before drafting, the skill fetches the remote and checks branch state. It stops on a detached HEAD, a dirty or untracked working tree, a branch behind or diverged from upstream, an empty diff, or several open PRs on the same branch. The body follows a fixed structure with a one-sentence reason for the change, a short list of notable hazards, and optional diagram captions. The description length scales with the size of the diff. After publishing, the skill reads the remote PR back to confirm the title, body, base, head and draft state.

The skill expects git and the GitHub CLI with access to the repository. It does not create commits, force push, reopen closed PRs, or run builds and tests. Ticket and issue links are added only when the user names them explicitly.

When your agent uses it

Push already-committed branch work and create a new GitHub pull request (or draft PR) or update an existing open PR's title and diff-grounded description. Use whenever the user asks to open, publish, submit, or update a PR, put a branch up for review, or refresh PR copy, instead of running raw gh pr create directly. Never creates commits (use commit), inspects PR discussions or CI logs (use gh), or fixes review feedback and failing checks (use fix-pr).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (9 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 skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add prathamdby/skills
/plugin install skills@pratham-skills

Or copy only this skill to ~/.claude/skills/make-pr:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/make-pr &&
cp -R "$tmp/skills/engineering/make-pr" ~/.claude/skills/make-pr &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/make-pr inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/make-pr to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/make-pr &&
cp -R "$tmp/skills/engineering/make-pr" ~/.agents/skills/make-pr &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/make-pr inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/make-pr to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/make-pr &&
cp -R "$tmp/skills/engineering/make-pr" ~/.cursor/skills/make-pr &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/make-pr inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/prathamdby/skills.git --path skills/engineering/make-pr

Or copy the folder to ~/.gemini/skills/make-pr yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/make-pr:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/make-pr &&
cp -R "$tmp/skills/engineering/make-pr" ~/.copilot/skills/make-pr &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/make-pr inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/prathamdby/skills.git

Then copy skills/skills/engineering/make-pr into your agent's skills folder as make-pr. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Branch state preflight
Checks the remote, upstream sync, open PRs and working tree before any push.
Diff-based PR drafting
Writes the title and body from the changes between the base branch and HEAD.
Draft and base selection
Creates draft PRs on request and targets a base branch other than main when specified.
Existing PR updates
Refreshes the title and description of an open PR while keeping its reviewers and labels.
Remote read-back verification
Reads the published PR back to confirm URL, branches, body structure and metadata.
Explicit issue linking
Adds Closes footers only for issues the user names directly.

Good for

  • Open a draft pull request for the current feature branch
  • Push my committed fix to main and create a PR
  • Update the title and description of my open PR after new commits
  • Publish this branch for review against the develop base

Make PR FAQ

What does the skill need before Make PR runs?

A local branch with committed work, a configured remote, and the GitHub CLI. The working tree must be clean and the branch must not be behind its upstream.

Does Make PR create commits or run tests?

No. The skill never creates commits, force pushes, reopens closed pull requests, or runs builds or tests.

How does Make PR decide which issues to close?

It adds a Closes line only for issues the user names explicitly, such as issue numbers or issue URLs. It does not infer them from branch names or commits.

Which skill handles commits or review feedback?

The commit skill creates commits, the gh workflow inspects discussions and CI logs, and the fix-pr skill handles review feedback and failing checks.

How do I install Make PR in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/make-pr to use it in all your projects, or to .claude/skills/make-pr in one project. Or install the skills plugin, which includes it: /plugin marketplace add prathamdby/skills, then /plugin install skills@pratham-skills.

Does Make PR run scripts?

No. It is instructions only, with no 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 Make PR?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Make PR?

The closest alternatives to Make PR are Open draft PR, PR writer, Create PR, Git PR and PR summary.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from prathamdby/skills

  1. Writes an evidence-backed implementation plan for a repo change without editing code

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Clones external Git repos locally and answers questions from their source code

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Creates scoped, diff-grounded Conventional Commit messages and commits them locally

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Simplifies a git diff's slop without changing behavior or staging unrelated work

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Works through PR review comments and failing CI checks, fixing and replying with evidence

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Lets your agent read GitHub PR status, reviews, and CI failures without editing code

    • Open source
    • 6 GitHub stars
    • Developer tools