From workspaces
Creates a workspace directory with git worktrees for multi-repository development, parsing a short description to identify repositories, PR URLs, and JIRA keys.
How this command is triggered — by the user, by Claude, or both
Slash command
/workspaces:create <short-description> <repo1|url> [repo2...]The summary Claude sees in its command listing — used to decide when to auto-load this command
## Name workspaces:create ## Synopsis ## Description The `workspaces:create` command creates a dedicated workspace directory with git worktrees for multi-repository development. It intelligently parses the workspace description to identify repositories, PR URLs, and JIRA keys, then sets up isolated git worktrees on a new feature branch or checks out a PR for review. This command streamlines working on tasks that span multiple repositories by keeping all related code changes synchronized in a single workspace. ## Implementation ### Workflow --- ## Step 1: Gather info and check conf...
workspaces:create
/workspaces:create <short-description> <repo1|url> [repo2...]
The workspaces:create command creates a dedicated workspace directory with git worktrees for multi-repository development. It intelligently parses the workspace description to identify repositories, PR URLs, and JIRA keys, then sets up isolated git worktrees on a new feature branch or checks out a PR for review.
This command streamlines working on tasks that span multiple repositories by keeping all related code changes synchronized in a single workspace.
- [ ] Step 1: Gather info and check configuration
- [ ] Step 2: Parse workspace description
- [ ] Step 3: Ask user to confirm
- [ ] Step 4: Validate and execute
Run the gather script (which includes preflight check):
${CLAUDE_PLUGIN_ROOT}/commands/create/gather.sh
If the output contains STATUS: NOT_CONFIGURED:
Use AskUserQuestion to ask the user for:
/home/user/git-repos or ~/work/repos)/home/user/workspaces or ~/dev/workspaces)Run gather again with the user's paths:
${CLAUDE_PLUGIN_ROOT}/commands/create/gather.sh --repos-root <REPOS_PATH> --workspaces-root <WORKSPACES_PATH>
Verify the output shows CONFIGURATION SAVED before proceeding to Step 2
If TEMPLATE is MISSING: Abort with error.
Check for custom rules: From Step 1 output, check if === CUSTOM_PROMPT === section is present:
Extract from workspace description:
github.com/{org}/{repo}/pull/{number}[A-Z]+-[0-9]+ (e.g., TEAM-1234, PROJECT-567)Apply custom rules (if custom-prompt.md was found):
Workspace directory name priority:
review-{repo}-{pr} (if PR URL found)feature-{summary} (derive from description)Use AskUserQuestion for:
If user picks "Other" for repositories: Ask a second confirmation to verify their custom repo list before proceeding.
Use the workspace NAME (not full path).
For feature workspaces:
${CLAUDE_PLUGIN_ROOT}/commands/create/execute.sh {WORKSPACE_NAME} {BRANCH} feature {REPO1} {REPO2} ...
For PR review workspaces:
${CLAUDE_PLUGIN_ROOT}/commands/create/execute.sh {WORKSPACE_NAME} {BRANCH} review:{PR_NUM} {REPO1} {REPO2} ...
Example: Use feature-azure-template-field (not /home/user/workspaces/feature-azure-template-field).
The script will create the workspace with worktrees for each repository. If any issues are found, the script will abort with an error message.
Report the workspace location and worktrees created to the user.
16plugins reuse this command
First indexed Jan 1, 2026
Showing the 6 earliest of 16 plugins
npx claudepluginhub anirudhagniredhat/openshift-ai-helpers --plugin workspaces/createCreates a workspace directory with git worktrees for multi-repository development, parsing a short description to identify repositories, PR URLs, and JIRA keys.
/create-worktreesCreates Git worktrees for working on multiple branches simultaneously without switching contexts. Supports custom branch names, base branches, and output paths.
/create-worktreeCreates or reuses an isolated git worktree for a GitHub issue or PR, handling branch creation and optional environment file copying.
/worktreeCreates or removes git worktrees for isolated parallel development. Handles env files, dependency syncing, and project setup.
/start-wt-devCreates a git worktree for a GitHub issue, generates a prompt file with issue details, and outputs paths for starting a new Claude Code session.