worktree-cleaner
Inventory the git worktrees of the current repository, classify each one with evidence (merged, PR state, uncommitted or unpushed work, locked, stale, in use by a running session) and remove them one at a time or by group, always asking the user first and verifying every removal. Use when worktrees have piled up (for example one per Claude Code task or thread), when `git worktree list` is long, or
Installer
Copiez ce dossier dans votre projet Claude Code (Node.js requis) :
npx degit davila7/claude-code-templates/cli-tool/components/skills/git/worktree-cleaner .claude/skills/worktree-cleanerOu installez-le pour tous vos projets :
npx degit davila7/claude-code-templates/cli-tool/components/skills/git/worktree-cleaner ~/.claude/skills/worktree-cleanerContenu du fichier
Créé par ses auteurs d'origine et partagé sous licence MIT. Nous l'affichons sans modification, avec crédit et lien vers la source. Source ↗
…