adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 1 Choose Workspace Layout of arrange-workspace-flow
> /plugin marketplace add griddynamics/rosetta > /plugin install rosetta@rosetta
How it fires
How this command gets triggered: by you, by Claude, or both.
/arrange-workspace-flow-choose-workspace-layoutContext preview
What this command does when you run it.
Phase 1 Choose Workspace Layout of arrange-workspace-flow
name: arrange-workspace-flow-choose-workspace-layout description: "Phase 1 Choose Workspace Layout of arrange-workspace-flow" disable-model-invocation: true user-invocable: false alwaysApply: false tags: ["arrange", "workspace", "layout", "phase"] baseSchema: docs/schemas/phase.md
<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> 1. Show layout options 2. Ask the user to pick one 3. Guide the picked option's setup actions 4. Record the choice </phase_steps>
<present_layouts step="1.1"> 1. Show the user the content in `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:
1. Single Repo Workspace is the most useful when changes are implemented independently on each repository: single code change, single PR. 2. Composite Workspace is the most useful when changes are spread across multiple repositories (feature implementation end-to-end): multiple code changes, multiple PRs.
**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:
---
**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:
---
**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:
</layout_guidance>
<choose_and_setup step="1.2" type="HITL"> 1. Ask the user which option fits. 2. If the project already has evidence of a chosen layout (existing submodules, existing `refsrc/`), confirm it rather than re-asking. 3. If Option 2 or 3 is chosen: USE SKILL `large-workspace-handling`. </choose_and_setup>
<apply_setup step="1.3"> 1. Guide the user through the chosen option's `Setup actions` from `layout_guidance`, exactly. 2. If Option 1 was chosen: tell the user `refsrc/` reference code is onboarded next, in the Reference Source Code phase — do not clone into `refsrc/` here. 3. Record the chosen layo
Repo: griddynamics/rosetta
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 3 Gap & Requirements Clarification of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 0 Project Config Loading of api-aqa-flow (USER INTERACTION CONDITIONALLY REQUIRED)