fleet-reordering-release-bump

Relocate a release bump commit to the default branch tip and retag vX.Y.Z.

125|42|Updated May 19, 2025
One-click install
npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-reordering-release-bump
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fleet-reordering-release-bump
Source: https://github.com/SocketDev/socket-mcp/tree/main/.agents/skills/fleet-reordering-release-bump
Command: npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-reordering-release-bump

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reorders an already landed release bump so the bump becomes the tip of the default branch and the corresponding vX.Y.Z tag is moved accordingly, preserving identical tree content.

Core Features & Use Cases

  • Reorder the bump commit to the tip, then retag the corresponding vX.Y.Z.
  • Create a timestamped backup branch before performing the relocation.
  • Validate tree identity to ensure only the bump's position changes and no other content is altered.
  • Enforce relocation to affect only package.json and CHANGELOG entries when applicable.

Quick Start

Reorder the existing release bump so it becomes the tip of the default branch and retags the corresponding vX.Y.Z.

Frequently Asked Questions about fleet-reordering-release-bump

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

FAQPage Schema
How do I move a git release bump commit to the tip of the default branch?

To move a git release bump commit to the tip, you reorder the commit history so the bump becomes the latest commit. The skill validates tree identity, creates a timestamped backup branch, and uses a safe lease-based push to ensure repository contents remain unchanged.

What is the safest way to retag a vX.Y.Z release after reordering commits?

The safest way to retag a vX.Y.Z release after reordering commits is using git update-ref. This approach moves the tag to the relocated bump commit while preserving identical tree content and creating a timestamped backup branch before making changes.

Can I relocate a release bump if other commits have landed on top of it?

Yes, you can relocate a release bump when later commits have landed on top of it. The relocation process moves the bump commit to the tip, retags the version, and validates that only package.json and CHANGELOG entries are affected.

How do I ensure my git tree contents stay identical when reordering a release bump?

To ensure git tree contents stay identical when reordering a release bump, the process checks tree identity before and after the relocation. It enforces that only package.json and CHANGELOG entries are moved and performs a safe lease-based push.

What files can be affected when relocating a release bump commit?

When relocating a release bump commit, the process enforces that only package.json and CHANGELOG entries are moved. This validation ensures no other repository content is altered during the commit reordering and retagging operation.