adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 7 Documentation 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-documentationContext preview
What this command does when you run it.
Phase 7 Documentation of init-workspace-flow
name: init-workspace-flow-documentation description: "Phase 7 Documentation of init-workspace-flow" tags: ["init", "workspace", "documentation", "phase"] disable-model-invocation: true user-invocable: false baseSchema: docs/schemas/phase.md
<init_workspace_flow_documentation>
<description_and_purpose> Agents without workspace documentation re-discover facts, repeat mistakes, and make incorrect assumptions every session. This phase creates the shared understanding layer all subsequent agent work depends on. Proof: five doc files exist and every prepped-workspace skill reads them. Use top tier model, as this documentation will be loaded every signle time in every single user session with AI. </description_and_purpose>
<workflow_context>
</workflow_context>
<phase_steps> 1. Read state and prerequisites 2. Execute documentation creation 3. Update state, log gaps </phase_steps>
<read_state step="7.1"> 1. Read `agents/init-workspace-flow-state.md` 2. Confirm Phase 3 complete (TECHSTACK, CODEMAP, DEPENDENCIES exist) 3. Read state.mode, state.composite, state.file_count </read_state>
<execute_documentation step="7.2" subagent="built-in" role="Senior technical writer synthesizing workspace documentation" subagent_recommended_model="claude-opus-5,gpt-5.6-sol-high,gemini-3.7-flash-high">
Act as a senior technical writer — recovers intent from code, not transcribes implementation. Workspaces lack structured documentation, forcing every session to re-discover facts and repeat mistakes. This creates five foundational docs from source code analysis. Proof: all five docs exist, are non-empty, complementary, and track unknowns.
1. Look around for any additional documentation and verify findings 2. Execute documentation creation with state.mode, state.composite, state.file_count as inputs, following the content below
<core_concepts>
</core_concepts>
<documentation_process>
1. Dual-mode based on state.mode:
2. Analyze project structure and key source files 3. Create TODO task per document with business context angle 4. Track unknowns in ASSUMPTIONS.md with forward references 5. Create or update documents:
CONTEXT.md:
ARCHITECTURE.md:
IMPLEMENTATION.md:
ASSUMPTIONS.md:
TODO.md:
AGENT MEMORY.md:
README.md:
6. Special cases:
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)