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.
$npx -y skills add vercel/next.js --skill backport-prInstalls into the current project.
Run `npx skills use "https://github.com/vercel/next.js" --skill "vercel/next.js/backport-pr"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/vercel/next.js" that are relevant to the current task. Run `npx skills add "https://github.com/vercel/next.js"` and select the relevant skills, then follow their instructions.