What problem does it solve?
Backporting a merged PR to older release branches is error-prone: cherry-picks conflict, unrelated tests sneak in during conflict resolution, and RDB or config compatibility issues are easy to miss. This Skill guides the entire backport workflow from identifying the squash-merged commit to opening validated backport PRs.
Core Features & Use Cases
- Isolated worktree setup: Creates per-branch git worktrees and dedicated backport branches so release checkouts stay clean and pushes are safe.
- Ordered multi-branch backports: Processes release lines newest-to-oldest (e.g., 8.8 before 8.2) so conflict resolutions on newer branches inform older ones.
- Compatibility verification: Checks RDB serialization versions, command/API surface, and config options against the target branch before building.
- Use Case: A bug fix merged to master as PR #8774 must ship in the 2.10, 8.2, and 8.6-rse maintenance releases. The Skill cherry-picks the commit into each branch, resolves conflicts while excluding unrelated tests, builds and runs tests, then opens one backport PR per branch.
Quick Start
Ask the assistant to backport PR 8774 to branches 8.6-rse, 8.2, and 2.10 using the pr-backport skill.