--- name: design description: "设计工作流:交付物是写入工作区的 HTML 设计稿、可交互原型或 HTML 演示稿时使用,覆盖输入理解、新建与改版、品牌配色、视觉探索与审查。不负责对话内的交互视图 / mockup / 变体对比(用 visualize 插件),也不直接生成 .pptx 文件(需要 pptx 时调用 presentations 插件)。Design workflow for workspace deliverables: HTML design files, interactive prototypes and HTML slide decks, including UI/UX, color, brand and design review. Not for in-chat interactive views or mockups (visualize plugin) or .pptx generation (call the presentations plugin when a pptx is needed)." --- # Design Paths are relative to this skill's directory (`` in commands). ## Hard rules 1. No emoji as icons, avatars, placeholders or decoration; draw icons as SVG. 2. Claim only what you did: delivered or checked means written and its render viewed; metrics, quotes and product facts are real or labelled demo data. 3. `design-resources/` is read-only; copy into the workspace to adapt. 4. Ask only before work starts, only what would materially change the result, at most 3 per turn, never about aesthetics, color, fonts or style. On questions and number of directions this overrides any resource. ## Route 1. **CREATE**, nothing to carry forward: [create](references/create.md). **REDESIGN**, an existing design to carry forward: [redesign](references/redesign.md). **Unclear**: ask per [interact](references/interact.md). 2. Read the deliverable's file, two when both apply: - slides, presentation, PPT → [deck](references/deck.md) - separate screens the user moves between in a flow → [app](references/app.md) - one HTML page however interactive, or unsure → [page](references/page.md) 3. Write per Output below; when it renders, run [check](references/check.md). Importing, choosing or linting against a design system: [design-system](references/design-system.md). A raster image, standalone or as an asset for the design: [image](references/image.md). Conversational edits: [interact](references/interact.md). Advice only: answer, create nothing. Review only: [check](references/check.md), modify nothing. Resources: [catalog](references/catalog.md). ## Output - Into the workspace, default `原型/` (English `prototypes/`); a user-specified directory, file name or single file wins (a single file embeds images as `data:`), no extra copy. Several directions: one subdirectory each, e.g. `方向A/项目名-方向A.html`, all kept. Write large files in segments. - Reply, page copy, `html lang` and file names follow the user's language. - The file stands alone and opens from file://: inline CSS and classic inline `