Parallel Sessions
Shopify theme sections are independent files, which means you can run multiple Claude Code sessions simultaneously — each working on a different section. This dramatically reduces total build time.
Git Worktrees (Recommended)
Section titled “Git Worktrees (Recommended)”Git worktrees let you check out multiple branches from the same repo into separate directories. Each worktree runs its own Claude Code session and Shopify dev server without file conflicts.
Set up worktrees
Section titled “Set up worktrees”cd ~/Sites/<project-name>git add -A && git commit -m "baseline before parallel work"
git worktree add -b feature/hero-section ../theme-herogit worktree add -b feature/product-grid ../theme-productsgit worktree add -b feature/footer ../theme-footerThe -b flag creates the branch and worktree in one step. If the branch already exists (e.g., resuming work), omit -b and swap the argument order: git worktree add ../theme-hero feature/hero-section.
Run parallel sessions
Section titled “Run parallel sessions”Each worktree needs its own dev server on a different port:
# Terminal 1 — Hero sectioncd ../theme-heroshopify theme dev --port 9292 --store your-store.myshopify.com# In another tab:cd ../theme-hero && claude
# Terminal 2 — Product gridcd ../theme-productsshopify theme dev --port 9293 --store your-store.myshopify.com# In another tab:cd ../theme-products && claudeMerge completed work
Section titled “Merge completed work”cd ~/Sites/<project-name>git merge feature/hero-sectiongit merge feature/product-gridgit worktree remove ../theme-herogit worktree remove ../theme-productsEach worktree shares git history but has its own files. Update the Playwright preview URL in each session to match the correct port. Start with 2–3 worktrees — the real bottleneck is your bandwidth to review the output.
Agent Teams (Experimental)
Section titled “Agent Teams (Experimental)”Enable it by adding to ~/.claude/settings.json:
{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }}For most Shopify theme work, Git Worktrees is the safer and more predictable choice.