スキル一覧に戻る
michael-menard

wt-prune

by michael-menard

a monorepo architecture

0🍴 0📅 2026年1月12日
GitHubで見るManusで実行

SKILL.md


name: wt-prune description: Clean up stale git worktree references and metadata. Use when git shows worktrees that no longer exist, or after manually deleting worktree directories. Fixes inconsistencies.

/wt:prune - Prune Stale Worktree References

Description

Quick command to clean up stale worktree administrative files and references.

Usage

/wt:prune

What It Does

This slash command:

  1. Runs git worktree prune to remove stale worktree metadata
  2. Cleans up references to worktrees that no longer exist on disk
  3. Shows what was cleaned up

When to Use

Use /wt:prune when:

  • You manually deleted a worktree directory (without using git commands)
  • Git shows worktrees that don't actually exist anymore
  • You want to clean up orphaned worktree references
  • After moving or renaming worktree directories

Workflow

The command will:

  1. Check for stale references - Find worktrees that don't exist on disk
  2. Show what will be pruned - List stale references
  3. Run prune command - Execute git worktree prune
  4. Confirm cleanup - Show what was removed

Benefits

Clean Metadata - Removes orphaned references ✅ Fix Inconsistencies - Resolves git worktree list issues ✅ Safe Operation - Only removes references, not actual files ✅ Quick Fix - Solves common worktree problems

Notes

  • This command is safe - it only removes metadata, not actual files
  • If you manually deleted a worktree directory, this cleans up git's records
  • Different from /wt:cleanup which removes actual worktrees
  • Automatically run as part of /wt:cleanup

スコア

総合スコア

45/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

0/5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です