with one click
cherry-pick
Cherry-pick a PR to a target version branch
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Cherry-pick a PR to a target version branch
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | cherry-pick |
| description | Cherry-pick a PR to a target version branch |
| argument-hint | <pr-url> <target-branch> |
| disable-model-invocation | true |
| allowed-tools | Read, Edit, Bash(git:*), Bash(gh:*), Bash(yarn:*) |
Cherry-pick the PR with the GitHub URL $0 to the $1 branch. This command is only run when automated cherry-picking failed, so expect merge conflicts.
Gather PR information using gh pr view:
Prepare branches:
git fetch origin <source-branch>git fetch origin $1--no-track: git checkout -b <branch-name> origin/$1 --no-trackfix/click-event-listener-$1)Cherry-pick the merge commit:
git cherry-pick -m 1 <merge-commit-sha>Verify the changes:
Commit the resolved cherry-pick:
Push and create PR:
gh pr create---) surrounded by new lines> )Update original PR:
need to pick manually $1, remove itcherry-picked-$1 to the original PRYou can use the gh CLI tool for GitHub operations throughout these steps.