.claude/skills/speckit-worktree-create/SKILL.md
Spawn an isolated git worktree for a new or existing feature branch
npx skillsauth add pradeepmouli/zod-to-form speckit-worktree-createInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Spawn an isolated git worktree for a feature branch so you can work on multiple features in parallel without switching branches. Each worktree gets its own directory with a full working copy.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty). The user may specify a branch name (e.g., "003-user-auth") or "current" to create a worktree for the current branch.
.specify/ directoryDetermine target branch: Identify which feature branch to create a worktree for:
Choose worktree location: Determine the worktree directory path:
.worktrees/{branch-name}/ relative to the repository root.worktrees/ directory does not exist, create it.worktrees/ to .gitignore if not already presentCreate the worktree: Execute the git worktree command:
git worktree add .worktrees/{branch-name} {branch-name}git worktree add .worktrees/{branch-name} -b {branch-name} origin/{branch-name}Verify spec artifacts: Check that the worktree has access to spec artifacts:
specs/{branch-name}/ directory exists in the worktreeReport: Output a summary:
# Worktree Created
| Field | Value |
|-------|-------|
| **Branch** | {branch-name} |
| **Worktree path** | .worktrees/{branch-name}/ |
| **Spec artifacts** | spec.md ✅, plan.md ✅, tasks.md ❌ |
## Next Steps
- `cd .worktrees/{branch-name}/` to work in the isolated worktree
- Run `/speckit.implement` inside the worktree to build the feature
- Run `/speckit.worktree.list` to see all active worktrees
- When done, run `/speckit.worktree.clean` to remove the worktree
.worktrees/ only.worktrees/ is ignored to prevent accidental commitstools
Use when working with zod-to-form (core, react, cli, codegen, vite).
tools
Vite plugin for zod-to-form — transforms ?z2f imports into generated form components and optionally replaces <ZodForm> JSX call sites with generated components at build time Use when: You want `import SignupForm from './signup.schema?z2f'` to Just Work in a.... Also: vite, vite-plugin, zod, zod-v4, codegen, forms, form-generation, schema-driven, react-hook-form, build-plugin, jsx-transform.
development
Runtime <ZodForm> renderer for Zod v4 schemas Use when: You need form rendering in storybook, playgrounds, or low-traffic admin UIs —.... Also: zod, zod-v4, react, forms, form-generation, react-hook-form, schema-driven, dynamic-forms, form-renderer, hookform-resolver, zod-form-renderer.
development
Schema walker and processor registry for Zod v4 form generation Use when: You want per-field validation instead of whole-form validation. Also: zod, zod-v4, forms, form-generation, schema, schema-walker, processor-registry, react-hook-form, schema-driven, form-schema, zod-registry.