rohitg00 avatar

Parallel Worktrees

If you're tired of staring at loading spinners while tests run, this lets you spin up isolated git worktrees and keep coding elsewhere. The workflow is simple: one terminal runs your test suite, another has you already debugging that gnarly edge case in a separate worktree. Claude Code users get the `-w` flag for automatic worktree management, but the core git commands work in any editor. The real win is psychological. Knowing you can context switch without git stash gymnastics means you actually do it instead of scrolling Twitter for five minutes. Just remember to clean up your worktrees when you're done, because three weeks from now you'll forget which `project-experiment-3` was the keeper.

skills.sh installs
180
GitHub stars
2.9K
last updated
Jun 8, 2026

Install

$ npx -y skills add rohitg00/pro-workflow --skill parallel-worktrees --agent claude-code

Installs into .claude/skills of the current project.

Files

Parallel Worktrees

Zero dead time. While one session runs tests, work on something else.

Trigger

Use when waiting on tests, long builds, exploring approaches, or needing to review and develop simultaneously.

Quick Start

Claude Code:

claude --worktree    # or claude -w (auto-creates isolated worktree)

Cursor / Any editor:

git worktree add ../project-feat feature-branch
# Open the new worktree folder in a second editor window

Both approaches create an isolated working copy where changes don't interfere with your main session.

Claude Code Extras

These features are Claude Code-specific (skip if using Cursor):

  • claude -w auto-creates and cleans up worktrees
  • Subagents support isolation: worktree in agent frontmatter
  • Ctrl+F kills all background agents (two-press confirmation)
  • Ctrl+B sends a task to background

Workflow

  1. Show current worktrees: git worktree list
  2. Create a worktree for the parallel task.
  3. Open a new editor/terminal session in the worktree.
  4. When done, clean up the worktree.

Commands

git worktree list

Sponsors

Details

Repository
github.com/rohitg00/pro-workflow
Categories
Git & Pull Requests, Automation & Workflows
First seen
Jun 11, 2026

More from rohitg00/pro-workflow

All 35
1samhvw8 avatarmise-expertsamhvw8/dotfilesMise development environment manager (asdf + direnv + make replacement). Capabilities: tool version management (node, python, go, ruby, rust), environment varia180skills.sh installs
2cloudai-x avatarweb-design-guidelinescloudai-x/claude-workflow-v2Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", "check my site aga179skills.sh installs
3niracler avatarschedule-managerniracler/skill(macOS only) Use this skill for ALL Apple Calendar and Reminders management tasks using osascript and reminders-cli, following GTD methodology. Invoke immediate179skills.sh installs
4shareai-lab avatarpdfshareai-lab/learn-claude-codeProcess PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files.179skills.sh installs
5aibtcdev avatarbusiness-devaibtcdev/skillsFull-cycle revenue engine — prospecting, CRM pipeline management, closing deals, partnerships, and engineering-as-marketing. External sales via GitHub and web.176skills.sh installs
6madappgang avataropenrouter-trending-modelsmadappgang/claude-codeFetch trending programming models from OpenRouter rankings. Use when selecting models for multi-model review, updating model recommendations, or researching cur173skills.sh installs