celestiaorg/celestia-engineering/git-worktree
Claude Code and agent skill by celestiaorg/celestia-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 without branch switching
Install
npx vskill@latest install celestiaorg/celestia-engineering/git-worktreeSKILL.md
Git Worktree Skill
Manage isolated development environments using Git worktrees.
When to Use
- Working on multiple features simultaneously
- Need to review a PR while working on something else
- Testing changes without affecting your main workspace
- Running long builds while continuing development
Quick Commands
Create worktree for a new branch
Create worktree for existing branch
List all worktrees
Remove worktree
Clean up stale worktrees
Workflow Patterns
Pattern 1: Feature Development
Pattern 2: PR Review
Pattern 3: Hotfix While Working
Directory Convention
Best Practices
- Naming: Use descriptive directory names matching the branch
- Location: Keep worktrees as siblings to main repo
- Cleanup: Remove worktrees when done to avoid clutter
- Prune: Run
git worktree pruneperiodically
Common Issues
"fatal: is already checked out"
The branch is already checked out in another worktree. Use a different branch or remove the existing worktree.
Stale worktrees after deletion
Run git worktree prune to clean up references to deleted worktree directories.
Submodules not initialized
Run git submodule update --init in the new worktree.
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/git-worktree/SKILL.md
Popularity
- 7-day trend score
- 0
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/celestiaorg/celestia-engineering/git-worktree)