
create-worktrees
Git worktree tool that sets up parallel checkouts for open PRs or chosen branches in Claude Code.
- version
- 1.0.0
- GitHub stars
- 689
What it does
- Adds the
create-worktreescommand to create git worktrees for all open PRs or specific branches - Handles branch names containing slashes and cleans up stale worktrees in the same run
- Supports creating custom branches for development alongside checkouts of existing PRs
- Designed for developers who review or work on several branches at once in separate directories
Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleaning up stale worktrees, and supporting custom branch creation for development.
Add marketplace
/plugin marketplace add ananddtyagi/cc-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install create-worktrees@cc-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceGit Worktree Commands
This documentation provides two main bash scripts for Git worktree management:
1. Create Worktrees for All Open PRs
- Uses GitHub CLI to fetch open pull requests
- Creates git worktrees for each PR branch
- Handles branch names with slashes
- Includes an optional cleanup script for stale worktrees
2. Interactive Branch and Worktree Creation
- Prompts for a new branch name
- Validates branch name
- Creates a worktree in a
./tree/directory - Supports creating branches from different base commits
Key Features
- Error handling
- Directory management
- Flexible branch creation options
- Streamlined Git workflow by making branch and worktree management more efficient
From the ananddtyagi/cc-marketplace README
Claude Code Marketplace
Community-driven marketplace for Claude Code commands and plugins.
🚀 Quick Start
Add this marketplace to Claude Code:
/plugin marketplace add ananddtyagi/cc-marketplace
Then browse and install individual plugins (commands or agents):
/plugin
Install a specific command:
/plugin install lyra@cc-marketplace
Install a specific agent:
/plugin install accessibility-expert@cc-marketplace
🌟 Featured Commands
- Documentation Generator - Create comprehensive documentation for code, APIs, and projects. (by Anonymous)
- Lyra - Lyra - a master-level AI prompt optimization specialist. (by @ananddtyagi)
- Analyze Codebase - Generate comprehensive analysis and documentation of entire codebase (by @ananddtyagi)
- Update Claude.md - Automatically update CLAUDE.md file based on recent code changes (by @ananddtyagi)
- Ultrathink - Use /ultrathink <TASK_DESCRIPTION> to launch a Coordinator Agent that directs four specialist sub-agents—Architect, Research, Coder, and Tester—to analyze, design, implement, and validate your coding task. The process breaks the task into clear steps, gathers insights, and synthesizes a cohesive solution with actionable outputs. Relevant files can be referenced ad-hoc using @ filename syntax. (by Jeronim Morina)
- Code Review - Perform a comprehensive code review of recent changes (by @ananddtyagi)
- Refractor - Refactor code following best practices and design patterns (by @ananddtyagi)
- Code Review Assistant - Get comprehensive code reviews with suggestions for improvements, best practices, and potential issues. (by Anonymous)
- Bug Detective - Systematically debug issues with step-by-step troubleshooting approaches. (by Anonymous)
- Audit - Perform security audit on codebase (by @ananddtyagi)
🤖 Featured Agents
- Accessibility Expert - Specialized agent for accessibility reviews and improvements
- AI Engineer - Expert in AI/ML implementation and optimization
- Frontend Developer - React, Vue, Angular expert for UI development
- DevOps Automator - CI/CD and infrastructure automation specialist
- Code Reviewer - Thorough code review and best practices enforcement
💡 Browse & Submit
Visit claudecodecommands.directory to:
- 🔍 Browse all commands and agents with descriptions and examples
- 📤 Submit your own commands and agents
- ⭐ Favorite plugins
- 🏷️ Filter by category and tags
🎯 How It Works
Each plugin in this marketplace is independently installable:
- Commands: Add custom slash commands to your Claude Code workflow (e.g.,
/lyra,/audit,/ultrathink) - Agents: Add specialized AI agents with specific expertise (e.g., accessibility-expert, frontend-developer, devops-automator)
Install only what you need - no bloat, full granular control!
🔄 Auto-Sync
This marketplace is automatically synced from the live database whenever commands are published or updated.
📝 License
Individual commands may have their own licenses. See each command file for details.
🤝 Contributing
Submit commands at claudecodecommands.directory/submit Submit agents at claudecodecommands.directory/submit-agent
Built with ❤️ by the Claude Code community
Details
- Marketplace
- ananddtyagi/cc-marketplace
- Source
- plugins/create-worktrees
- Author
- evmts
- Category
- General
- Listed since
- Apr 7, 2026
More from ananddtyagi/cc-marketplace
All 119- customer-success-managerv1.0.0
- data-privacy-engineerv1.0.0
- data-scientistv1.0.0
- database-performance-optimizerv1.0.0
- debug-sessionv1.0.0
- debuggerv1.0.0
- deployment-engineerv1.0.0
- desktop-app-devv1.0.0
- devops-automatorv1.0.0
- discussv1.0.0
- documentation-generatorv1.0.0
- double-checkv1.0.0
- enterprise-integrator-architectv1.0.0
- enterprise-onboarding-specialistv1.0.0
- enterprise-security-reviewerv1.0.0
- experienced-engineerv1.0.0
- experiment-trackerv1.0.0
- explorev1.0.0
- feedback-synthesizerv1.0.0
- finance-trackerv1.0.0
- fix-github-issuev1.0.0
- fix-issuev1.0.0
- fix-prv1.0.0
- flutter-mobile-app-devv1.0.0
Similar to create-worktrees
More Git & Releases
commands-version-control-gitPlugindavepoon/buildwithclaude3.8K starsCommands for Git operations, commits, and PRs
git-worktreesSkillneolabhq/context-engineering-kit1.2K installsGit worktree commands and workflow patterns for parallel development across multiple branches in separate directories.
create-prPluginananddtyagi/cc-marketplace689 starsStreamlines pull request creation by handling the entire workflow: creating a new branch, committing changes, formatting modified files with Biome, and submitti
git-flowPluginrohitg00/awesome-claude-code-toolkit2.8K starsGit workflow management with feature branches, releases, and hotfix flows
handbook-git-worktreePluginNikiforovAll/claude-code-rules143 starsGit worktree management for working on multiple branches simultaneously