garbage-collect

Community

Safely archive files before deletion.

Authorsburl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cleaning up files without losing history can be risky and error-prone. This skill provides a safe workflow to move unwanted files into a /garbage folder while preserving git history, enabling auditability and reversible cleanup.

Core Features & Use Cases

  • Move to garbage with history preserved: Archive files or directories by relocating them to a dedicated garbage folder while retaining their git history.
  • Validation & auditing steps: Verify whether items exist in history with git log and ensure references are clean before deletion.
  • Project hygiene automation: Update .gitignore for the garbage folder, and support batch cleanup workflows for multiple files.

Quick Start

Create the garbage folder if it doesn't exist, then move the target file or directory into garbage.

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: garbage-collect
Download link: https://github.com/sburl/CrossCheck/archive/main.zip#garbage-collect

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.