worktree-manager-skill

Manage git worktrees with automatic port isolation and per-worktree configuration.

2|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/eduardoarantes/claude-code-plugin-marketplace --skill worktree-manager-skill-eduardoarantes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-manager-skill
Source: https://github.com/eduardoarantes/claude-code-plugin-marketplace/tree/main/git-worktree-complete/skills/worktree-manager-skill
Command: npx skills add https://github.com/eduardoarantes/claude-code-plugin-marketplace --skill worktree-manager-skill-eduardoarantes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides end-to-end management for Git worktrees, including creation, listing, and removal, enabling teams to run multiple parallel branches safely.

Core Features & Use Cases

  • Lifecycle management: Create, list, and remove worktrees with automatic port isolation.
  • Status visibility: View which worktrees are running and their URLs.
  • Safe cleanup: Remove a worktree and clean up resources without touching other branches.

Quick Start

Ask the Skill to list current worktrees, then create or remove a worktree using the appropriate commands (e.g., /list_worktrees_prompt, /create_worktree_prompt <branch>, /remove_worktree_prompt <branch>).

Frequently Asked Questions about worktree-manager-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage multiple Git worktrees in parallel?

Git worktrees enable parallel development by creating isolated branch environments. This Skill automates worktree creation, listing, and removal with automatic port isolation and per-worktree configuration, so you can safely run multiple branches simultaneously without resource conflicts.

How do I create a new worktree with automatic port assignment?

Use the /create_worktree_prompt command with a branch name. The Skill automatically assigns unique ports, installs dependencies, generates isolated .env and settings.json files, and starts services for that worktree without affecting others.

What happens when I remove a worktree?

The /remove_worktree_prompt command deletes the worktree and cleans up its isolated resources—ports, environment files, and services—without touching other branches or their configurations.

Can I see the status and URLs of all running worktrees?

Use /list_worktrees_prompt to view all active worktrees, their assigned ports, and running URLs. This gives you full visibility into which branches are deployed and how to access them.

Do worktrees provide true isolation between parallel branches?

Yes. Each worktree runs in isolation with dedicated ports, environment variables, and service instances. This prevents port conflicts and configuration collisions when running multiple branches concurrently.

Related Skills