Skip to main content
plugin

create-worktrees · ccplugins — Claude Code plugin: setup and worktrees

create-worktrees creates Git worktrees for open pull requests or selected branches. Useful when several branches need separate working directories.

Apache-2.0 ★ 1,013 updated 2026-08-12

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install create-worktrees@awesome-claude-code-plugins
Open on GitHub

What create-worktrees does

The plugin creates Git worktrees for every open pull request or for branches you choose. It can also create a custom branch for development, giving each task its own working directory.

Branch names containing slashes are handled, and stale worktrees can be cleaned up. That matters in repositories using names such as feature/auth, where branch structure should not block worktree creation.

What it helps with

  • create worktrees for all open pull requests
  • prepare a worktree for a chosen branch
  • handle branch names with slashes
  • remove stale worktrees
  • create a separate development branch

Example prompts for the agent

  • Create Git worktrees for all open pull requests in this repository.
  • Prepare a worktree for the feature/auth branch.
  • Clean up stale worktrees and create a custom branch for development.

How to install create-worktrees

Plugin marketplace

/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install create-worktrees@awesome-claude-code-plugins

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about create-worktrees

How do I install create-worktrees in Claude Code?

First add the marketplace with /plugin marketplace add ccplugins/awesome-claude-code-plugins, then install the plugin with /plugin install create-worktrees@awesome-claude-code-plugins.

What does create-worktrees do?

It creates Git worktrees for open pull requests or selected branches. The plugin also supports stale-worktree cleanup and custom branch creation for development.

Can create-worktrees handle branch names with slashes?

Yes. It supports names such as feature/auth when creating worktrees.

Source text

create-worktrees · Apache-2.0
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.

© evmts · Apache-2.0 · ccplugins/awesome-claude-code-plugins

Similar plugins

All plugins for Git and GitHub →

create-worktrees by other authors comes first.

create-worktrees rohitg00 create-worktrees manages Git worktrees for parallel development workflows inside Claude Code. Sets up separate working directories for concurrent branches. ★ 2,858repo stars clean_gone official Anthropic clean_gone — a Claude Code command that removes local git branches flagged as [gone] — branches whose remote counterpart no longer exists. It also clears out any attached worktrees before deletion. CX Codex +1 ★ 47,914repo stars git-worktrees bobmatnyc git-worktrees teaches the agent to manage parallel Git branches using worktrees. Useful for stacked pull requests, urgent bugfixes, and isolated code reviews. CX Codex +1 368installs git-worktree-explorer official James Montemagno The git-worktree-explorer plugin visualizes an active Git repository through worktrees, branches, and commits. Use it when you need a clear view of repository structure and pull request context. ★ 41,430repo stars create-pr davila7 The create-pr command creates a branch, formats changed files, organizes commits, and opens a pull request. Use it to finish a Git workflow from Claude Code. CX Codex +1 964installs create-pull-request davila7 create-pull-request — a Claude Code command that opens a pull request via GitHub CLI against the project's own PR template. It fires when a branch is ready and you need a draft PR with all template sections filled in. CX Codex +1 411installs create-branch getsentry create-branch is a Claude Code skill that creates Git branches using Sentry naming conventions. It activates on requests to start a branch or begin work from the default branch. CX Codex +1 4,400installs

From the same set184

The whole set →
openapi-expert openapi-expert is a Claude Code plugin for checking openapi.yml against a REST API implementation. It can revise endpoint and schema details and identify mismatches between the documentation and code. ★ 1,013repo stars discuss Claude Code plugin for collaborative technical discussions and proactive requirements gathering. ★ 1,013repo stars analyze-issue analyze-issue turns a GitHub issue into an implementation spec and an ordered plan. Use it to clarify the work before changing code. ★ 1,013repo stars update-branch-name update-branch-name — a Claude Code plugin that renames Git branches by adding semantic prefixes and enforcing naming conventions. Use it when your team requires branches to follow a specific format like feature/, bugfix/, or hotfix/. ★ 1,013repo stars double-check double-check — a plugin that prompts the agent to reconsider its work before declaring a task complete. Catches oversights that might slip through on the first pass. ★ 1,013repo stars test-file test-file creates tests for an individual project file. Helpful when you need test coverage on a single newly added or edited module. ★ 1,013repo stars generate-api-docs The generate-api-docs plugin builds documentation for API endpoints. Useful when you need to document routes in a project quickly. ★ 1,013repo stars explore explore prepares Claude to discuss a task by reading a planning doc and examining related files. Useful before jumping into planning or coding. ★ 1,013repo stars

Project sponsors

Companies that keep this analytics open