cw-worktree

Manage isolated Git worktrees for parallel feature development tasks.

14|1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/sighup/claude-workflow --skill cw-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cw-worktree
Source: https://github.com/sighup/claude-workflow/tree/main/skills/cw-worktree
Command: npx skills add https://github.com/sighup/claude-workflow --skill cw-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manage isolated git worktrees for parallel feature development.

Core Features & Use Cases

  • Create isolated worktrees for each feature with its own branch and task space
  • List, switch, and prune worktrees while keeping per-worktree configurations
  • Merge completed worktrees back into main after validation with safety checks
  • Automatic task isolation via per-worktree Claude settings to keep tasks scoped to the feature

Quick Start

Create a new feature worktree, then run claude inside its directory to start managing that feature.

Frequently Asked Questions about cw-worktree

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

FAQPage Schema
How do I use git worktrees for parallel feature development?

Git worktrees for parallel feature development allow you to create isolated working directories for each feature branch. This Skill manages the creation, listing, switching, and cleanup of these worktrees to enable simultaneous work on multiple specs.

Can I isolate task lists for each git worktree automatically?

Yes, you can isolate task lists for each git worktree automatically. The Skill applies per-worktree Claude settings to ensure that your tasks remain strictly scoped to the specific feature you are managing within that isolated worktree environment.

What is the best way to merge a completed git worktree back into main?

The best way to merge a completed git worktree back into main is through a controlled session workflow with clear safety checks. This Skill handles the merge process after validating the completed work to ensure safe integration.

Does this git worktree workflow support per-worktree configuration?

Yes, this git worktree workflow supports per-worktree configuration. When you list, switch, or prune worktrees across your features, the Skill preserves and maintains the isolated configuration settings for each individual worktree environment.

When do I need to prune git worktrees during feature management?

You need to prune git worktrees during feature management when isolated branches accumulate after completing parallel development. The Skill handles pruning while keeping your per-worktree configurations intact and ensuring safe cleanup across features.