Worktree Rm
Description
--- description: Remove a git worktree and optionally delete its branch argument-hint: "<name>" --- # Remove Git Worktree Remove an existing worktree. Arguments: $ARGUMENTS ## Instructions ### 1. Parse Arguments Extract **name** from `$ARGUMENTS`. If empty, abort: ``` Error: Name required. Usage: /worktree-rm <name> Tip: Run /worktree-ls to see active worktrees. ``` Validate that **name** starts with a letter or digit, followed by `[a-zA-Z0-9._-]`. If it starts with `-` or contains invalid
Installation
Installs to ~/.claude/commands/igerber-diff-diff-worktree-rm.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/igerber/diff-diff/HEAD/.claude/commands/worktree-rm.md -o ~/.claude/commands/igerber-diff-diff-worktree-rm.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git