# Cherry-pick Commit into Release Branch

Cherry-pick a commit or PR from main into a release branch and retitle it as a cherry-pick. The deliverable is a new commit with the updated title on the release branch.

**Canonical URL:** https://skillshunter.net/skills/github-microsoft-playwright-claude-skills-playwright-cherry-pick-114316e5b870

**JSON URL:** https://skillshunter.net/api/public/v1/skills/github-microsoft-playwright-claude-skills-playwright-cherry-pick-114316e5b870

**Markdown URL:** https://skillshunter.net/skills/github-microsoft-playwright-claude-skills-playwright-cherry-pick-114316e5b870.md

**Instructions download URL:** https://skillshunter.net/skills/github-microsoft-playwright-claude-skills-playwright-cherry-pick-114316e5b870/download

**Category:** Software & Development

**Source URL:** https://github.com/microsoft/playwright/blob/b4d016aadc5cbd2b898a284307975fe73e05483d/.claude/skills/playwright-cherry-pick/SKILL.md

**Source commit:** b4d016aadc5cbd2b898a284307975fe73e05483d

**Listing approved at:** 2026-11-21

**Created at:** 2026-11-20T13:30:13.000000Z

**Updated at:** 2026-11-21T09:43:53.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Ensure the release branch is created and synced with `microsoft/playwright` before running the command. The user must explicitly push the changes using `git push upstream release-<version>` after the cherry-pick is completed.

### When to use it

- Backport a bug fix from main to a specific release branch.
- Port a feature change into a release branch for a specific version.

## Skill instructions

---
name: playwright-cherry-pick
description: Cherry-pick a commit or PR from main into a release branch (release-<version>) and retitle it as cherry-pick(#<pr>): <original title>. Use when asked to cherry-pick, backport, or port a change into a release.
user_invocable: true
---

# Cherry-pick into a release branch

`/playwright-cherry-pick <version> <commit>`

Check out `release-<version>`, creating it if needed, synced to `microsoft/playwright`
(`git fetch upstream release-<version>` and use `FETCH_HEAD`, not a remote-tracking name).
Cherry-pick the commit and retitle it `cherry-pick(#<pr>): <original title>`, where `<pr>` is the
number from the trailing `(#<pr>)` of the original subject, dropped from the title. Body stays empty.
Report the result and stop.

**Never push.** The user asks explicitly, then: `git push upstream release-<version>`.

