From s2s
Designs technical architecture via a roundtable discussion, reading requirements.md and producing architecture documentation with session management.
How this command is triggered — by the user, by Claude, or both
Slash command
/s2s:designThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Design Technical Architecture `/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. ## Context - Current directory: !`pwd` - Directory contents: !`ls -la` - Timestamp: !`date +"%Y%m%d-%H%M%S"` - ISO timestamp: !`date -u +"%Y-%m-%dT%H:%M:%SZ"` ## Interpret Context Based on the context output above, determine: - **S2S initialized**: If `.s2s` d...
/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.
npx claudepluginhub spec2ship/spec2ship --plugin s2s/designGenerates technical design document from requirements (topic or path), with architecture diagrams, components, data models, error handling. Investigates codebase, creates frontend mockups if needed, saves to .claude/specs/{topic}/design.md
/brainstormGuides a structured technical design brainstorming session through understanding requirements, exploring alternatives with trade-offs, and validating architecture incrementally.
/designGenerates an architecture and technical specification document from a Phase 1 definition file, covering high-level design, inline ADRs, file manifest, and testing strategy as Phase 2 of the AgentSpec workflow.
/spw-archDesigns technical architecture for single-person workflow suites based on provided system or application requirements.
/designDesigns system architecture with mandatory C4 (Mermaid) diagrams and tech stack recommendations, consulting prior requirements and flagging contradictions.
/workflow-technical-discoveryRuns Technical Discovery workflow: generates spike summary, architecture decision record (ADR), and design rationale to evaluate feasibility and document decisions.