update-branch

Community

Keep feature branches synced with base

Authornsheaps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Synchronize a feature branch with its remote and its PR base to ensure local commits are preserved, remote branches are current, and pull requests remain up-to-date and mergeable.

Core Features & Use Cases

  • Branch synchronization: Fetch all remotes, checkout the feature branch, merge the PR base into the feature branch, pull remote changes, and push the updated branch.
  • Conflict resolution guidance: Distinguish obvious from non-obvious conflicts and delegate analysis and strategy to specialized agents when needed, with a documented verification workflow.
  • CI and safety rules: Operates in local and CI environments, avoids history rewrites, restricts modifications to the requested branch, and verifies PR state via GitHub CLI.

Quick Start

Update the current branch from its PR base and push the result to origin.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: update-branch
Download link: https://github.com/nsheaps/ai-mktpl/archive/main.zip#update-branch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.