anthropic-architect
Determine the best Anthropic architecture for your project by analyzing requirements and…
Manage Git worktrees for parallel Claude Code development. Use this skill when engineers ask to "create a worktree", "run parallel Claude sessions", "work on multiple features simultaneously", or need help with worktree management.
$ npx -y skills add jamesrochabrun/skills --skill git-worktrees --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/git-worktreesContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage Git worktrees for parallel Claude Code development. Use this skill when engineers ask to "create a worktree", "run parallel Claude sessions", "work on multiple features simultaneously", or need help with worktree management.
name: git-worktrees description: Manage Git worktrees for parallel Claude Code development. Use this skill when engineers ask to "create a worktree", "run parallel Claude sessions", "work on multiple features simultaneously", or need help with worktree management.
Run multiple Claude Code sessions in parallel on different branches using Git worktrees. This skill provides simple scripts and workflows to set up, manage, and clean up worktrees, enabling true parallel development without conflicts.
**Why Worktrees?**
---
Just run the interactive script:
scripts/create_worktree.sh
This will:
**That's it!** The script handles all complexity.
---
scripts/list_worktrees.sh
Shows a clean, formatted list of all your worktrees with their branches and status.
---
scripts/cleanup_worktrees.sh
Interactive removal of merged or abandoned worktrees.
---
**Scenario:** You want Claude to build feature A while you work on feature B.
**Steps:**
1. **Create worktree for feature A:**
scripts/create_worktree.sh # Enter: feature-a # Script creates: ../repo-feature-a/
2. **Open Claude Code in the new worktree:**
3. **Give Claude the task:**
"Build the user authentication feature with OAuth support"
4. **Continue your work in main:**
5. **When both are done, merge:**
# Review Claude's work cd ../repo-feature-a git log # If good, merge back git checkout main git merge feature-a # Clean up scripts/cleanup_worktrees.sh
---
**Scenario:** You want Claude to refactor a large module while you continue development.
**Steps:**
1. **Create refactor worktree:**
scripts/create_worktree.sh # Enter: refactor-auth-module
2. **Start Claude in refactor worktree:**
"Refactor the authentication module to use dependency injection"
3. **Continue your daily work in main:**
4. **Review and integrate when ready:**
cd ../repo-refactor-auth-module git log --oneline # Review changes # Merge when satisfied git checkout main git merge refactor-auth-module
---
**Scenario:** You want 3 Claude instances working on different features simultaneously.
**Steps:**
1. **Create 3 worktrees:**
scripts/create_worktree.sh # feature-api-endpoints scripts/create_worktree.sh # feature-ui-dashboard scripts/create_worktree.sh # feature-email-notifications
2. **Open 3 Claude Code sessions:**
3. **Assign tasks to each Claude:**
4. **Monitor progress:**
scripts/list_worktrees.sh
5. **Merge features as they complete:**
# Feature by feature git checkout main git merge feature-api-endpoints git merge feature-ui-dashboard git merge feature-email-notifications # Clean up scripts/cleanup_worktrees.sh
---
**Scenario:** Production bug needs immediate fix while Claude is working on a feature.
**Steps:**
1. **Claude is already working in a feature worktree**
2. **Create hotfix worktree from main:**
scripts/create_worktree.sh # Enter: hotfix-login-bug # Choose base branch: main
3. **Fix the bug yourself or with another Claude session:**
cd ../repo-hotfix-login-bug # Make fixes git add . git commit -m "Fix login redirect bug"
4. **Merge hotfix to main:**
git checkout main git merge hotfix-login-bug git push origin main
5. **Sync feature worktree with latest main:**
cd ../repo-feature-xyz scripts/sync_worktree.sh # Merges latest main into feature branch
---
**Interactive worktree creation with all the right defaults.**
**What it does:** 1. Prompts for feature name 2. Validates git repo 3. Creates branch from main (or specified base) 4. Sets up worktree in parallel directory 5. Outputs setup instructions
**Usage:**
scripts/create_worktree.sh # Prompts: # Feature name: my-feature # Base branch (default: main): # # Creates: ../repo-my-feature/ # Branch: my-feature
**Advanced usage:**
# Create from specific branch scripts/create_worktree.sh --base develop # Specify location scripts/create_worktree.sh --dir ~/worktrees/my-feature
---
**Shows all active worktrees with status.**
**Output:**
╔═══════════════
A comprehensive plugin and marketplace for Claude Code containing 24 custom skills across engineering, Apple development, product management, design, content, trading, database, QA, educational, and AI architecture domains.
Repo: jamesrochabrun/skills
Determine the best Anthropic architecture for your project by analyzing requirements and…
Master Anthropic's prompt engineering techniques to generate new prompts or improve existing…
Design iOS apps following Apple's Human Interface Guidelines. Generate native components,…
Expert children's book illustrator guide with 2024-2025 best practices, focusing on…
Generate comprehensive content briefs for writers, ensuring clarity, alignment, and strategic…
Generate comprehensive design briefs for design projects. Use this skill when designers ask…