Skip to main content
ClaudeWave
Skill1.3k repo starsupdated today

worktree-isolation

This Claude Code skill automates git worktree creation and management to enable isolated parallel development branches. Use it when developing multiple features simultaneously on the same project to maintain separate working directories, automatically install dependencies, and safely merge or preserve worktrees based on completion status.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/worktree-isolation && cp -r /tmp/worktree-isolation/library/methodologies/automaker/skills/worktree-isolation ~/.claude/skills/worktree-isolation
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Worktree Isolation

Manage git worktree lifecycle for safe, isolated parallel development.

## Agent
Worktree Manager - `automaker-worktree-manager`

## Workflow
1. Create new branch from base (feature/<id>)
2. Set up git worktree in .worktrees/ directory
3. Verify worktree isolation
4. Install dependencies in worktree
5. After completion, merge or preserve worktree
6. Clean up merged worktrees, preserve failed ones

## Inputs
- `projectName` - Project name
- `featureId` - Feature identifier
- `baseBranch` - Base branch for worktree creation

## Outputs
- Worktree path, branch name, isolation status

## Process Files
- `automaker-orchestrator.js` - Phase 3 (setup) and cleanup
- `automaker-agent-execution.js` - Stage 1
- `automaker-review-ship.js` - Stage 3 (merge)