Skip to main content
Run any Skill in Manus
with one click

kmaz-merge-and-cleanup

Stars0
Forks0
UpdatedMay 30, 2026 at 23:11

Safely land a completed feature branch into main with linear history, then clean up: rebase the branch onto local main, resolve only trivial conflicts (escalate real ones), protect any unrelated dirty state on main, fast-forward merge to keep history linear, then delete the branch and its git worktree. Use this skill whenever the user wants to merge/land/integrate a finished branch, "merge this into main", "land the feature", "ff-merge and clean up", "rebase and merge then delete the worktree", or otherwise finish and tidy up a development branch after the work and review are done. It is the natural follow-on to kmaz-feature (which can end at an open, rebased PR). Trigger even if the user doesn't name this skill, as long as they're asking to merge a branch into main and tidy up afterward.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly