johnlindquist/claude/worktree
Claude Code and agent skill by johnlindquist/claude
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Manage git worktrees for parallel development. Use to work on multiple branches simultaneously without stashing or switching contexts.
Install
npx vskill@latest install johnlindquist/claude/worktreeSKILL.md
Git Worktree Manager
Work on multiple branches simultaneously using git worktrees.
Prerequisites
CLI Reference
List Worktrees
Create Worktree
Remove Worktree
Worktree Operations
Workflow Patterns
Parallel Feature Development
Quick Bug Fix
Review PR
Long-Running Comparison
Directory Structure
Recommended layout:
Or nested:
Beads with Worktrees
When using beads (task tracker) with worktrees, disable the daemon:
Common Issues
Branch Already Checked Out
Stale Worktree References
Shared Resources
Each worktree shares:
.gitdirectory (refs, objects)- Remote configurations
- Hooks
Each worktree has separate:
- Working directory
- Index (staging area)
- HEAD
Scripts
Create Feature Worktree
Cleanup Old Worktrees
Best Practices
- Use descriptive paths - Include branch name in directory
- Install dependencies - Run npm/yarn install in each worktree
- Prune regularly - Clean up stale references
- Don't nest worktrees - Keep them sibling directories
- Lock long-running - Prevent accidental pruning
- Separate IDE workspace - Each worktree gets own IDE window
- Disable beads daemon - Prevent database conflicts
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationWarning, 80 of 100Marginal. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingskills/worktree/SKILL.md
Popularity
- Repository stars
- 23
- Repository forks
- 6
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Apr 2026, 6 months ago.
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/johnlindquist/claude/worktree)