worktree-spawn

Automates git worktree creation and integrates them into VS Code workspaces via CrewChief CLI and workspace-folder.sh script.

Updated Nov 9, 2025
One-click install
npx skills add https://github.com/manifoldlogic/claude-code-plugins --skill worktree-spawn-manifoldlogic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-spawn
Source: https://github.com/manifoldlogic/claude-code-plugins/tree/main/plugins/worktree/skills/worktree-spawn
Command: npx skills add https://github.com/manifoldlogic/claude-code-plugins --skill worktree-spawn-manifoldlogic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires crewchief, workspace-folder.sh, jq, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of git worktrees using the CrewChief CLI and seamlessly integrates them with the VS Code workspace, streamlining the development workflow for complex projects.

Core Features & Use Cases

  • Automated Worktree Creation: Generates git worktrees from the command line, ensuring consistent workflow management.
  • VS Code Workspace Integration: Adds the created worktree to the VS Code workspace file for immediate access.
  • Naming Rules: Enforces precise naming conventions to ensure consistency and clarity across worktrees.

Quick Start

Create a worktree named 'feature-x' from the 'main' branch and integrate it into your VS Code workspace.

crewchief worktree create feature-x --repo <repository> --branch main
workspace-folder.sh add repos/<repository>/feature-x --name "<repository> (feature-x)"

Frequently Asked Questions about worktree-spawn

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

FAQPage Schema
How do I create a git worktree and add it to my VS Code workspace?

To create a git worktree and add it to your VS Code workspace, you can use the CrewChief CLI to generate the worktree from a specific branch and then run the workspace-folder.sh script to integrate the new directory into your workspace file for immediate access.

What is the best way to automate feature branching with git worktrees?

Automating feature branching with git worktrees is best handled by using the CrewChief CLI to automatically generate the worktree directories while enforcing precise naming conventions, ensuring consistency and clarity across your development workflow.

Does the worktree-spawn Skill require any specific dependencies to function?

Yes, the worktree-spawn Skill requires the CrewChief CLI, the workspace-folder.sh script, and jq to properly automate git worktree creation and integrate the resulting directories into your VS Code workspace file.

Can I use CrewChief to manage worktrees for multiple repositories?

Yes, you can use CrewChief to manage worktrees for multiple repositories by specifying the target repository and base branch in the creation command, which generates the worktree and integrates it into your VS Code workspace.

Why enforce naming rules when creating git worktrees?

Enforcing naming rules when creating git worktrees ensures consistency and clarity across your feature branches, which helps maintain an organized development workflow when managing multiple worktrees within a single VS Code workspace.