refreshing-history

Consolidate repository histories into a single signed initial commit.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates fleet-wide repository baseline resets by squashing history into a single signed initial commit, followed by dependency refresh and code quality passes.

Core Features & Use Cases

  • Coordinated history reset across multiple repos with a single, signed initial commit
  • Dependency refresh and lockfile update before baseline
  • Format, fix, type checks, and consistency verification prior to push
  • Safe recovery via remote backup and worktree isolation

Quick Start

Run the runner against your repository path to perform a full fleet refresh.

Frequently Asked Questions about refreshing-history

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

FAQPage Schema
How do I squash git history into a single signed commit across multiple repositories?

To squash git history into a single signed commit across multiple repositories, this Skill consolidates fragmented default branches using coordinated per-repo base resolution, dependency refresh, formatting, and pre-push integrity verification. It executes fleet-level baseline cleanups safely via worktree isolation and remote backups.

What is a fleet-wide baseline reset and when do I need it?

A fleet-wide baseline reset is the process of coordinating per-repo base resolution to consolidate fragmented project histories into a single signed initial commit. You need it for fleet-level releases or baseline cleanups to ensure history integrity across multiple repositories.

How do I safely force-push a squashed git baseline to remote repositories?

To safely force-push a squashed git baseline, this Skill uses worktree isolation for execution, creates remote backups, and performs pre-push integrity verification before aligning force-pushes across repositories. This controlled workflow prevents data loss during fleet-wide baseline updates.

Does dependency refresh and lockfile update happen before or after squashing git history?

Dependency refresh and lockfile updates happen before squashing git history into the signed initial commit. The Skill applies format, fix, type checks, and consistency verification prior to push, ensuring the new baseline includes fully updated dependencies and passes code quality passes.

Can I use worktree isolation to protect my local branches during a fleet-wide history reset?

Yes, you can use worktree isolation to protect local branches during a fleet-wide history reset. The Skill isolates operations in separate worktrees and creates remote backups before applying force-push alignment, ensuring safe recovery and preventing unintended branch corruption.