update-after-merge | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / update-after-merge

update-after-merge

maintained by whoabuddy

star 0 account_tree 4 verified_user MIT License
bolt View GitHub

name: update-after-merge description: Clean up after PR merge - switch to default branch, delete feature branch, pull latest allowed-tools: Bash

Update After Merge Skill

Clean up local repository after a PR is merged.

Usage

/update-after-merge              # Clean up current feature branch
/update-after-merge branch-name  # Clean up specific branch

What It Does

  1. Checks for uncommitted changes (stash if needed)
  2. Switches to default branch (main/master)
  3. Pulls latest changes
  4. Deletes the merged feature branch (local)
  5. Deletes remote branch if still exists
  6. Prunes stale remote references

Safety

Uses git branch -d (safe delete) - won't delete unmerged branches.

Runbook

Full procedure: runbook/update-after-merge.md in your knowledge base.

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 0
GitHub Forks 4
Created Jan 2026
Last Updated 5 months ago
tools tools git workflows

Related Skills

pr

pr

MoonshotAI
star 6.1k
chevron_right
feature-dev
chevron_right
drafting-pr
chevron_right
creating-pr
chevron_right
checking-docs
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.