What problem does it solve?
Backporting fixes from a development branch to a release or servicing branch is error-prone: branching off a stale local copy, silently mis-resolving conflicts, or forgetting to reference the original PR can introduce regressions. This Skill provides a safe, repeatable workflow for cherry-picking commits and opening a properly formatted backport pull request.
Core Features & Use Cases
- Safe cherry-pick workflow: Fetches from origin, resolves the real source and target refs, branches off the remote target, and cherry-picks with
-x to preserve provenance.
- Conflict safety: Stops on conflicts, aborts cleanly, deletes the temporary branch, and reports the conflicting files instead of guessing a resolution.
- PR creation via delegation: Hands off push and PR creation to the repository's
create-pr skill with backport-specific title, base branch, and body linking the original PR.
- Use Case: A user says "backport #7576 to release/8.0.x" — the Skill resolves the squash-merge commit, creates a
dev-<handle>-cherrypick-7576-8.0.x branch off origin/release/8.0.x, cherry-picks it, and opens a ready PR referencing the original change.
Quick Start
Cherry-pick the latest commit from the dev branch onto the 7.9.x release branch and open a backport pull request.