post-merge-rename

Rename merged Git branches by appending a standardized date suffix.

3|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/wipcomputer/wip-ai-devops-toolbox --skill post-merge-rename
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post-merge-rename
Source: https://github.com/wipcomputer/wip-ai-devops-toolbox/tree/main/tools/post-merge-rename
Command: npx skills add https://github.com/wipcomputer/wip-ai-devops-toolbox --skill post-merge-rename

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the renaming of Git branches after they have been merged, ensuring a clean and organized repository history by appending a merge date.

Core Features & Use Cases

  • Automated Branch Renaming: Automatically renames merged branches with a --merged-YYYY-MM-DD suffix.
  • History Preservation: Prevents accidental deletion of merged branches by renaming them instead.
  • Use Case: After merging a feature branch into main, this skill will rename feature-branch to feature-branch--merged-2026-03-09, preserving its history without cluttering the active branch list.

Quick Start

Use the post-merge-rename skill to rename the branch 'my-feature-branch'.

Frequently Asked Questions about post-merge-rename

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename Git branches after merging to keep repository history clean?

To rename Git branches after merging, this Skill appends a standardized date suffix like `--merged-YYYY-MM-DD` to the branch name. It preserves historical context while keeping the active branch list uncluttered.

What is the best way to preserve merged Git branches without deleting them?

The best way to preserve merged Git branches without deleting them is automated renaming. This Skill prevents accidental deletion by appending a merge date suffix, ensuring branch history remains intact.

How does automated branch renaming manage repository hygiene in Git?

Automated branch renaming manages repository hygiene by systematically renaming merged branches with a date suffix. This prevents historical context loss while ensuring active branches remain organized and easily identifiable.

Do I need Bash and Git to automate renaming merged branches?

Yes, you need Git and Bash to automate renaming merged branches. This Skill relies on Bash for execution and Git for branch manipulation to append the standardized date suffix to merged feature branches.

Can I use this branch renaming approach for DevOps automation pipelines?

Yes, you can use this branch renaming approach for DevOps automation. By appending a `--merged-YYYY-MM-DD` suffix to merged branches, it standardizes repository management and integrates cleanly into automated workflows.