create-git-worktree - Create an isolated Git worktree from a requirement
Creates an isolated Git worktree from a user requirement, copies included files, runs initialization, locks it, records state, and moves the session into it.
Tags
Updated: 2026-11-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Read workflow configuration
- Validate setup artifacts
- Derive canonical names
- Run preflight checks
- Create linked worktrees
- Copy included files
- Run initialization scripts
- Lock worktrees
- Record worktree state
- Move session working directory
Inputs
- User requirement
- Primary worktree
- AGENTS.md
- Workflow document
- Workflow configuration
- Git repository
- .worktreeinclude file
- Initialization scripts
- Base reference
- Integration branch
Outputs
- Linked Git worktree
- Matching Git branch
- Copied local files
- Initialized project
- Locked worktree
- Recorded worktree state
- Updated session working directory
Requirements
- Git 2.17 or later
- Completed worktree setup
- Write access to storage root
- Write access to Git directory
- Setup workflow
