# Make PR

> Make PR is an open-source agent skill for developer tools. Pushes committed branch work and opens or updates a GitHub pull request. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/prathamdby/skills/tree/main/skills/engineering/make-pr
- **Repository:** https://github.com/prathamdby/skills
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** make-pr
- **Collection:** https://github.com/prathamdby/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/prathamdby/skills/tree/HEAD/skills/engineering/make-pr)
- [License: MIT](https://github.com/prathamdby/skills/tree/HEAD/skills/engineering/make-pr)

## Features

- **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

## Install

### Claude Code

This skill ships in the `skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Open draft PR](https://ai-powered.com/skills/open-draft-pr): Open draft PR is an open-source agent skill for developer tools.
- [PR writer](https://ai-powered.com/skills/pr-writer): PR writer is an open-source agent skill for developer tools.
- [Create PR](https://ai-powered.com/skills/create-pr): Create PR is an open-source agent skill for developer tools.
- [Git PR](https://ai-powered.com/skills/git-pr): Git PR is an open-source agent skill for developer tools.
- [PR summary](https://ai-powered.com/skills/pr-summary-kzytateishi): PR summary is an open-source agent skill for developer tools.
- [Review PR](https://ai-powered.com/skills/review-pr-tonyghiani): Review PR is an open-source agent skill for developer tools.
- [Commit push PR](https://ai-powered.com/skills/commit-push-pr-redpanda-data): Commit push PR is an open-source agent skill for developer tools.
- [Make PR easy to review](https://ai-powered.com/skills/make-pr-easy-to-review): Make PR easy to review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/make-pr
