worktree

Create isolated Git worktrees with automated setup and baseline testing.

10|2|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/raddue/crucible --skill worktree-raddue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree
Source: https://github.com/raddue/crucible/tree/main/skills/worktree
Command: npx skills add https://github.com/raddue/crucible --skill worktree-raddue

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a robust and safe way to create isolated development environments using Git worktrees, ensuring that new feature development doesn't interfere with the main codebase and is properly set up.

Core Features & Use Cases

  • Isolated Workspaces: Create separate, clean directories for new features or tasks without affecting your current working directory.
  • Smart Directory Selection: Automatically determines the best location for new worktrees based on project conventions or user preference.
  • Safety Verification: Ensures that project-local worktree directories are ignored by Git to prevent accidental commits.
  • Automated Setup: Detects project type (Node.js, Rust, Python, Go) and runs necessary dependency installations and builds.
  • Baseline Testing: Verifies that the new worktree starts from a clean, passing state by running project tests.

Quick Start

Use the worktree skill to create an isolated workspace for the 'new-feature' branch.

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 feature branch development?

To create an isolated Git worktree, the skill prioritizes directory selection, enforces safety checks for ignored directories, and automates project-specific setup to ensure a clean environment for concurrent feature branch development.

What is the best way to manage isolated development environments for concurrent Git tasks?

Managing isolated development environments is achieved by using Git worktrees to create separate directories for new features, preventing interference with the main codebase during concurrent development tasks.

Does Git worktree setup automatically install dependencies for Node.js, Rust, Python, or Go projects?

Git worktree setup automatically detects Node.js, Rust, Python, and Go project types, running necessary dependency installations and builds to prepare the isolated development environment.

How do I verify a new Git worktree starts from a clean passing state?

To verify a clean passing state, the worktree setup runs baseline testing against your project, ensuring the new isolated directory starts from a reliable baseline before feature development begins.

Why should project-local Git worktree directories be ignored by Git?

Project-local Git worktree directories must be ignored by Git to enforce safety verification, preventing accidental commits of the isolated workspaces into your main codebase repository.

Can I use Git worktrees without affecting my current working directory?

Yes, Git worktrees create separate, clean directories for new features or tasks, ensuring your current working directory remains unaffected during concurrent development.