adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 3 Discovery of init-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.
/init-workspace-flow-discoveryContext preview
What this command does when you run it.
Phase 3 Discovery of init-workspace-flow
name: init-workspace-flow-discovery description: "Phase 3 Discovery of init-workspace-flow" tags: ["init", "workspace", "discovery", "phase"] disable-model-invocation: true user-invocable: false baseSchema: docs/schemas/phase.md
<init_workspace_flow_discovery>
<description_and_purpose> Produces foundational technical documentation (TECHSTACK, CODEMAP, DEPENDENCIES) that all subsequent phases depend on. </description_and_purpose>
<workflow_context>
</workflow_context>
<phase_steps> 1. Read state and confirm mode 2. Acquire and execute discovery 3. Update state </phase_steps>
<check_mode step="3.1"> 1. Read `agents/init-workspace-flow-state.md` 2. Confirm Phase 1 complete and mode is set 3. If upgrade mode: note which discovery files already exist </check_mode>
<execute_discovery step="3.2">
Act as a senior workspace cartographer — fast, factual technical inventory. Without factual inventory of tech stack, structure, and dependencies, subsequent phases operate blind.
<discovery_process>
1. All Rosetta prep steps MUST be FULLY completed, load-project-context skill loaded and fully executed 2. Read existing TECHSTACK, CODEMAP, DEPENDENCIES — update if present, create if missing 3. Detect languages, frameworks, build tools, package managers, runtime environments → write TECHSTACK 4. Existing documentation may be stale or incomplete, prioritize source code artifacts over pre-existing documents 5. Generate CODEMAP via shell commands (no pseudo graphics), 3-4 levels deep
6. List direct dependencies (project, package, version) → write DEPENDENCIES 7. Preserve human-added sections in existing files 8. Update (or create only if missing) `.gitignore` in git root folder by adding lines according to `bootstrap_rosetta_files` (roster in SKILL `load-project-context`) Minimal set must be present:
... # Rosetta agents/TEMP/ refsrc/ !refsrc/INDEX.md
9. Update (or create only if missing) `.prettierignore` in git root folder by adding following lines:
... # Rosetta docs/*.md docs/**/*.md
</discovery_process>
<files>
</files>
<discovery_pitfalls>
</discovery_pitfalls>
<references>
USE SKILL `codemap` to generate the project codemap and incorporate it into the discovery notes.
</references>
Finally:
</execute_discovery>
<update_state step="3.3"> 1. Write to `agents/init-workspace-flow-state.md`:
2. Log gaps for Phase 8 </update_state>
<validation_checklist>
</validation_checklist>
</init_workspace_flow_discovery>
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)