worktree-safe-remove

Community

Safely prune worktrees without losing local data.

Authorbarikata1984
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Safely delete a worktree by validating the presence of important data in data/local before deletion, while keeping data/shared intact via the main repository symlink.

Core Features & Use Cases

  • Check data/local for critical files before removing a worktree.
  • Warn users about potential data loss and offer safe alternatives.
  • Preserve data/shared via symlink to the main repository across all worktrees.

Quick Start

Run the safe-remove wrapper with the target worktree path to safely delete that worktree.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: worktree-safe-remove
Download link: https://github.com/barikata1984/.agent/archive/main.zip#worktree-safe-remove

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.