Git Worktree — Git skill for Claude Code
Manage git worktrees — create, list, remove, parallel branch development.
How to install Git Worktree
Installs to ~/.claude/skills/hmj1026-dhpk-git-worktree/SKILL.md
mkdir -p ~/.claude/skills/hmj1026-dhpk-git-worktree && curl -fsSL https://raw.githubusercontent.com/hmj1026/dhpk/HEAD/commands/git-worktree.md -o ~/.claude/skills/hmj1026-dhpk-git-worktree/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Git Worktree does
description: 'Manage git worktrees — create, list, remove, parallel branch development' argument-hint: '[add|list|remove|prune] [--branch ] [--base ]' allowed-tools: 'Bash(git:*), Read, Grep, Glob' metadata: dhpk-invocation-class: implicit-eligible
Contract
Use for worktree lifecycle operations; do not remove or prune a worktree without confirmation. See the [command contract](../docs/agent-guidance/command-contract.md). Stop when a branch/path is missing or dirty; comp
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
- Parallel Workflows — Parallel Workflows with Git Worktrees 1.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Manage Worktrees
List, create, clean up, and manage git worktrees across all project repositories
Worktree Ls
List all active git worktrees with status
Polydev
Polydev is an agent orchestration toolkit for running parallel development work with Git worktrees and termina
Worktree Rm
Remove a git worktree and optionally delete its branch
Remove Worktree
Remove a specific worktree cleanly (directory + git reference + branch)
Remove Worktree Prompt
Remove a git worktree, delete its branch, and stop its running services
Related Agents
Purpose
You are a git worktree creation specialist. Your sole responsibility is to create a properly configured worktr
Git Workflow Specialist
Use this agent for git workflow management, branch strategies, commit hygiene, and git worktree operations. Th
Orra
Orra — standing AI orchestrator for multi-worktree development. Rides on the Claude Code Agents View. Scans wo