Dip — Git skill for Claude Code
Post-merge cleanup — switch to base branch, pull latest, delete the merged feature branch, restore any stash.
How to install Dip
Installs to ~/.claude/skills/bryantleft-bruhs-skills-dip/SKILL.md
mkdir -p ~/.claude/skills/bryantleft-bruhs-skills-dip && curl -fsSL https://raw.githubusercontent.com/bryantleft/bruhs-skills/HEAD/commands/dip.md -o ~/.claude/skills/bryantleft-bruhs-skills-dip/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Dip does
description: Post-merge cleanup — switch to base branch, pull latest, delete the merged feature branch, restore any stash. Use right after a PR merges or when transitioning off a shipped branch.
dip - Clean Up After Merge
Clean up your feature branch after merging and switch back to the base branch to start fresh.
Contents
Alternatives in Git
- GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★
- Worktree Rm — Remove a git worktree and optionally delete its branch 387 ★
- Hybrid Complete — Complete Hybrid Ralph task in worktree, verify all stories complete, commit code changes (excluding planning f 123 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
PR Merged
Post-merge cleanup — checkout main, pull latest, delete the feature branch, and close the linked work item.
Clean After Merged
Switch to the repo's main branch, pull, and delete the just-merged local branch.
Finish PR
Post-merge cleanup -- verify merge state, sync dev, delete branch, close issue
CloseBranch
Close out a branch after its PR is merged/closed - switches to the PR's base branch (main, or the todo's arc b
PR Post Merge
Clean up after a PR is merged — close fork issue, update local branch, delete issue branch
Git Switch To Main
Switch to the main branch and pull the latest changes.
Related Agents
Warpath
Orchestrates fix, ship, and roast cycles until the latest pull-request review is clean; approval-sensitive and
Cleanup Phase 1
Runs phase 1 (dead code) and phase 1.5 (duplicate functions) of a codebase cleanup that is already under way.
Merger
Reviews, validates, and merges arc-agents PRs. Sole authority for destructive git ops (rebase, push, merge, br