worktree

Installation
SKILL.md

[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ATTENTION ask user whether to skip.

Quick Summary

Goal: Create isolated git worktrees for parallel feature development with automatic branch naming and env file setup.

Workflow:

  1. Get Repo Info — Run worktree.cjs info to detect repo type, base branch, env files
  2. Detect Prefix — Infer branch prefix from keywords (fix, feat, refactor, docs, etc.)
  3. Convert Slug — Transform description to kebab-case slug (max 50 chars)
  4. Execute — Run worktree.cjs create with project, slug, prefix, and env files

Key Rules:

  • For monorepos, ask user which project if not specified
  • Always ask which env files to copy via AskUserQuestion
  • Handle error codes (BRANCH_CHECKED_OUT, WORKTREE_EXISTS, etc.) gracefully
Installs
14
GitHub Stars
6
First Seen
Mar 7, 2026
worktree — duc01226/easyplatform