cleanup-stashes

Community

Safely prune git stashes with an approval script.

Authorsburl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Review and selectively drop git stashes. Lists all stashes with branch, age, and file summary. Flags stashes whose branch no longer exists (orphaned work) or has been merged to main (likely superseded), and stashes older than 14 days (likely forgotten). Generates a drop script for user approval — never drops stashes directly.

Core Features & Use Cases

  • List and categorize stashes by branch existence, merge status, and age
  • Produce a safety-first drop script for user approval
  • Safely manage stash lifecycle across local repos without permanent drops

Quick Start

Run /cleanup-stashes to generate a full analysis and a ready-to-run drop script for approval.

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

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.