Post Merge — Git skill for Claude Code
Execute post-merge actions including syncing main, re-running tests, and cleanup.
How to install Post Merge
Installs to ~/.claude/commands/codingthefuturewithai-conduit-post-merge.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/codingthefuturewithai/conduit/HEAD/.claude/commands/post-merge.md -o ~/.claude/commands/codingthefuturewithai-conduit-post-merge.md Restart Claude Code, or start a new session, for it to be picked up.
What Post Merge does
description: Execute post-merge actions including syncing main, re-running tests, and cleanup usage: /project:post-merge example: /project:post-merge
I'll help you complete the post-merge workflow to ensure your local environment is synchronized and the merged changes are validated.
Step 1: Sync with Remote Main
Switching to main and pulling latest changes:
!git checkout main !git pull origin main
Verifying your changes are included: !git log --oneline -5
Step 2: Re-run Featur
Alternatives in Git
- Bulletproof Quick Start Guide — Target Audience: Complete beginners Never used Python/git before 11.1k ★
- 40+ Claude Code Tips — Tips for getting the most out of Claude Code, including a custom status line script, cutting the system prompt 5.8k ★
- 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 ★
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.
Finishing A Development Branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides
Finish PR
Post-merge cleanup -- verify merge state, sync dev, delete branch, close issue
Claude Phantom
Autonomous crash recovery for your terminal: wrap a command; on crash, headless Claude Code diagnoses, tests,
Branch Cleanup
Clean up merged, stale, and orphaned git branches. Protects main/develop/release/ automatically. Supports --dr
Cleanup Worktree
Remove a merged worktree and its branch after verifying it was merged into main
Related Agents
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
Ds Recommender
Use to turn deterministic design-system findings into a PRIORITIZED, evidence-cited list of consolidation and
Merge Cleanup
Commits worktree changes, cherry-picks them to main, removes the worktree, and prunes the branch. Use at the e