backmerge

Create backmerge pull requests across prod, test, and main branches using Git actions and GitHub CLI tools.

381|261|Updated May 7, 2026
One-click install
npx skills add https://github.com/nudgebee/nudgebee --skill backmerge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backmerge
Source: https://github.com/nudgebee/nudgebee/tree/main/.gemini/skills/backmerge
Command: npx skills add https://github.com/nudgebee/nudgebee --skill backmerge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, and includes scripts (resource) components.

What problem does it solve?

Ensures that hotfixes are efficiently and correctly backmerged through the 'prod' -> 'test' -> 'main' branches to maintain code synchronization without manual intervention.

Core Features & Use Cases

  • Automated Backmerge Creation: Creates pull requests to merge 'prod' changes into 'test' and 'test' changes into 'main'.
  • Branch Synchronization: Manages the backmerge of branches to maintain consistency across environments.
  • Use Case: When a critical hotfix is applied to 'prod', this skill automatically generates PRs to merge back into 'test' and 'main', streamlining the release process.

Quick Start

Use the /backmerge command with optional argument (e.g., /backmerge prod) to automatically create the backmerge PRs for specified branches.

Frequently Asked Questions about backmerge

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

FAQPage Schema
How do I automate backmerge PRs after a hotfix in GitHub?

To automate branch synchronization post-hotfix, this skill creates pull requests merging 'prod' changes into 'test' and 'main' using Git and GitHub CLI. It streamlines SRE workflows by generating backmerge PRs automatically without manual intervention.

What is branch synchronization for hotfix management?

Branch synchronization for hotfix management ensures critical fixes applied to production are integrated back into lower environments. It maintains code consistency by automatically merging 'prod' changes into 'test' and 'main' branches, preventing environment drift.

Do I need GitHub CLI installed to automate branch synchronization?

Yes, automating branch synchronization requires both Git and GitHub CLI (`gh`) installed and authenticated. These dependencies are necessary for the skill to execute Git actions and automatically create pull requests across repository branches.

How do I create a backmerge from prod to main automatically?

Creating a backmerge from prod to main automatically is done by executing the `/backmerge prod` command. This triggers automated pull request creation to merge production changes through 'test' and into 'main' for branch consistency.

What's the best way to keep test and main branches synced with prod?

The best way to keep branches synced is automating the backmerge process after hotfixes. By automatically generating PRs from 'prod' to 'test' and 'test' to 'main', you ensure code changes are correctly integrated without manual intervention.