git.backport
Automates the backporting of git commits to release branches with PR creation.
Install
mkdir -p .claude/skills/git-backport && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11954" && unzip -o skill.zip -d .claude/skills/git-backport && rm skill.zipInstalls to .claude/skills/git-backport
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Back-port a specific commit from master to a release branch via cherry-pick. Creates a dedicated backport branch, attempts the cherry-pick, pushes it, and opens a PR by default. Returns to the original branch when done (success or failure). If there are merge conflicts, diagnoses the root cause without attempting an autonomous resolution. Use when asked to "backport", "cherry-pick to release", or "port a fix to a release branch".Key capabilities
- →Backport a specific commit from master to a release branch
- →Create a dedicated backport branch from the target branch
- →Apply only source file changes from the commit as a patch
- →Diagnose merge conflicts without autonomous resolution
- →Open a pull request for the backported changes by default
How it works
The skill creates a new branch from the target, applies the specified commit's source-file changes as a patch, and then pushes the branch to open a PR.
Inputs & outputs
When to use git.backport
- →Backport a bug fix to a release branch
- →Port a specific commit to a maintenance branch
- →Automate PR creation for release patches
About git.backport
This skill uses git cherry-pick to port a specific commit from master to a release branch. It creates a dedicated branch, manages the push, and opens a PR by default before returning to the original branch.
Back-port a specific commit from master to a release branch via cherry-pick. Creates a dedicated backport branch, attempts the cherry-pick, pushes it, and opens a PR by default. Returns to the original branch when done (success or failure). If there are merge conflicts, diagnoses the root cause with
When not to use it
- →When the commit only touches versioning files like package.json or CHANGELOG.md
- →When autonomous resolution of patch conflicts is required
Limitations
- →It does not resolve patch conflicts autonomously.
- →It never applies changes to versioning files like package.json or CHANGELOG.md.
- →It does not check out the source commit or the target branch locally.
How it compares
This skill automates the cherry-picking process, including branch creation, patch application, and PR opening, while diagnosing conflicts, unlike manual git operations.
Compared to similar skills
git.backport side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| git.backport (this skill) | 0 | 5mo | Review | Intermediate |
| resolve-conflicts | 81 | 12mo | Review | Intermediate |
| openspec-onboard | 10 | 9mo | Review | Beginner |
| codex-cli-bridge | 9 | 1y | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by coinbase
View all by coinbase →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
skill-sync
KyleKing
Syncs Claude Skills with other AI coding tools like Cursor, Copilot, and Codeium by creating cross-references and shared knowledge bases. Invoke when user wants to leverage skills across multiple tools or create unified AI context.
github-workflow-automation
ruvnet
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.