# create-pr

> Claude/Codex skill by [@vercel](https://omgskills.com/library/vercel/index.md) · 142k stars · Updated 2026-08-17

Create Git branches, commits, pushes, and GitHub pull requests for Next.js. Use when the user asks to create a branch, commit current changes, open a PR or draft PR, publish a pull request, or recover from gh pr create / PR template issues. Covers .github/pull\_request\_template.md, --body formatting, codex/ branch names, and Codex app git directives.

Tags: blog, browser, compiler, components, hybrid, nextjs, node, react, server-rendering, ssg, static, static-site-generator, universal, vercel

## Install

```sh
git clone https://github.com/vercel/next.js /tmp/next.js && ln -s /tmp/next.js/.agents/skills/create-pr ~/.claude/skills/create-pr
```

## From README

Create PR Use this skill when turning local work into a GitHub pull request. Fork PRs vs Branch PRs Before writing a PR description, check whether this is a branch PR (the branch lives in vercel/next.js) or a fork PR (an external contribution from a fork). You may write full descriptions for branch PRs, but not for fork PRs — inform the user, offer to review their description or provide technical details, and give them the GitHub URL to create the PR themselves. See "GitHub Pull Requests and Issues" in AGENTS.md for the full policy. Workflow Inspect the current state before mutating Git: Stage only files that belong to the requested change. Preserve unrelated user changes. Create or confirm the branch: Use the codex/ prefix unless the user asks for a different name. If a .git/lock or Operation not permitted error appears, rerun the same Git command with sandbox escalation.

## Links

- HTML page: https://omgskills.com/library/vercel/next.js/dot-agents/skills/create-pr/
- GitHub: https://github.com/vercel/next.js
- Author: [@vercel](https://omgskills.com/library/vercel/index.md)

## More from this repo

- [authoring-skills](https://omgskills.com/library/vercel/next.js/dot-agents/skills/authoring-skills/index.md) — How to create and maintain agent skills in .agents/skills/.
   - [@vercel](https://omgskills.com/library/vercel/index.md) · 142k stars
- [backport-pr](https://omgskills.com/library/vercel/next.js/dot-agents/skills/backport-pr/index.md) — Backport a merged Next.js pull request from canary to a previous release branch such as next-16-2.
   - [@vercel](https://omgskills.com/library/vercel/index.md) · 142k stars

## More skills by this author

- [turborepo](https://omgskills.com/library/vercel/turbo/turborepo/index.md) — Configure and troubleshoot Turborepo repositories.
   - [@vercel](https://omgskills.com/library/vercel/index.md) · 31k stars
