git-cherry-pick-hotfix

Backports urgent fixes across branches with dependency-aware cherry-picks.

7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill git-cherry-pick-hotfix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-cherry-pick-hotfix
Source: https://github.com/KentoShimizu/sw-agent-skills/tree/main/skills/git-cherry-pick-hotfix
Command: npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill git-cherry-pick-hotfix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Backport urgent fixes across branches while controlling dependency spillover and regression risk.

Core Features & Use Cases

  • Minimal, dependency-aware cherry-picks to limit changes to the target branch
  • Dependency decision rules and risk analysis to prevent regressions
  • Structured verification and rollback notes for safe backports
  • Planning templates and verification checklists to standardize processes

Quick Start

Backport a specific fix by selecting the source commit(s) and target branch, then run dependency checks and verification before finalizing.

Frequently Asked Questions about git-cherry-pick-hotfix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I backport an urgent hotfix across git branches safely?

To backport urgent hotfixes safely, select specific source commits and the target branch, run dependency decision checks to limit spillover, resolve conflicts, and perform post-backport verification to minimize regression risk.

What is the best way to cherry-pick a commit without causing dependency spillover?

The best way to prevent dependency spillover during a cherry-pick is to apply dependency decision rules and risk analysis, ensuring only minimal, necessary changes are moved to the target branch.

How does dependency analysis work for git cherry-pick backports?

Dependency analysis for backports works by evaluating selected source commits for dependency spillover and regression risk before applying changes, providing structured decision rules to prevent unintended modifications in the target branch.

Can I standardize my git hotfix process to reduce regression risk?

Yes, you can standardize your git hotfix process using planning templates and verification checklists to structure dependency analysis, conflict resolution, and post-backport verification, effectively reducing regression risk during emergency patches.

When should I avoid cherry-picking for emergency patches?

You should avoid cherry-picking for emergency patches when dependency spillover cannot be isolated or when regression risk remains high after dependency analysis, making a full branch merge or dedicated release strategy more appropriate.