sammyjoyce/pi-compound-engineering/git-worktree

Claude Code and agent skill by sammyjoyce/pi-compound-engineering

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Manage Git worktrees for isolated parallel development. Use when you want a clean branch/worktree without stashing or when reviewing in isolation.

Install

npx vskill@latest install sammyjoyce/pi-compound-engineering/git-worktree

SKILL.md

The same SKILL.md was published earlier as sammyjoyce/pi-compound-engineering/git-worktree.

Git Worktree Manager

This skill ships a helper script:

  • scripts/worktree-manager.sh

It wraps git worktree and also:

  • keeps worktrees under .worktrees/
  • copies common .env* files from the main repo into new worktrees
  • ensures .worktrees/ is in .gitignore

Usage

Create a worktree
bash
bash scripts/worktree-manager.sh create <branch-name> [from-branch]

Example:

bash
bash scripts/worktree-manager.sh create feat-login main
List worktrees
bash
bash scripts/worktree-manager.sh list
Switch (prints target path)
bash
bash scripts/worktree-manager.sh switch <branch-name>
Copy env files into an existing worktree
bash
bash scripts/worktree-manager.sh copy-env <branch-name>
Cleanup inactive worktrees
bash
bash scripts/worktree-manager.sh cleanup

Notes

  • Prefer using this script instead of calling git worktree add directly.
  • If your default branch is not main, pass it explicitly as from-branch.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sammyjoyce/pi-compound-engineering/git-worktree/badge)](https://verified-skill.com/skills/sammyjoyce/pi-compound-engineering/git-worktree)

Something wrong with this skill or its page? Tell us.