Install in seconds
Install this skill
Copy the command and run it in your terminal. You can review the source before installing.
terminal
git clone https://github.com/a5c-ai/babysitter

Works with Git. The repository opens in your current directory.

🌳
AutomationJavaScript

Worktree Isolation

by a5c-ai

Manage git worktree lifecycle for safe, isolated parallel development. Creates worktrees on feature branches, installs dependencies, merges or cleans up, and preserves failed worktrees.

1.6K stars94 forksAdded 2026/07/20
agent-orchestrationagent-skillsagentic-aiagentic-workflowai-agentsai-automationbabysitterclaude-codeclaude-code-skillsclaude-code-workflowsclaude-skillsclaude-workflowscodex-plugincodex-skillscodex-workflowhermes-pluginpi-extensiontrustworthy-aivibe-coding

Documentation

README

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/)
  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)