run-repo-cleanup

Installation
SKILL.md

Run Repo Cleanup

Turn a messy repo — dirty working tree, unpushed commits, possibly multiple worktrees from parallel subagents — into a small number of focused PRs on the private fork only, each with diff-read commits inside and a comprehensive self-review body outside. End state must be tidy: no stale branches local or remote, no stale worktrees, working tree clean.

When To Use

Trigger on phrases and git states like:

  • "clean up this repo", "tidy up before I push", "land my work in PRs"
  • "my working tree is a mess — sort it out", "sweep these uncommitted changes"
  • "I have N worktrees from the parallel subagents — merge them in order"
  • "open the cleanup PRs against the fork, not upstream"
  • "split this dirty branch into commits and a self-review body"
  • "retire merged branches and worktrees", "prune the stale branches"
  • Git state: git status is dirty + unpushed commits, or git worktree list shows ≥2 entries, or a fork-vs-upstream origin setup is active.

Do NOT use this skill for:

  • Reviewing someone else's PR for merge readiness — use do-review.
Related skills
Installs
14
GitHub Stars
6
First Seen
Apr 27, 2026