rebase-downstream
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Rebase Downstream Tree
Rebase a tree of dependent branches after upstream changes have been made. Auto-detects the downstream branch tree (including sibling branches), rebases each branch in order, resolves conflicts when possible, and runs preflight checks on each branch.
Current State
- Branch: !
git branch --show-current - Status: !
git status --short
Steps
1. Detect current branch
Get the current branch name. This is the branch that was just modified and whose changes need to propagate downstream.