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

cleanup

Stars3
Forks0
UpdatedJuly 19, 2026 at 06:11

The single owner of the mechanical git cleanup after a PR merges — remove its throwaway worktree, delete its local branch, and fast-forward local `main` — plus the standalone "keep local `main` fresh" refresh. Use whenever a PR has merged and its worktree/branch need tearing down, or the user says "cleanup", "clean up the worktree", "refresh main", "update main", "pull main", or invokes /cleanup. Other skills (`ci-loop`, `wait-for-pr-merge`) point here for these steps and carry none of the commands. It never touches issue status (that's the tracker's — see `task-tracker`) and never fixes CI, conflicts, or review comments (that's the loop — see `ci-loop`).

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