No slash command · from rosetta-light
Displays workspace layout options (Single Repo or Composite with Submodules), helps the user choose one, and guides setup actions for the selected layout.
Ships in rosetta-light. Installing the plugin adds it to Claude Code.
<arrange_workspace_choose_workspace_layout>
<description_and_purpose> Show the workspace layout options verbatim, help the user pick one, and guide its setup actions. </description_and_purpose>
<phase_steps>
<present_layouts step="1.1">
layout_guidance EXACTLY as written.
</present_layouts><layout_guidance compact="NEVER" summarize="AS-IS">
Pick the layout that fits your project. These options apply to any multi-repository project — regular development, microservices, or modernization:
Option 1 — Single Repo Workspace. The workspace is a single, writable repository. AI agents can only write to this repository. All other codebases the agent needs to read are brought in via refsrc/ as read-only references. This is the simplest option and the recommended starting point.
<new git repo root>
├── docs/
│ ├── ARCHITECTURE.md # main service architecture and goals
│ └── CONTEXT.md # main service business context
├── refsrc/
│ ├── <old code>/ # read-only: legacy codebase
│ ├── microservice2/ # read-only: peer service API reference
│ ├── shared-lib/ # read-only: corporate shared library
│ └── frontend/ # read-only: UI codebase for reference
└── <new code>
Setup actions:
refsrc/ as subfolders.Option 2 — Composite Workspace with Submodules. A top-level envelope repository holds each sub-repository as a git submodule. This integrates cleanly with standard git tooling and avoids manual gitignore maintenance. This layout needs the large-workspace-handling skill.
<workspace git repo>
├── docs/
│ ├── ARCHITECTURE.md # index: technical purpose of each sub-repo
│ └── CONTEXT.md # index: business purpose of each sub-repo
├── <old repo>/ # git submodule — e.g. old-app
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
├── <new repo>/ # git submodule — e.g. new-app
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
├── microservice1/ # git submodule
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
├── frontend/ # git submodule
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
└── shared-lib/ # git submodule
├── docs/ARCHITECTURE.md
├── docs/CONTEXT.md
└── <source files>
Setup actions:
ARCHITECTURE.md must record that submodules are used for dynamic and optionally sparse-checkout.git submodule update --init <name>.Option 3 — Composite Workspace with gitignore. A top-level folder holds all repositories as plain directories. Each sub-repo folder is excluded from the envelope's git tracking via .gitignore. The downsides: the workspace must be tracked in git, and .gitignore and doc routing need ongoing care. This layout needs the large-workspace-handling skill.
<workspace git repo>
├── docs/
│ ├── ARCHITECTURE.md # index: technical purpose of each sub-repo
│ └── CONTEXT.md # index: business purpose of each sub-repo
├── <old repo 1>/
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
├── <old repo 2>/
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
├── <new repo>/
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
├── microservice1/
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
├── frontend/
│ ├── docs/ARCHITECTURE.md
│ ├── docs/CONTEXT.md
│ └── <source files>
└── .gitignore # excludes the cloned repo folders
Setup actions:
.gitignore so it is excluded from the envelope's git tracking.</layout_guidance>
<choose_and_setup step="1.2" type="HITL">
refsrc/), confirm it rather than re-asking.large-workspace-handling.
</choose_and_setup><apply_setup step="1.3">
Setup actions from layout_guidance, exactly.refsrc/ reference code is onboarded next, in the Reference Source Code phase — do not clone into refsrc/ here.Option 1 - Single Repo Workspace) in arrange-state.md.
</apply_setup><validation_checklist>
arrange-state.md records the chosen layout.
</validation_checklist></arrange_workspace_choose_workspace_layout>
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub griddynamics/rosetta --plugin rosetta-light2 plugins in one repository ship this exact command · first indexed Aug 20, 2026
70 commands in this plugin
Other plugins' commands for the same job