Git Worktree Manager Claude Skill
The Git Worktree Manager Claude skill is part of the alirezarezvani/claude-skills repo on GitHub. Run parallel feature work safely with Git worktrees.
See all 388 skills by Alireza Rezvani in alirezarezvani/claude-skills.
What It Does
Run parallel feature work safely with Git worktrees. Standardizes branch isolation, port allocation, environment sync, and cleanup so each worktree behaves like an independent local app. Optimized for multi-agent workflows where each agent or terminal session owns one worktree. It standardizes branch isolation, port allocation, environment sync, and cleanup so each worktree behaves like an independent local app without stepping on another branch. This skill is optimized for multi-agent workflows where each agent or terminal session owns one worktree.
This quote comes from the skill's SKILL.md.
When To Use It
- You need 2+ concurrent branches open locally
- You want isolated dev servers for feature, hotfix, and PR validation
- You are working with multiple agents that must not share a branch
- Your current branch is blocked but you need to ship a quick fix now
- You want repeatable cleanup instead of ad-hoc rm -rf operations
Install
git clone --depth 1 https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills mkdir -p ~/.claude/skills/ cp -r /tmp/claude-skills/engineering/skills/git-worktree-manager ~/.claude/skills/git-worktree-manager
The command copies the skill from the author's repo. SkillTrove does not host it.
Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.
Files
- README.md (1.3 KB)
- SKILL.md (6.7 KB)
- references/docker-compose-patterns.md (1.1 KB)
- references/port-allocation-strategy.md (1.0 KB)
- scripts/worktree_cleanup.py (6.5 KB)
- scripts/worktree_manager.py (8.4 KB)
We last checked this skill against its source on 2026-10-13.
Questions
How Do I Install This Skill?
Copy the engineering/skills/git-worktree-manager folder from https://github.com/alirezarezvani/claude-skills into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/git-worktree-manager. The install block on this page has the full commands for each agent.
What License Does This Skill Use?
The license listed for this skill is MIT. Read the license in the source repo before you reuse it.
Where Is The Source For This Skill?
The source is on GitHub at https://github.com/alirezarezvani/claude-skills/tree/main/engineering/skills/git-worktree-manager. It is part of the alirezarezvani/claude-skills repo.
Related Skills
Linkedin Strategy
Use when someone needs a LinkedIn plan rather than a post - content pillars, positioning for a career change or consulting or thought leadership, a sustain...
Partnerships Architect
Use when a startup is approached by a prospective partner and someone has to decide should we sign this partner, at what partner tier (referral / reseller / ...
Vendor Management
Use when reviewing, scoring, or auditing third-party SaaS / vendor relationships - running a vendor scorecard with industry tuning, tracking SLA compliance...
Weekly Review
Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed r...
Receiving Code Review
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technic...
Using Git Worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists vi...
More by Alireza Rezvani: hivemind, internal-comms, iso42001-specialist