n-worktree

Automate git-worktree creation and management for parallel development workflows.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/vitaliytv/7n --skill n-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n-worktree
Source: https://github.com/vitaliytv/7n/tree/main/.pi/skills/n-worktree
Command: npx skills add https://github.com/vitaliytv/7n --skill n-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing multiple git branches simultaneously often leads to context switching overhead and potential file conflicts, which this skill resolves by automating the creation of isolated workspaces.

Core Features & Use Cases

  • Isolated Workspaces: Automatically generates dedicated directories for specific branches using git-worktree.
  • Inventory Management: Maintains an inventory file to track and manage active worktrees efficiently.
  • Use Case: Developers can work on a feature branch and a hotfix branch concurrently without needing to stash changes or perform full repository checkouts.

Quick Start

Ask the assistant to initialize a new worktree for the specified branch name using the n-worktree skill.

Frequently Asked Questions about n-worktree

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

FAQPage Schema
How do I manage git worktrees for parallel development without stashing changes?

The n-worktree skill automates git worktree creation to isolate branch-specific workspaces. It maintains an inventory file to track active worktrees, enabling parallel development workflows without stashing changes or performing full repository checkouts.

What is the best way to isolate git branches in separate directories?

Using git-worktree automatically generates dedicated directories for specific branches within a structured hierarchy. This isolation prevents file conflicts and reduces context switching overhead when handling multiple branches simultaneously.

Do I need the n-cursor CLI tool to automate worktree management?

Yes, automating worktree management requires the n-cursor CLI tool and git. The n-cursor CLI executes repository-level operations to create worktree environments and maintain inventory tracking for active branches.

How does inventory tracking work for active git worktrees?

Inventory tracking maintains a file to track and manage active git worktrees efficiently. This records isolated workspaces created for parallel development, preventing lost worktrees and simplifying branch-specific workspace management.

Can I initialize a git worktree using an AI assistant?

Yes, you can ask the assistant to initialize a new worktree for a specified branch name. The skill automates the git-worktree setup process, creating an isolated directory for your parallel development workflow.