Xpersona
P

Post Merge Rename

CLAWHUB · Unverified

Post-merge branch renaming. Appends --merged-YYYY-MM-DD to preserve history.

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17620xzyc7kfan8m36at57m6n83h8he:post-merge-rename
  1. Install using `clawhub skill install s17620xzyc7kfan8m36at57m6n83h8he:post-merge-rename` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/parkertoddbrooks/post-merge-rename before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-parkertoddbrooks-post-merge-rename/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

76,570 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: post-merge-rename
description: Post-merge branch renaming. Appends --merged-YYYY-MM-DD to preserve history.
license: MIT
interface: [cli, skill]
metadata:
  display-name: "Post-Merge Branch Naming"
  version: "1.3.0"
  homepage: "https://github.com/wipcomputer/wip-ai-devops-toolbox"
  author: "Parker Todd Brooks"
  category: dev-tools
  capabilities:
    - branch-rename
    - history-preservation
  requires:
    bins: [git, bash]
  openclaw:
    requires:
      bins: [git, bash]
    emoji: "🏷️"
compatibility: Requires git, bash.
---

# post-merge-rename

Scans for merged branches that haven't been renamed and appends `--merged-YYYY-MM-DD` to preserve history. We never delete branches. We rename them.

## When to Use This Skill

**Use post-merge-rename for:**
- After merging PRs, to rename the source branch
- Cleaning up branches that were merged but not renamed
- Runs automatically as step 10 of `wip-release`

### Do NOT Use For

- Unmerged branches
- Branches you're currently working on

## API Reference

### CLI

```bash
bash scripts/post-merge-rename.sh              # scan + rename all merged branches
bash scripts/post-merge-rename.sh --dry-run     # preview only
bash scripts/post-merge-rename.sh <branch>      # rename specific branch
```

## What It Does

1. Lists all local branches merged into main
2. Skips branches already renamed (containing `--merged-`)
3. Finds the merge date from git history
4. Renames: `feature-branch` -> `feature-branch--merged-2026-03-09`
5. Pushes the renamed branch to origin
6. Deletes the old branch name from origin

README.md

###### WIP Computer

# Post-Merge Branch Naming

Cleans up after itself. Merged branches get renamed with dates automatically.

## What it does

- Scans for merged branches that haven't been renamed
- Appends `--merged-YYYY-MM-DD` to preserve history
- We never delete branches. We rename them.

## Usage

```bash
bash post-merge-rename.sh
```

## Requirements

- git
- bash

## Interfaces

- **CLI**: Shell script
- **Skill**: SKILL.md for agent instructions

## Part of [AI DevOps Toolbox](https://github.com/wipcomputer/wip-ai-devops-toolbox)

_meta.json

{
  "ownerId": "kn7b4mj57xb02gqhvjzgzkxq557zz95h",
  "slug": "post-merge-rename",
  "version": "1.9.72",
  "publishedAt": 1776806683945
}

skill-card.md

## Description:

Post-merge branch renaming. Appends --merged-YYYY-MM-DD to preserve history.

This skill is ready for commercial/non-commercial use.

## Publisher:

[parkertoddbrooks](https://clawhub.ai/user/parkertoddbrooks)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and release engineers use this skill to identify branches merged into main and rename them with a dated --merged-YYYY-MM-DD suffix while preserving branch history.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can delete old remote branch refs even though its documentation says it never deletes branches.

Mitigation: Review before installing or running in shared repositories; use --dry-run first and avoid production automation until the deletion behavior is explicit and verified.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/parkertoddbrooks/skills/post-merge-rename)
- [AI DevOps Toolbox](https://github.com/wipcomputer/wip-ai-devops-toolbox)

## Skill Output:

**Output Type(s):** [Text, Shell commands, Guidance]

**Output Format:** [Plain text terminal output and Markdown usage guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May rename local branches, push new branch names, and delete old remote branch refs unless --dry-run is used.]

## Skill Version(s):

1.9.72 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

package.json

{
  "name": "@wipcomputer/post-merge-rename",
  "version": "1.9.68",
  "description": "Post-merge branch renaming. Appends --merged-YYYY-MM-DD to preserve history.",
  "bin": {
    "post-merge-rename": "./post-merge-rename.sh"
  },
  "license": "MIT"
}

Sponsored

Ads related to Post Merge Rename and adjacent AI workflows.