using-git-worktrees

Create isolated Git worktrees with setup, baseline tests, and VSCode.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/lyraarteltda/MEGA-BRAIN-JARVIS-v2 --skill using-git-worktrees-lyraarteltda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/lyraarteltda/MEGA-BRAIN-JARVIS-v2/tree/main/.fnd/skills/using-git-worktrees
Command: npx skills add https://github.com/lyraarteltda/MEGA-BRAIN-JARVIS-v2 --skill using-git-worktrees-lyraarteltda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill creates isolated Git worktrees for feature development, ensuring your main workspace remains clean and stable while you work on new features.

Core Features & Use Cases

  • Isolated Workspaces: Develop features in separate directories without affecting your current work.
  • Smart Directory Selection: Automatically finds or prompts for the best location for new worktrees.
  • Safety Verification: Ensures .gitignore is correctly configured before creating project-local worktrees.
  • Automated Setup: Runs project-specific setup commands (npm, cargo, pip, go) and baseline tests.
  • VSCode Integration: Opens a new VSCode window within the created worktree for seamless development.

Quick Start

Use the using-git-worktrees skill to create an isolated workspace for the new authentication feature.

Frequently Asked Questions about using-git-worktrees

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

FAQPage Schema
How do I isolate feature development with git worktrees in VSCode?

To isolate feature development with git worktrees, this skill creates separate directories, runs automated project setup and baseline tests, and opens a dedicated VSCode instance within the new worktree.

What is the best way to manage git branch isolation without affecting my main workspace?

Git branch isolation through worktrees keeps your main workspace stable by developing features in separate directories, using smart directory selection and safety verification for project-local storage.

How does git worktree setup handle project dependencies and baseline testing?

Git worktree setup automates project-specific dependency installation using npm, cargo, pip, or go, and executes baseline tests within the newly created worktree before launching VSCode.

Do I need to configure .gitignore before creating project-local git worktrees?

Yes, you need .gitignore validation before creating project-local git worktrees, as this safety verification step ensures your directory configuration is correct and prevents repository conflicts.

Can I use git worktrees for global and project-local storage simultaneously?

You can use git worktrees for both global and project-local storage, with the skill automatically handling directory selection and performing safety verification specifically for project-local configurations.