krone9/pi-superpowers/using-git-worktrees
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when starting risky, experimental, or long-running changes that should be isolated from the main working tree. Sets up a git worktree so the user's primary checkout stays clean.
Install
npx vskill@latest install krone9/pi-superpowers/using-git-worktreesSKILL.md
Using Git Worktrees
Use when:
- The change is exploratory and may be discarded.
- The user is mid-work on another branch and you need a clean slate.
- You need to compare two branches side-by-side.
- A long-running refactor would otherwise block other work.
Setup
From the repo root:
This creates a sibling directory checked out to a new branch. The user's main checkout is untouched.
Working in the worktree
- All git commands operate on the worktree's branch.
- Changes here do not affect the main checkout until merged.
- Build artifacts and
node_moduleslive separately — you may need to install deps fresh.
Cleanup
When done:
When NOT to use
- Single-file changes on the current branch.
- Tasks the user expects to land on the current branch directly.
- When the user has uncommitted changes you'd be hiding from.
Handoff
Pair with writing-plans for multi-step work in the worktree, and verification-before-completion before merging back.
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
- SKILL.md in the repositoryCheckingskills/using-git-worktrees/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/krone9/pi-superpowers/using-git-worktrees)