Agent skill

worktree-management

Manage git worktrees for this repo. Use when creating/removing/inspecting worktrees or when isolating work into a new path/branch via scripts/worktree-*.sh.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/worktree-management-joernstoehler-msc-viterbo-e3a19543

SKILL.md

Worktree Management

Use the repo scripts (preferred)

  • Create: scripts/worktree-new.sh [--force] [--no-hydrate] <path> <branch>
    • Creates worktree and branch (from main if missing).
    • Use --no-hydrate to skip toolchain hydration.
  • Remove: scripts/worktree-remove.sh <path> [--force]
    • Removes the worktree (branch is kept).
  • List: git worktree list

Notes

  • Worktrees live under /workspaces/worktrees/.
  • Shared build cache lives under /workspaces/worktrees/shared/ (notably Rust target/).

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results