| name | workspace-create-or-update-pr |
| description | Create or update pull requests for all repositories (draft by default) |
workspace-create-or-update-pr
Overview
This skill creates or updates pull requests for all repositories in a workspace by delegating to the workspace-repo-create-or-update-pr agent for each repository.
- New branch: Creates a new PR (draft by default)
- Existing PR: Updates the PR title and body with latest changes
Default behavior: PRs are created as draft unless explicitly requested otherwise.
Paths: Use relative paths from project root for all workspace file operations (see CLAUDE.md for details).
Arguments
This skill receives $ARGUMENTS from the caller. Parse to extract:
- Workspace name (required):
workspace/{workspace-name} or just {workspace-name}
- Draft mode (optional):
--no-draft to create non-draft PRs (default: draft)
- Example:
workspace/feature-user-auth-20260116
- Example:
feature-user-auth-20260116 --no-draft
If workspace is not specified in $ARGUMENTS, abort with message:
Please specify a workspace. Example: /workspace-create-or-update-pr workspace/feature-user-auth-20260116
Steps
1. Find Repositories
Find all repository worktrees in the workspace:
./.claude/scripts/list-workspace-repos.sh {workspace-name}
2. Launch PR Agents
For each repository in the workspace, use the Task tool to launch the agent in background: