Merged — Git skill for Claude Code
The PR is merged; confirm it landed, clean up its worktree and branch, then pick the next task.
How to install Merged
Installs to ~/.claude/skills/kigawas-dotfiles-merged/SKILL.md
mkdir -p ~/.claude/skills/kigawas-dotfiles-merged && curl -fsSL https://raw.githubusercontent.com/kigawas/dotfiles/HEAD/commands/merged.md -o ~/.claude/skills/kigawas-dotfiles-merged/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Merged does
description: The PR is merged; confirm it landed, clean up its worktree and branch, then pick the next task argument-hint: "[PR number] [notes]"
The PR is merged. Clean up with the clear-branch skill; if it isn't loaded, read `~/.agents/skills/clear-branch/SKILL.md`. Confirm the work landed before removing anything. If a check fails, report it and stop, leaving the worktree and branch in place.
Then update the local default branch with `git merge --ff-only origin/`, but only wh
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Create Next Version Branch 1.5k ★
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Cleanup Merged
Clean up worktree and local + remote branch for a merged PR
Worktree Hygiene
Report the state of every git branch and worktree in a repo (unpushed, unmerged, stale, merged) and clean up o
Clean Branches
Safely prune merged and stale Git branches: drop dead remote-tracking refs, list merged candidates for review,
Rebase Plan
Drafts a pick / squash / reword plan for git rebase -i to clean up a feature branch before PR. Advisory only -
Commit Branch PR Pick
Commit the current changes to a new branch and create a PR. Cherry-picks only the relevant changes into the br
CodeyBox
Runs CLI coding agents (Claude Code, Codex, Copilot, Cursor, Gemini, opencode) against a task queue. Each work
Related Agents
Branch Hygiene
MUST be used whenever the user asks to find stale, merged, or orphaned git branches, or asks to review/clean u
Branch Gardener
Triages local branches and stashes in a managed repo (merged, stale, superseded, unpushed) and proposes deleti
Merge Cleanup
Commits worktree changes, cherry-picks them to main, removes the worktree, and prunes the branch. Use at the e