LobeHub Version Release
lobehub/lobehub
Guides the release PR flow, the CI rules that tag a release and the writing of GitHub Release notes for a repo that develops on a canary branch.
Backport a merged Next.js pull request from canary to a previous release branch such as next-16-2.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add vercel/next.js --skill backport-pr -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vercel/next.js backport-pr --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vercel/next.js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/backport-pr .claude/skills/backport-pr && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "backport-pr" agent skill from https://github.com/vercel/next.js/tree/canary/.agents/skills/backport-pr into .claude/skills/backport-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backport-pr", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vercel/next.js/tree/canary/.agents/skills/backport-prType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vercel/next.js --skill backport-pr -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vercel/next.js backport-pr --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vercel/next.js.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/backport-pr .agents/skills/backport-pr && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "backport-pr" agent skill from https://github.com/vercel/next.js/tree/canary/.agents/skills/backport-pr into .agents/skills/backport-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backport-pr", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vercel/next.js --skill backport-pr -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vercel/next.js backport-pr --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vercel/next.js.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/backport-pr .cursor/skills/backport-pr && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "backport-pr" agent skill from https://github.com/vercel/next.js/tree/canary/.agents/skills/backport-pr into .cursor/skills/backport-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backport-pr", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vercel/next.js.git --path .agents/skills/backport-pr--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vercel/next.js --skill backport-pr -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vercel/next.js backport-pr --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vercel/next.js.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/backport-pr .gemini/skills/backport-pr && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "backport-pr" agent skill from https://github.com/vercel/next.js/tree/canary/.agents/skills/backport-pr into .gemini/skills/backport-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backport-pr", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vercel/next.js backport-prInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vercel/next.js --skill backport-pr -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vercel/next.js.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/backport-pr .github/skills/backport-pr && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "backport-pr" agent skill from https://github.com/vercel/next.js/tree/canary/.agents/skills/backport-pr into .github/skills/backport-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backport-pr", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vercel/next.js --skill backport-pr -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vercel/next.js backport-pr --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vercel/next.js.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/backport-pr .opencode/skills/backport-pr && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "backport-pr" agent skill from https://github.com/vercel/next.js/tree/canary/.agents/skills/backport-pr into .opencode/skills/backport-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backport-pr", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
backport-prBackport a merged Next.js pull request from canary to a previous release branch such as next-16-2.
Backport PR is an agent skill from vercel/next.js, published by the product's own GitHub organization. Backport a merged Next.js pull request from canary to a previous release branch such as next-16-2. Use when the user asks to backport, cherry-pick, or open a backport PR from a PR number to an older Next.js version. Covers finding the merged PR commit, creating a backport branch from the target release branch, cherry-picking from canary, validating, and opening the PR with the release branch as the base.
Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Deployment and Pull requests. It works with Next.js. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a32ddfd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitpnpmghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, pnpm and gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Backport PR loads about 833 tokens when it runs. Until then it costs about 105 tokens; SKILL.md has 322 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found patterns that need a careful read before installing.
without the user's consent.Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vercel/next.js at commit a32ddfd, republished under its MIT licence (© vercel). 322 words, ~833 tokens.
.claude/skills/backport-pr/SKILL.md (or your agent's skills folder).Use this skill when a user asks to backport a merged Next.js PR to a release branch.
next-16-2.next-16-2 except when
the user explicitly asks for it.Inspect the current worktree before changing branches:
git status --short
git branch --show-currentPreserve unrelated user changes. Do not overwrite, reset, or stash them without the user's consent.
Sync the source and target branches:
git fetch origin canary:refs/remotes/origin/canary <target-branch>:refs/remotes/origin/<target-branch>Identify the commit that landed the PR on canary:
gh pr view <pr-number> --repo vercel/next.js --json number,title,state,url,mergeCommit,baseRefName,headRefName
git log origin/canary --oneline --fixed-strings --grep="(#<pr-number>)"Prefer mergeCommit.oid when the PR is MERGED and the commit is contained
in origin/canary. If GitHub does not return a usable merge commit, use the
git log --grep result and verify the commit subject references the PR
number.
Create the backport branch from the release branch:
git switch -c backport-<pr-number>-to-<target-branch> origin/<target-branch>After switching branches in this repo, run pnpm build-all before Next.js
integration tests unless the user explicitly limits the task to preparing the
cherry-pick or PR.
Cherry-pick the landed commit with provenance:
git cherry-pick -x <merged-commit-sha>Resolve conflicts in favor of preserving the release branch's compatibility constraints. If the cherry-pick is empty, verify whether the change is already present on the release branch and report that instead of opening a duplicate PR.
Verify with the narrowest commands that cover the touched files. Prefer
focused tests, pnpm types for TypeScript-only risk, and the relevant
integration test mode for behavior changes.
Open the backport PR using $create-pr.
Override the normal $create-pr base branch: use --base <target-branch>,
not canary. Keep the PR as a draft unless the user explicitly asks
otherwise.
Use a title like:
[backport] <original PR title>Use a concise PR body:
Backports <original PR title/link> to `<target-branch>`.
<!-- NEXT_JS_LLM -->$create-pr - Create the branch commit, push it, and open the draft PR.$pr-status-triage - Check CI failures or review feedback after the PR exists.© vercel, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/backport-pr of vercel/next.js.
Open the folder on GitHubat commit a32ddfd
Backport PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Backport PR this skillvercel/next.js | 143k | — | ~833 | Automated safety check: Warn | MIT | |
| LobeHub Version Releaselobehub/lobehub | 83k | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Proceedatelier-fashion/adlc-toolkit | 171 | — | ~14k | Automated safety check: Warn | MIT | |
| Vercel Deploy Previewjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Docs AuthoringTracecatHQ/tracecat | 3.8k | — | ~3.1k | Automated safety check: Notes | AGPL-3.0 | |
| Create Vechain Dappvechain/x-app-template | 450 | — | ~1.8k | Automated safety check: Pass | MIT |
lobehub/lobehub
Guides the release PR flow, the CI rules that tag a release and the writing of GitHub Release notes for a repo that develops on a canary branch.
atelier-fashion/adlc-toolkit
End-to-end ADLC pipeline that takes a requirement from spec through to deployed.
jeremylongshore/tons-of-skills-marketplace
Create and manage Vercel preview deployments for branches and pull requests.
TracecatHQ/tracecat
A skill your agent uses when adding or updating documentation pages in an existing docs site.
vechain/x-app-template
Scaffold a VeChain dApp with Next.js, VeChain Kit, Chakra UI v3, and GitHub Pages deployment.
cdklabs/cdk-nextjs
Review the current PR branch and fix the findings in rounds until reviews come back clean.
vercel/next.js
Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack.
vercel/next.js
Benchmark React or Next.js changes on Vercel Sandbox VMs with paired A/B statistics: react PR/commit vs base, or Next.js PR/commit vs base, measured end-to-end through the bench/render-pipeline app…
vercel/next.js
Verify Next.js runtime behavior after editing app code. An agent skill from vercel/next.js.
vercel/next.js
Draw diagrams for the Next.js docs in the style of the ones already published there: the light/dark PNGs an mdx references with <Image srcLight="/docs/light/<name.png" srcDark="/docs/dark/<name.png".
vercel/next.js
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces.
vercel/next.js
Build local React changes in the bundle variants consumed by Next.js, sync them into a local Next.js checkout, and test the resulting integration.
Works with
Categories
Backport a merged Next.js pull request from canary to a previous release branch such as next-16-2. js, published by the product's own GitHub organization.js pull request from canary to a previous release branch such as next-16-2.
Backport PR fits situations like: the user asks to backport; open a backport PR from a PR number to an older Next.js version.
Run `npx skills add vercel/next.js --skill backport-pr -a claude-code`. Or copy the skill folder (.agents/skills/backport-pr in vercel/next.js) into .claude/skills/backport-pr in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vercel/next.js --skill backport-pr -a codex`. Or copy the skill folder (.agents/skills/backport-pr in vercel/next.js) into .agents/skills/backport-pr in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vercel/next.js --skill backport-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/backport-pr, .gemini/skills/backport-pr, .github/skills/backport-pr and .opencode/skills/backport-pr in your project.
Going by SKILL.md and its folder, Backport PR needs the command-line tools its instructions call (git, pnpm and gh).
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md flagged 1 warning(s): contains instruction-override wording (e.g. “without asking the user”). Read the flagged lines before installing; the check is not a guarantee either way.
Backport PR is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 833 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Backport PR: LobeHub Version Release (lobehub/lobehub, 83k stars), Proceed (atelier-fashion/adlc-toolkit, 171 stars), Vercel Deploy Preview (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Docs Authoring (TracecatHQ/tracecat, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vercel (a GitHub organization, an official publisher) maintains it in vercel/next.js, which has 143,241 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 8, 2026.
Source: vercel/next.js on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.