cleanup-sweep

Community

Automate the cleanup of stale worktrees, branches, and stashes.

Authorsouliane
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of identifying and managing stale, lost, or abandoned worktrees, branches, and stashes in a codebase, reducing manual cleanup tasks and preventing data loss.

Core Features & Use Cases

  • Identify Stale Items: Automatically detects and lists worktrees, branches, and stashes that are not actively being worked on.
  • Decide Action: Offers guidance on whether to salvage unmerged work to a fresh PR, delete redundant items, or keep uncertain ones with a warning.
  • Execute Actions: Safely deletes or salvages items based on the user's decisions.
  • Use Case: Use this Skill when you need to regularly clean up a repository and remove old work that is no longer needed.

Quick Start

To start the cleanup process, use the 'cleanup-sweep' skill. For example, 't3:cleanup-sweep'.

Dependency Matrix

Required Modules

t3workspacerules

Components

scriptsreferences

💻 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: cleanup-sweep
Download link: https://github.com/souliane/teatree/archive/main.zip#cleanup-sweep

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 620,000+ vetted skills library on demand.