Remove Worktree — Git skill for Claude Code
Remove a specific worktree cleanly (directory + git reference + branch).
How to install Remove Worktree
Installs to ~/.claude/commands/florianbruniaux-cc-sessions-remove-worktree.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/FlorianBruniaux/cc-sessions/HEAD/.claude/commands/remove-worktree.md -o ~/.claude/commands/florianbruniaux-cc-sessions-remove-worktree.md Restart Claude Code, or start a new session, for it to be picked up.
What Remove Worktree does
Remove a specific worktree cleanly (directory + git reference + branch).
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Local Review — You are tasked with setting up a local review environment for a colleague's branch 10k ★
- Fullstack Dev Skills — by jeffallan - A comprehensive Claude Code plugin with 65 specialized skills covering full-stack development a 7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Context Repo
A git repo scoped to a subject instead of a codebase: runbooks, reference docs, inventories, and skills for on
Worktree Rm
Remove a git worktree and optionally delete its branch
Git Worktree
Manage git worktrees — create, list, remove, parallel branch development
Remove Worktree Prompt
Remove a git worktree, delete its branch, and stop its running services
Hybrid Complete
Complete Hybrid Ralph task in worktree, verify all stories complete, commit code changes (excluding planning f
Remove Branch
Remove a branch and its associated worktree.
Related Agents
Refactor Agent
Large-scale refactoring specialist. Use for renames touching 10 files, API shape changes, directory reorganiza
GitOps
Git operations specialist. MUST BE USED for branch management, conflict resolution, git history analysis, work
Git Workflow Specialist
Use this agent for git workflow management, branch strategies, commit hygiene, and git worktree operations. Th