From virtual-monorepo
Run the same shell command in every repo of a branch-based virtual-monorepo workspace, sequentially, with per-repo headers. Aggregates exit code so any repo failing fails the whole run. Use when the user says "run X across all repos", "exec ... in JIRA-123 worktrees", "build everything in the workspace", or wants to fan out a command across a branch-based workspace.
How this skill is triggered — by the user, by Claude, or both
Slash command
/virtual-monorepo:execThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a shell command in every worktree of a branch-based workspace. Useful for cross-repo `git status`, build, lint, or any per-repo task.
Run a shell command in every worktree of a branch-based workspace. Useful for cross-repo git status, build, lint, or any per-repo task.
This is the general-purpose exec primitive that backs virtual-monorepo:test — virtual-monorepo:test picks the per-repo command and virtual-monorepo:exec-style logic runs it. Keep virtual-monorepo:exec for ad-hoc commands; reach for virtual-monorepo:test when the user means "run the test suites".
npm test in every repo of JIRA-123"make lint in the ABC-42 worktrees"<branch> (required, positional): the workspace key.-- (separator, required): everything after -- is the command to run.--root=… / --repos=… / --workspace-dir=… / --worktree-root=… — same as virtual-monorepo:init.For each repo:
cd <worktree_root>/<branch>/<repo>.=== <repo> ===.bash -c.Runs sequentially. Continues through all repos even if one fails, then exits non-zero if any failed. Output is interleaved with headers so the user can see which repo produced what.
bash "$CLAUDE_PROJECT_DIR/skills/exec/exec.sh" <branch> [flags…] -- <command>
bash skills/exec/exec.sh JIRA-123 -- git status -s
bash skills/exec/exec.sh JIRA-123 -- make test
bash skills/exec/exec.sh JIRA-123 --root=https://… -- 'echo "hi from $(basename $PWD)"'
bash -c "$CMD", so shell features (pipes, variables, quoting) work — but quote carefully on the caller side.$PWD inside the command is the worktree directory.Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub edlovesjava/workspace-skills --plugin virtual-monorepo