Skip to content

sdtk-design — Command Reference

Design & prototyping CLI. Guide: SDTK-DESIGN.

bash
npm install -g sdtk-design-kit   # included in sdtk-kit
sdtk-design --help

Workspace

sdtk-design init

Initialize the design workspace (docs/design/, internal state under .sdtk/design/).

bash
sdtk-design init

sdtk-design status

Show where the current design flow stands.

bash
sdtk-design status

Start a design flow

sdtk-design start

Entry point for both flows:

bash
# idea flow
sdtk-design start --idea "<one-paragraph MVP idea>" --style premium-dashboard

# spec-driven flow
sdtk-design start --from-spec . --profile b2b-commerce
sdtk-design start --from-spec . --reference-dir ./docs/design/reference-export --profile b2b-commerce
OptionDescription
--idea "<text>"Rough MVP idea (idea flow)
--from-spec <path>Consume explicit SDTK-SPEC design artifacts (does not parse raw prose)
--style <preset>Visual style preset (see styles)
--profile <profile>Domain profile for spec-driven flow (e.g. b2b-commerce)
--reference-dir <path>Read-only reference export mapping

Stage-by-stage verbs

bash
sdtk-design brief --idea "<idea>"        # design brief only
sdtk-design screens                      # screen map
sdtk-design wireframe --screen landing   # one screen's wireframe
sdtk-design system --style minimal-saas  # design system doc
sdtk-design prototype                    # static prototype (supports --force)

Review & handoff

bash
sdtk-design review --artifact docs/design/prototype/index.html
sdtk-design handoff

review writes dated evidence to docs/design/reviews/; handoff produces DESIGN_HANDOFF.md for SDTK-CODE.

Preview Studio

bash
sdtk-design preview   # render prototype, annotate, live-tweak tokens
sdtk-design open      # always-open studio (empty-state + Style Gallery if no prototype)
sdtk-design styles    # Style Gallery only — choose-only, writes nothing

The studio serves the prototype read-only and writes only under docs/design/feedback/ (schema sdtk.design.feedback.v1). It never runs the agent itself.

Style presets

text
minimal-saas        SaaS & Productivity
premium-dashboard   Dashboard & Data
bold-founder        Marketing & Launch
warm-editorial      Editorial & Content
ecommerce-retail    E-Commerce & Retail
fintech-trust       Fintech & Data
editorial-content   Editorial & Content

SDTK — governed, auditable, resumable AI-assisted engineering.