System Documentation

What problem does it solve?

It prevents risky or parallel feature development from interfering with your main branch or each other by isolating changes in dedicated git worktrees.

Core Features & Use Cases

  • Creates and manages isolated work environments: spins up a new worktree tied to a feature branch so execution happens in a separate directory.
  • Ensures non-destructive, safe operations: detects existing worktrees and reports status instead of duplicating; never forces destructive actions.
  • Supports safe lifecycle completion: guides merge and cleanup with user confirmation and uses documented worktree lifecycle rules.
  • Use Case: Start a large refactor or a parallel feature that could destabilize your main line; run the implementation steps in the worktree, then merge and clean up once verified.

Quick Start

Ask the agent to run 07-worktree to create an isolated worktree for a feature and report the worktree path so subsequent work can execute inside it.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 07-worktree
Download link: https://github.com/leing2021/super-pi/archive/main.zip#07-worktree

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.