/s2s:design [--skip-roundtable] [--focus components|api|deployment] [--strategy debate|standard|consensus-driven] [--verbose] [--interactive] [--diagnostic] [--new] [--session <id>]from s2s
Facilitates a structured roundtable discussion to design technical architecture from requirements, producing architecture documentation with optional session management and output merging.
Ships in s2s. Installing the plugin adds it to Claude Code.
/s2s:design is a thin launcher for the design workflow (TECH-002 Phase 8). It runs
design-specific preparation (prerequisite check, existing-output handling), then delegates
to the roundtable.md master, which owns auto-detect, session setup, the Phase 2 round
loop, and output generation.
pwdls -ladate +"%Y%m%d-%H%M%S"date -u +"%Y-%m-%dT%H:%M:%SZ"Based on the context output above, determine:
.s2s directory appears → "yes", otherwise → "NOT_S2S"If S2S is initialized:
.s2s/CONTEXT.md for project context.s2s/requirements.md if exists.s2s/architecture.md exists.s2s/config.yaml for settingsExtract from $ARGUMENTS:
IF --session is present: skip all design-specific preparation below and delegate
immediately to the master (jump to "Delegate to the master", setting only
WORKFLOW_TYPE).
If S2S initialized is "NOT_S2S":
Error: Not an s2s project. Run /s2s:init first.
If .s2s/requirements.md does not exist:
Warning: No requirements document found.
Recommended workflow:
1. /s2s:init - Initialize project
2. /s2s:specs - Define requirements
3. /s2s:design - Design architecture (you are here)
Continue without formal requirements?
Ask using AskUserQuestion:
If the user chooses "Run /s2s:specs first", stop.
Check if .s2s/architecture.md exists.
If the architecture doc exists:
OUTPUT_MERGE_MODE (override or merge); the master's Phase 4
output generation honors it. If architecture.md does not exist, OUTPUT_MERGE_MODE = override.Extract from $ARGUMENTS:
FOCUS_AREA.Generic flags (--strategy, --verbose, --interactive, --diagnostic, --new) are
parsed by the master from $ARGUMENTS; the launcher does not consume them.
If --skip-roundtable IS present:
.s2s/requirements.md (and CONTEXT.md) directly.${CLAUDE_PLUGIN_ROOT}/skills/output-generation/SKILL.md and generate
.s2s/architecture.md + .s2s/decisions/ADR-*.md for workflow_type=design
(honoring OUTPUT_MERGE_MODE).Set the handoff variables in conversation context:
WORKFLOW_TYPE = designOUTPUT_MERGE_MODE = the choice from "Check for existing architecture"FOCUS_AREA = the --focus value (empty if not given)Then Read ${CLAUDE_PLUGIN_ROOT}/commands/roundtable.md and follow it from PHASE 0.
The master resolves workflow_type from WORKFLOW_TYPE, loads profiles/design.yaml, and
runs auto-detect, session setup, the round loop, and completion. Strategy (debate
default) and output-type (architecture) are resolved by the master from the profile and
workflow_type; the launcher does not pass them.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub spec2ship/spec2ship --plugin s2s16 commands in this plugin
/brainstormBrainstorm SessionCreative brainstorming session using the Disney strategy (Dreamer → Realist → Critic). Use for ideation and exploring new ideas without constraints. Auto-detects active sessions./dev:checkDevelopment CheckRun development checks on s2s plugin code. Verifies instruction quality (INST-*) and cross-command consistency (CONS-*)./dev:testDevelopment TestRun integration tests on s2s plugin. Tests session validation (VAL-RT-*), resume capability (RES-*) and edge cases (EDGE-*)./initInitialize Spec2Ship ProjectInitialize or update a Spec2Ship project. Analyzes existing structure, creates .s2s/ configuration, and gathers project context./planGenerate Implementation PlansGenerate implementation plans. Smart behavior - reads from specs/architecture docs if available, otherwise prompts for topic. Auto-detects active plans./plan:closeClose Implementation PlanMark the current implementation plan as closed. Optionally merge the branch.Other plugins' commands for the same job