worktree

Create isolated Git worktrees under .worktrees/ with automatic setup and baseline verification.

1|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/iamladi/cautious-computing-machine--primitives-plugin --skill worktree-iamladi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: worktree
Source: https://github.com/iamladi/cautious-computing-machine--primitives-plugin/tree/main/skills/worktree
Command: npx skills add https://github.com/iamladi/cautious-computing-machine--primitives-plugin --skill worktree-iamladi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing multiple feature workstreams in a single repo can pollute the main checkout and complicate setup. This Skill creates isolated git worktrees under .worktrees/ with automatic project initialization and baseline verification.

Core Features & Use Cases

  • Create isolated worktrees for new features without affecting the main workspace.
  • Automatically set up the new worktree (dependencies, environment) and verify baseline tests.
  • Ensure .worktrees/ is ignored and kept separate from main development.

Quick Start

Invoke the worktree skill with a feature branch name to spin up an isolated worktree.

Frequently Asked Questions about worktree

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

FAQPage Schema
How do I create an isolated git worktree for a new feature branch?▼

To create an isolated git worktree, this Skill automates the setup by generating a dedicated directory under .worktrees/ for your feature branch, ensuring the main checkout remains unaffected by separate workstreams.

What is the best way to manage multiple feature branches without polluting the main workspace?▼

Managing multiple feature branches is best handled by creating isolated git worktrees in a .worktrees/ area, which keeps separate workstreams distinct and prevents dependency conflicts in the main checkout.

Does setting up a new git worktree automatically install dependencies and verify the environment?▼

Yes, setting up a new git worktree with this Skill automatically executes environment checks, installs project dependencies, and performs baseline test verification to ensure a clean development context.

Can I use this worktree automation for my existing feature development workflow?▼

You can use this worktree automation for feature development workflows by invoking it with a feature branch name, which triggers worktree creation, environment validation, and baseline test checks.

How are isolated worktrees kept separate from main development?▼

Isolated worktrees are kept separate from main development by creating them under a dedicated .worktrees/ directory, which is automatically ignored to prevent interference with the primary workspace.