create-worktree

Create and bootstrap a git worktree with configurable base branch and optional spec copying.

11|2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Viniciuscarvalho/Feature-marker --skill create-worktree-viniciuscarvalho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-worktree
Source: https://github.com/Viniciuscarvalho/Feature-marker/tree/main/feature-marker-dist/feature-marker/resources/spec-workflow/skills/create-worktree
Command: npx skills add https://github.com/Viniciuscarvalho/Feature-marker --skill create-worktree-viniciuscarvalho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create and bootstrap a git worktree for isolated development and parallel feature work without disturbing the main workspace.

Core Features & Use Cases

  • Parallel worktrees: create multiple isolated worktrees bound to separate branches for concurrent feature development.
  • Base & spec options: specify a base branch and optionally copy a spec file into the worktree's specs directory.
  • Bootstrap hook support: run an optional onBootstrap hook after creation with environment variables for setup.

Quick Start

Run the create-worktree command with a name to bootstrap a new isolated worktree.

Frequently Asked Questions about create-worktree

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

FAQPage Schema
How do I create isolated git worktrees for parallel feature development?

To create isolated git worktrees for parallel feature development, use a tool that bootstraps a new worktree bound to a separate branch, allowing concurrent work without disturbing your main workspace.

Can I specify a base branch when creating a git worktree?

Yes, you can specify a configurable base branch when creating a git worktree. The worktree creation process supports selecting a specific starting branch to build your isolated development environment upon.

How do I copy spec files into a new git worktree during setup?

To copy spec files into a new git worktree, use the optional spec file handling feature during worktree creation. This automatically copies your specification files into the worktree's specs directory.

Can I run a bootstrap hook to set up my git worktree environment?

Yes, you can run an optional onBootstrap hook after creating your git worktree. This hook receives environment variables during setup to automate dependency installation or configuration tasks.

What is the best way to manage multiple isolated development branches without switching context?

Using git worktrees is the best way to manage multiple isolated development branches. Worktrees let you maintain separate branch-specific contexts in different directories, enabling parallel workstreams without constant context switching.