الرئيسية / المهارات / davila7/claude-code-templates

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

skillالترخيص: MIT المصدر: davila7/claude-code-templates

التثبيت

انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):

npx degit davila7/claude-code-templates/cli-tool/components/skills/git/worktree-cleaner .claude/skills/worktree-cleaner

أو ثبّته لكل المشاريع:

npx degit davila7/claude-code-templates/cli-tool/components/skills/git/worktree-cleaner ~/.claude/skills/worktree-cleaner

محتوى الملف

من إنشاء مؤلفيه الأصليين ومنشور بترخيص MIT. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗

…