skills/git-cherry-pick/SKILL.md
This skills takes a source branch and a target branch. It will cherry-pick the last commit from the source branch to the target branch. Optionally, it can also create a pull request for the cherry-picked commit by creating a new branch from the target branch, cherry-picking the commit to that branch, and then creating a pull request from that branch to the target branch using the GitHub CLI.
npx skillsauth add adamdriscoll/skills git-cherry-pickInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Cherry-picks the last commit from a source branch onto a target branch. Supports an optional pull-request workflow that creates an intermediate branch and opens a PR via the GitHub CLI.
npx skills add adamdriscoll/skills
gh) — https://cli.github.comPATH.gh) must be installed and authenticated when using -CreatePullRequest (run gh auth login if needed).scripts/Invoke-GitCherryPick.ps1
| Parameter | Type | Required | Description |
|---|---|---|---|
| SourceBranch | string | Yes | The branch whose last commit will be cherry-picked. |
| TargetBranch | string | Yes | The branch to cherry-pick the commit onto. |
| PullRequestBranch | switch | No | Creates a new branch from TargetBranch, cherry-picks there, and pushes to origin instead of committing directly. |
| CreatePullRequest | switch | No | Opens a pull request from the new branch to TargetBranch using gh. Requires -PullRequestBranch. |
.\Invoke-GitCherryPick.ps1 -SourceBranch "feature/my-feature" -TargetBranch "main"
Checks out main, pulls the latest changes, and cherry-picks the last commit from feature/my-feature directly onto it.
.\Invoke-GitCherryPick.ps1 -SourceBranch "feature/my-feature" -TargetBranch "main" -PullRequestBranch
Creates a new branch named cherry-pick/feature/my-feature-to-main, cherry-picks the commit there, and pushes the branch to origin. No pull request is opened.
.\Invoke-GitCherryPick.ps1 -SourceBranch "feature/my-feature" -TargetBranch "main" -PullRequestBranch -CreatePullRequest
Full workflow: creates the PR branch, cherry-picks the commit, pushes to origin, and calls gh pr create to open a pull request from the new branch to main.
cherry-pick/<SourceBranch>-to-<TargetBranch>, with any characters that are invalid in git branch names replaced by -.git cherry-pick --continue to finish.git rev-parse on the source branch, so SourceBranch can be any valid git ref (branch name, tag, or commit SHA).tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.