Loading...
Loading...
Create one or more git worktrees for parallel development, each on its own branch with gitignored config copied in, dependencies installed, and a health check, by fanning out a setup subagent per worktree. Use when starting isolated parallel work, running several PIV loops at once, or when the user says "set up worktrees", "create a worktree", "spin up parallel branches", or invokes /worktree-create.
npx skill4agent add coleam00/skills worktree-create$ARGUMENTSreferences/worktree-setup.md.worktreeincludeworktrees/<branch>base + indexBRANCHPORTSet up a git worktree for branch: BRANCH (assigned port: PORT, only relevant if you start a service)
Follow the checklist in .claude/skills/worktree-create/references/worktree-setup.md. Concretely:
1. Create the worktree off the base branch: git worktree add worktrees/BRANCH -b BRANCH
2. Copy the gitignored config/secrets the project needs into worktrees/BRANCH
(the env/config files detected for this repo; verify each with `git check-ignore` before copying).
3. Install dependencies with the project's detected package manager (every package, for a monorepo).
4. Run any generate/build step the app needs to boot (skip if none).
5. Verify: run the detected health check (start + hit the health endpoint on PORT if there is one,
else a build/typecheck/test smoke). Then stop any server you started.
Report exactly: worktree path · branch · deps installed (yes/no) · health check (PASS/FAIL) · any errors.N worktree(s) readygit worktree remove worktrees/<branch>references/worktree-setup.md