Install
openclaw skills install @elise-ctrl/design-spec-generatorGenerate complete design system specification documents for mini-program, App, and large-screen interfaces. Use when user needs a design spec, design system, style guide, or design handoff document.
openclaw skills install @elise-ctrl/design-spec-generatorGenerates complete, production-ready design system specification documents for 小程序 (mini-program), App, and 大屏 (large-screen) interfaces. Produces a cohesive spec that can be handed directly to developers or team members.
Before generating, gather (or ask if missing):
If the user gives minimal input, use sensible defaults per platform and state assumptions clearly.
assets/:
mini-program-spec.md for 小程序app-spec.md for Applarge-screen-spec.md for 大屏web-spec.md for Webmulti-platform-spec.md for 多端 (used with a base spec + platform deltas).md or .docx in the workspace.Every generated spec includes these sections (platform variants adjust details):
Use consistent token naming convention:
color-primary-500 → 品牌主色
color-secondary-500 → 辅助色
color-neutral-100 → 浅灰背景
color-semantic-success → 成功绿
font-size-base → 正文基准字号
spacing-4 → 4px 基础间距
radius-sm / md / lg → 圆角
shadow-1 / 2 / 3 → 阴影层级
Before delivering, verify:
Templates live in assets/. If user needs the spec as a file, generate from template and save to workspace root (or ask where to save).