worktree-init

Generate a deterministic .automaker/worktree-init.sh that bootstraps feature worktrees with environment setup and dependency installation.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/jbactad/claude-plugins --skill worktree-init-jbactad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-init
Source: https://github.com/jbactad/claude-plugins/tree/main/automaker-skills/skills/worktree-init
Command: npx skills add https://github.com/jbactad/claude-plugins --skill worktree-init-jbactad

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Creating new feature worktrees manually requires crafting consistent bootstrap logic for each branch, leading to configuration drift and slow onboarding.

Core Features & Use Cases

  • Generates a tailored .automaker/worktree-init.sh that bootstraps development environments for new worktrees by detecting the project type and relevant settings.
  • Ensures idempotent, secure initialization with restricted secret exposure and safe defaults suitable for per-branch isolation.
  • Ideal for monorepos and feature isolation workflows, enabling automated dependency installation and environment setup across multiple projects.

Quick Start

Request a per-worktree init script for a new feature branch to bootstrap your development environment.

Frequently Asked Questions about worktree-init

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

FAQPage Schema
How do I automate git worktree initialization for a new feature branch?

Automate git worktree initialization by generating a deterministic bootstrap script that sets up per-branch environments, installs dependencies, and applies safe defaults for feature isolation.

Why does manual worktree setup cause configuration drift in monorepos?

Manual worktree setup causes configuration drift because crafting consistent bootstrap logic for each branch individually leads to divergent environments and slow onboarding across monorepos.

Does the generated worktree bootstrap script support automatic package manager and runtime detection?

Yes, the generated worktree bootstrap script supports automatic detection of package managers, runtimes, environment files, and optional migrations to ensure deterministic environment setup.

What is the best way to ensure idempotent environment setup across isolated feature worktrees?

The best way to ensure idempotent environment setup is to generate a tailored initialization script with restricted secret exposure and safe defaults suitable for per-branch isolation.

Can I run database migrations automatically when bootstrapping a new git worktree?

Yes, you can run database migrations automatically as the initialization script detects optional migrations alongside package managers and environment files during the worktree bootstrap process.