cherry-pick
FreeNo executable scriptsNot checkedUse when the coordinator dispatches a BACKPORT BRIEF for a single branch. Cherry-picks the named commits onto an OpenShift release branch, resolves conflicts…
by openshift-eng★ 123 GitHub starsAbout this skill
Name
openshift-developer:cherry-pick
Synopsis
/openshift-developer:cherry-pick <brief>
/openshift-developer:cherry-pick
The brief is authoritative: repository, target branch, source commits (in order), head branch name, and the fork remote are all decided by the coordinator's tools. Do not rename, retitle or reorder anything.
Steps
git fetch upstream <target_branch>(addupstreamfor the upstream repository if the clone'soriginis the fork) andgit checkout -b <head_branch> upstream/<target_branch>.- Fetch the source commits (
git fetch upstream pull/<N>/headcovers PR commits; a squash/merge commit sha is on the base branch). Forsource_mode: rebase, find each PR commit's rebased twin on the base branch bygit patch-idand pick those. git cherry-pick -x <sha>for each source commit, in order. Keep the original authorship and message; the-xtrailer is the only addition.- On a conflict: resolve minimally, preserving the upstream change's
intent on this branch's code. Regenerate
vendor/,go.sum, lockfiles with the project's own commands, never by hand. Never drop or weaken a test. Consult theconflict_hintsPRs (already-resolved newer backports) for how the same hunk was resolved — but never pick from them. If a conflict is not mechanically resolvable, stop: push what applies cleanly in order,report_setback("cherry_pick_conflict", <files and why>), and end withGOAL_VERDICT: blocked. - Run the proportional checks the repository defines (
make build,make test/make verify, or the language's equivalents). Fix only what the cherry-pick introduced. git push origin <head_branch>. Do NOT open a PR — the coordinator does, with the brief's title and body.- Report: the pushed branch, the commit shas on it, per-file conflict
notes (file, what conflicted, how you resolved it), test evidence, and a
closing
GOAL_VERDICT: achieved|blocked|failedline.
Install cherry-pick in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the cherry-pick skill do?
Use when the coordinator dispatches a BACKPORT BRIEF for a single branch. Cherry-picks the named commits onto an OpenShift release branch, resolves conflicts conservatively, runs the repository's checks, and pushes the branch to the bot's fork. Never opens a PR.
How do I install the cherry-pick skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the cherry-pick skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic