Skip to main content
Run any Skill in Manus
with one click

remove-worktree

Stars1
Forks0
UpdatedJune 28, 2026 at 14:36

清理 git worktree。默认检查分支是否已合并到 main,确认安全后才删除。 支持参数:--force(跳过合并检查,强制清理)、--skip-sync(跳过同步其他 worktree)。 当用户说\"删除worktree\"、\"remove worktree\"、\"清理worktree\"、\"清理分支\"、\"删除分支\"、 \"remove-worktree\"、\"清理工作区\"时使用此 skill。即使用户只是说\"这个分支不要了\"或 \"帮我清理一下\",也应考虑触发此 skill。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly