git-clean-worktrees
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements a robust safety framework for managing Git worktrees. It correctly identifies and protects the main repository root, performs three levels of verification (merged status, diff comparison, and file-level status) before suggesting removal, and explicitly warns against removing unmerged work without user confirmation. The use of
git worktree remove --forceis technically necessary for this specific use case and is gated by prior validation steps.
Audit Metadata