Skip to content
Development
Command

/init-workspace-flow-shells

Phase 2 Shells of init-workspace-flow

From plugin
rosetta
33063 skills24 agents63 commands
Install
> /plugin marketplace add griddynamics/rosetta
> /plugin install rosetta@rosetta

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/init-workspace-flow-shells

Context preview

What this command does when you run it.

Phase 2 Shells of init-workspace-flow

Command definition

init-workspace-flow-shells.md
name: init-workspace-flow-shells
description: "Phase 2 Shells of init-workspace-flow"
tags: ["init", "workspace", "shells", "phase"]
disable-model-invocation: true
user-invocable: false
baseSchema: docs/schemas/phase.md

<init_workspace_flow_shells>

<description_and_purpose> Generates shell config files so subsequent sessions can load context and invoke skills. Proof: shell configs exist on disk and state reflects creation status. </description_and_purpose>

<workflow_context>

  • Phase 2 of 9 in init-workspace-flow
  • Input: state.mode, state.plugin_active, IDEs
  • Output: shell configs, bootstrap rule, load-project-context shell
  • Prerequisite: Phase 1 complete, state.mode set
  • This is simple mechanical AND systematic phase (do not overthink)

</workflow_context>

<phase_steps> 1. Check mode, skip if plugin 2. Execute shell generation 3. Update state with shell status </phase_steps>

<check_mode step="2.1"> 1. Read `agents/init-workspace-flow-state.md` 2. If `state.plugin_active == true`: mark Phase 2 skipped, proceed to Phase 3 3. If upgrade mode: check which shells already exist </check_mode>

<execute_shells step="2.2">

Act as a shell configuration specialist for IDE/CodingAgent workspace bootstrapping. Shell files delegate logic to KB via `ACQUIRE … FROM KB`, enabling centralized instruction updates across projects.

In upgrade mode: create missing shells only, preserve existing.

<core_concepts>

  • All Rosetta prep steps MUST be FULLY completed, load-project-context skill loaded and fully executed
  • Shell = frontmatter + single ACQUIRE instruction, zero inline logic
  • No absolute paths in generated shells

</core_concepts>

<shells_process>

Internal knowledge about IDE/agent shell configuration is obsolete — LIST and READ from KB.

Step 1: Identify Environment

1. LIST `configure` (to understand supported IDE/CodingAgents) 2. Detect current environment, preselect IDE/CodingAgent 3. MUST ask user to confirm selection and provide multi-choose 4. READ CONFIGURE `<tool>.md` for each selected IDE/CodingAgent 5. If multiple selected, must use common standards to reduce copies

Step 2: Install Base Files

1. READ SKILL `load-project-context` — install as SKILL 2. READ RULE `mcp-files-mode.md` — install as CORE RULE, copy content (no refs/links)

Step 3: MUST Generate Skill Shells

1. LIST `skills` with XML format 2. READ TEMPLATE `skill-shell.md` 3. Create all skill shells, reuse frontmatter from listing 4. Do not create `init-workspace-*` skills

Step 4: MUST Generate Agent/Subagent Shells

1. LIST `agents` with XML format 2. READ TEMPLATE `agent-shell.md` 3. Create all agent/subagent shells, reuse frontmatter from listing

Step 5: MUST Generate Workflow/Command Shells

1. LIST `workflows` with XML format 2. READ TEMPLATE `workflow-shell.md` 3. Create all workflow/command shells, reuse frontmatter from listing 4. Do not create `init-workspace-*` workflows and its phases

Step 6: Verify Shell Integrity

1. Diff each file against its shell schema — zero structural deviations 2. Verify: every file has ACQUIRE, no conditional logic/loops/inline instructions, all paths resolve 3. HITL: present results, confirm with user

</shells_process>

<shells_validation_checklist>

  • Every generated file: frontmatter + ACQUIRE only, zero inline logic
  • All paths resolve, extensions match IDE config
  • User confirmed verification results

</shells_validation_checklist>

</execute_shells>

<update_state step="2.3"> 1. Write to `agents/init-workspace-flow-state.md`:

  • Shell configs status (created | updated | skipped)
  • Bootstrap rule status
  • Phase 2 completion timestamp

2. Log gaps for Phase 8 </update_state>

<validation_checklist>

  • Plugin mode: phase marked skipped, no shell files modified
  • Install mode: all expected shell files exist on disk
  • Upgrade mode: only missing shells created, existing preserved
  • Bootstrap rule file exists with a typed load instruction for load-project-context

</validation_checklist>

</init_workspace_flow_shells>

Read more
Ships withrosetta

Enforce organizational standards across every AI coding agent

Get the whole plugin