1
    Git Worktree Manager

    Git Worktree Manager

    by Arnstein Larsen

    Stash, switch, lose your build cache, forget what you stashed — the branch-juggling tax that worktrees were built to eliminate

    Updated Jun 2026
    Security scanned
    Claude Code

    $8.99

    · or 45 credits

    30-day refund guarantee

    Secure checkout via Stripe

    Included in download

    • Create isolated worktrees for concurrent branches
    • Configure environment files and ports for parallel sessions
    • Ready for Claude Code
    • Instant install

    Sample input

    I am mid-feature on a Node/React app and need to fix a critical bug on main. Set up a worktree for the hotfix so I don't have to stash my current work.

    Sample output

    1. Creating worktree: git worktree add ../hotfix-fix-auth main
    2. Isolating dependencies: Run npm install in hotfix-fix-auth.
    3. Env sync: Copying .env to new directory.
    4. Port management: Use PORT=3001 for hotfix to avoid conflicts with your feature work on 3000.

    About This Skill

    Stash, switch, lose your build cache, forget what you stashed — the branch-juggling tax that worktrees were built to eliminate. Most developers know worktrees exist; almost none use them well because the workflow isn't obvious. This skill manages your worktree setup end-to-end: creating and naming worktrees for concurrent branches, setting up the right directory structure so each worktree has its own node_modules and build cache, handling shared vs. isolated config, and cleaning up safely when you're done. It also helps you design a multi-worktree workflow for your specific project — hotfix alongside feature work, review alongside active development, without context-switching cost. Give it your repo structure and your current branch situation; it returns a worktree setup you can run immediately.

    Use Cases

    • Create isolated worktrees for concurrent branches
    • Manage separate node_modules and build caches per branch
    • Configure environment files and ports for parallel sessions
    • Automate cleanup of stale worktrees and directories

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    No special permissions declared or detected

    Claude Code, Cursor, Aider, Cline

    Frequently Asked Questions

    More Premium Skills

    $9