manual-branch-integrator
Installation
SKILL.md
Manual Branch Integrator
Integrate branch intent, not just patches. Prefer Git's merge machinery as a draft, then edit, refactor, audit, validate, and report the deliberate result.
Use clear branch terms throughout the task: the current HEAD branch is the destination branch, and <source> is the branch being integrated into it. If the user says "target branch" ambiguously, confirm whether they mean the source branch to merge or the destination branch to receive the work.
Workflow
- Preflight the repository.
-
Confirm the current destination branch, source branch, and whether the user wants whole-branch integration or partial adoption.
-
Check state before modifying anything:
git status --short --branch git merge-base HEAD <source> git log --oneline --decorate --left-right --cherry-pick HEAD...<source>
-