use-worktree

Create and manage git worktrees to isolate feature development.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/n0rvyn/indie-toolkit --skill use-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-worktree
Source: https://github.com/n0rvyn/indie-toolkit/tree/main/dev-workflow/skills/use-worktree
Command: npx skills add https://github.com/n0rvyn/indie-toolkit --skill use-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use-worktree provides a clean isolation layer for feature development by creating and managing a separate git worktree, helping avoid clutter in the main workspace.

Core Features & Use Cases

  • Create and manage a dedicated worktree for feature development.
  • Seamlessly switch context between worktrees and the main branch.
  • Automate basic environment setup for common toolchains within the isolated worktree.

Quick Start

Create a new worktree for your feature branch and begin isolated development.

Frequently Asked Questions about use-worktree

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

FAQPage Schema
How do I isolate feature development to keep my main git workspace clean?

Git worktrees isolate feature development by creating separate working directories, keeping the main branch clean. This prevents file clutter and context switching disruptions when starting new features or experiments.

Does git worktree workflow support Node.js, Rust, Python, Go, and iOS projects?

Git worktree workflows support Node.js, Rust, Python, Go, and iOS/Swift projects. The setup includes basic environment automation for these common toolchains within the isolated worktree directory.

How do I set up a new git worktree for a feature branch?

Setting up a git worktree involves creating a dedicated directory for the feature branch and running basic environment setup. Directory preference logic and safety checks for ignored paths ensure correct project initialization.

What's the best way to manage multiple git worktrees without disrupting the primary branch?

Managing multiple git worktrees requires dedicated directory creation with safety checks for ignored paths. This isolation layer prevents disruption to the primary branch while allowing seamless context switching between active features.

Why does my git worktree path get ignored during feature branch setup?

Git worktree paths may be ignored due to directory preference logic and safety checks. The system validates worktree paths against ignored configurations to prevent accidental inclusion of unwanted files in the isolated environment.

Can I automate environment setup when creating a git worktree for development?

Git worktree creation automates basic environment setup for common toolchains within the isolated directory. This baseline workflow ensures the new worktree is ready for immediate feature development across supported project types.