safehouse-worktrees

Create and manage isolated git worktrees with safety checks.

71|9|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/kucherenko/gangsta --skill safehouse-worktrees
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safehouse-worktrees
Source: https://github.com/kucherenko/gangsta/tree/main/skills/safehouse-worktrees
Command: npx skills add https://github.com/kucherenko/gangsta --skill safehouse-worktrees

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git worktrees enable isolated operational bases that share the same repository, allowing concurrent feature work without polluting the main workspace.

Core Features & Use Cases

  • Create and manage isolated worktrees that operate on separate branches while reusing the same repository
  • Enforce safety checks by ensuring worktrees are ignored in gitignore to prevent leakage into the main history
  • Auto-detect project context and initialize language/tooling setup for diverse projects

Quick Start

Set up a safehouse by detecting an existing worktree, selecting a preferred location, creating a new worktree, and verifying a clean baseline before development.

Frequently Asked Questions about safehouse-worktrees

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

FAQPage Schema
How do I set up isolated git worktrees for feature development?

To set up git worktrees, you create separate operational bases sharing the same repository. This skill automates safehouse creation by selecting a location, validating gitignore rules, and loading project-specific setup commands for a clean baseline.

Why do git worktrees need to be ignored in gitignore?

Git worktrees require gitignore validation to prevent workspace leakage into main repository history. Enforcing safety checks ensures your isolated feature branches do not pollute the primary project workspace with unintended directory tracking.

Can I manage multiple isolated workspaces across different project environments?

Yes, you can manage multiple isolated workspaces across environments. The system auto-detects project context and initializes language or tooling setup, allowing diverse projects to operate on separate branches while reusing the same repository.

What is the best way to automate git worktree creation safely?

The best way to automate git worktree creation is by validating a clean baseline before development. This skill selects a preferred location like a local .worktrees directory or global path, applying cross-environment safety checks automatically.

Do I need to manually configure setup commands for each git worktree?

No, you do not need to manually configure setup commands for each git worktree. The system auto-detects your project context and loads the appropriate project-specific setup commands to initialize the isolated workspace automatically.