create-worktree-skill

Create isolated git worktrees with per-worktree environments and port offsets.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/larus-peritus/pel_web --skill create-worktree-skill-larus-peritus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-worktree-skill
Source: https://github.com/larus-peritus/pel_web/tree/main/.claude/skills/create-worktree-skill
Command: npx skills add https://github.com/larus-peritus/pel_web --skill create-worktree-skill-larus-peritus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill creates isolated git worktrees to enable parallel development without branch conflicts, providing each worktree its own environment.

Core Features & Use Cases

  • Creates isolated git worktrees for parallel development with independent ports, databases, and configuration.
  • Supports per-worktree environments to enable simultaneous work on multiple branches.
  • Scales to manage multiple branches with automated setup and clean teardown.

Quick Start

Use this Skill to create a new worktree by specifying a branch name and an optional port offset.

Examples:

  • /create_worktree_prompt feature-auth
  • /create_worktree_prompt feature-auth 2

The command creates a new worktree at trees/<branch-name>, configures isolated ports, and sets up per-worktree resources.

Frequently Asked Questions about create-worktree-skill

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

FAQPage Schema
How do I create isolated git worktrees for parallel development?

Create isolated git worktrees for parallel development by using a slash-command workflow that specifies a branch name and an optional port offset. This automates setup and configures per-worktree resources at trees/<branch-name>.

What are git worktrees used for when working on multiple feature branches?

Git worktrees are used to enable parallel development across multiple branches without conflicts. They allow you to work on feature branches or hotfix iterations simultaneously by providing each branch its own isolated environment.

How do I manage independent ports and databases for parallel git branches?

Manage independent ports and databases for parallel branches by configuring per-worktree environments. The setup process applies an optional port offset to isolate resources, preventing conflicts when running multiple branches at once.

Can I automate the setup of parallel development environments without manual port configuration?

Yes, you can automate the setup of parallel development environments without manual port configuration. The Skill configures isolated ports and per-worktree resources automatically based on the branch name and an optional port offset argument.

What is the best way to switch between feature branches without stashing current changes?

The best way to switch between feature branches without stashing changes is creating isolated git worktrees. This approach scales to manage multiple branches simultaneously, providing independent directories and configurations for each task.