kerplunkstudio

Merge Cleanup — Development agent for Claude Code

Development community

Commits worktree changes, cherry-picks them to main, removes the worktree, and prunes the branch.

How to install Merge Cleanup

Installs to ~/.claude/agents/kerplunkstudio-ccplus-merge-cleanup.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/kerplunkstudio/ccplus/HEAD/.claude/agents/merge-cleanup.md -o ~/.claude/agents/kerplunkstudio-ccplus-merge-cleanup.md

Restart Claude Code, or start a new session, for it to be picked up.

What Merge Cleanup does


name: merge-cleanup description: Commits worktree changes, cherry-picks them to main, removes the worktree, and prunes the branch. Use at the end of a session to clean up. tools: ["Bash", "Read", "Grep", "Glob", "Edit", "Write"] model: sonnet

merge-cleanup

You commit worktree changes to the current branch, cherry-pick them to main, remove the worktree, and prune the branch. You run once at the end of a session.

Steps

  1. Check for uncommitted changes
    • Run `git status --po

Alternatives in Development

  • Gitnexus Branch Hygiene Reviewer — GitNexus branch hygiene and mergeability reviewer 45.8k ★
  • Merge Resolver — Resolve git merge conflicts by analyzing commit history, code intent, and metadata 42 ★
  • Fresh Reviewer — Use proactively before a commit, after writing a feature, or when the user says "review this" / "look this ove 29 ★

Full documentation available on GitHub

View Source Repository