frontend-design-deslop
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesefrontend design deslop
前端设计去同质化
AI-generated UI looks generic for two reasons. First, with no constraints the model samples the statistical median of 2019-2024 web code, which is Tailwind UI's , Inter, rounded cards, and soft shadows. You cannot out-prompt a vacuum. Second, and deeper: designing before you know what you are designing. A corporate landing page, a creative portfolio, a developer-tool landing page, an analytics dashboard, and an ecommerce product page share almost no design DNA. A beautiful aesthetic that fights the artifact's job is its own slop.
bg-indigo-500The fix is a discipline borrowed from brand design: strategy drives design. Commit to words first (what this is, who it serves, the adjectives it must feel like), then translate those words into a typography and color system, then build from tokens, then apply the craft layer (layout, components, motion, iconography, imagery, dark mode, accessibility), then audit. Never pick aesthetics first. Target the convergence mechanism, not a frozen blocklist; the slop fingerprint shifts over time (purple gradients in 2022, cream backgrounds and italic-serif heroes in 2026).
This skill does two jobs at once: it de-slops the default AI look, and it designs applications well. A distinctive theme on top of careless components, weak layout, or thoughtless motion still reads as amateur. The mechanisms behind every choice live in (hierarchy, Gestalt, CRAP, signal-vs-noise, affordances, the interaction laws); read it once so the rest is reasoning rather than rule-following.
references/design-theory.mdAI生成的UI之所以千篇一律,主要有两个原因。首先,在没有约束的情况下,模型会提取2019-2024年Web代码的统计中位数,也就是Tailwind UI的、Inter字体、圆角卡片和柔和阴影。你无法通过提示词打破这种固化模式。其次,更深层的原因是:在明确设计目标之前就开始设计。企业着陆页、创意作品集、开发者工具着陆页、分析仪表盘和电商产品页面几乎没有共同的设计基因。与产物功能相悖的美观设计本身就是一种同质化表现。
bg-indigo-500解决方法借鉴自品牌设计领域:策略驱动设计。先确定核心描述(产物是什么、服务对象是谁、要呈现的特质形容词),再将这些描述转化为排版与色彩系统,基于设计令牌构建,然后应用工艺层设计(布局、组件、动效、图标、图像、深色模式、无障碍设计),最后进行审核。绝不能先选定美学风格。要针对同质化的生成机制进行优化,而非依赖固定的禁用清单;同质化特征会随时间变化(2022年是紫色渐变,2026年可能是米白色背景和斜体衬字标题)。
这项技能同时实现两个目标:消除AI生成内容的同质化,以及高质量设计应用。如果在粗糙的组件、薄弱的布局或考虑不周的动效之上套用独特主题,最终成品仍会显得业余。所有设计选择背后的原理都记录在中(层级结构、格式塔原理、CRAP原则、信号与噪声、功能可见性、交互法则);先通读一遍,后续设计即可基于推理而非规则执行。
references/design-theory.mdAsking questions (CRITICAL)
提问要求(至关重要)
ALWAYS use the AskUserQuestion tool for ANY question to the user. Never ask questions as plain text output. The tool gives a guided, interactive experience with structured options that the user can answer in one tap. Every single user question must go through this tool. (On claude.ai the equivalent tool is ; use whichever structured question tool the environment provides.)
ask_user_input_v0Discipline on top of that rule: batch related questions, offer 2 to 4 concrete options each, and ask only the high-signal subset that changes the design system. Infer from context first and confirm inferences rather than re-asking. The bank is generous; the asking is selective. Do not interrogate.
所有向用户提出的问题必须使用AskUserQuestion工具。绝不能以纯文本形式提问。该工具提供引导式的交互式体验,用户可通过结构化选项一键作答。每一个问题都必须通过此工具提出。(在claude.ai平台上,对应的工具是;使用当前环境提供的任一结构化提问工具即可。)
ask_user_input_v0在此规则之上需遵循:批量提出相关问题,每个问题提供2-4个具体选项,仅询问会改变设计系统的高价值问题。先从上下文推断信息,再通过提问工具确认推断内容,而非重复询问。可提问的空间很大,但要选择性提问,不要过度追问。
Phase 0: Discover and commit to words (do this FIRST, before any code)
阶段0:明确核心描述(先完成此步骤,再编写任何代码)
First, check for an existing at the project root (and common locations like ). If one exists, read it, honor its tokens, skip the questions it already answers, and extend it rather than starting over. If none exists, resolve three things before any pixel. Read for the full protocol, question bank, and the personality-to-token translation table, and for per-type priorities.
DESIGN.mddocs/references/discovery.mdreferences/artifact-types.md- WHAT is the artifact? Classify it: marketing/landing page, pricing page, SaaS application, dashboard/data tool, ecommerce, marketplace, mobile app, AI/conversational interface, email/newsletter, blog/editorial publication, onboarding/auth flow, settings/admin/CMS, presentation/deck, docs/API reference, portfolio/brand site, or one of the long-tail types in . Each optimizes for a different thing and has its own layout grammar and density. A composite artifact (a marketing site with an embedded app, an AI chat inside a SaaS app) is designed region by region.
references/artifact-types.md - WHO and WHY? Audience, positioning (corporate vs creative vs technical vs luxury vs playful), and the single primary action or outcome.
- Commit to words. Lock 3 to 5 brand adjectives and a 3-word aesthetic essence before any visual exploration. This is the highest-leverage input; it drives type, color, density, radius, and motion. Strategy drives design, never the reverse.
Run discovery adaptively: infer, state inferences, ask the high-signal subset through the question tool, and ground the direction in 1 to 3 references (web-search strong current examples of the exact artifact type and positioning if none are given, then transpose rather than originate). Do not proceed until artifact type, positioning, and the adjectives are locked.
首先,检查项目根目录(以及等常见位置)是否存在已有的文件。若存在,需通读文件,遵循其中的设计令牌,跳过已解答的问题,在原有基础上扩展而非重新开始。若不存在,需在进行任何视觉设计前确定三件事。通读了解完整流程、问题库和特质到令牌的转换表,通读了解不同产物类型的优先级。
docs/DESIGN.mdreferences/discovery.mdreferences/artifact-types.md- 产物类型是什么? 进行分类:营销/着陆页、定价页、SaaS应用、仪表盘/数据工具、电商平台、交易市场、移动应用、AI/对话界面、电子邮件/新闻通讯、博客/编辑出版物、引导/认证流程、设置/管理/CMS、演示文稿、文档/API参考、作品集/品牌网站,或中列出的长尾类型。每种类型的优化方向不同,拥有各自的布局规则和密度要求。复合产物(如包含嵌入式应用的营销网站、SaaS应用内的AI聊天界面)需按区域分别设计。
references/artifact-types.md - 受众与目标是什么? 明确受众、定位(企业向、创意向、技术向、高端向、趣味向),以及核心行动或目标结果。
- 确定核心形容词。 在进行任何视觉探索前,锁定3-5个品牌特质形容词和一个3词美学核心。这是影响力最大的输入,将决定字体、色彩、密度、圆角和动效。策略驱动设计,而非相反。
灵活开展探索:先推断信息,说明推断内容,通过提问工具询问高价值问题,并基于1-3个参考案例确定方向(若用户未提供参考案例,可搜索当前同类产物的优秀案例,再进行转化而非直接照搬)。在产物类型、定位和特质形容词确定前,不得进入下一阶段。
Phase 1: Translate strategy into a design system (the gate)
阶段1:将策略转化为设计系统(关键节点)
State these commitments in prose, briefly. Each must follow from Phase 0, not from reflex.
-
Aesthetic commitment. Pick ONE opinionated direction that fits the artifact and the adjectives; generic is the failure mode. See. If the user gave a brand or reference, transpose it.
references/aesthetics-library.md -
Typography (brand-first). Choose type from personality, not aesthetic preference. Match classification to the adjectives, pick a modular-scale ratio that fits the content, and pair for contrast (display + body) without typographic mud. Never Inter/Roboto/Arial/system as the primary face. See.
references/typography.md -
Color (appropriateness + differentiation). Choose colors for fit with the brand and audience, then find uncontested territory (the indigo/violet band is the red ocean of AI UI; avoid it unless the brief demands it). Build one dominant plus a sharp accent plus neutrals plus semantic states, distributed roughly 60-30-10. Author in OKLCH. See.
references/color-oklch.md -
Token table (emit BEFORE components). Display + body font; type scale (state the ratio and base, 6 steps); spacing base unit; max two radius values; ONE shadow approach (defined edge OR soft elevation, never both on one element); palette with roles (bg, fg, muted, border, accent, accent-fg, success, warning, error). Everything references tokens; no scattered hex/px. Pull a starting set from.
references/token-sets.md -
Signature move. Name the single thing that makes this UI memorable and unmistakably not-default. One per project.
-
Adapter. Pick the stack syntax: plain CSS custom properties, Tailwind v4, or shadcn semantic tokens. See
@theme.references/adapters.mdis the portable source of truth.references/token-core.css
用简洁文字说明这些确定的内容。所有内容必须基于阶段0的结果,而非直觉。
-
美学定位。 选择一个符合产物类型和特质形容词的明确方向;千篇一律是失败的表现。参考。若用户提供了品牌或参考案例,需进行转化适配。
references/aesthetics-library.md -
排版(品牌优先)。 根据特质选择字体,而非基于美学偏好。将字体分类与特质形容词匹配,选择适合内容的模块化比例,并搭配对比鲜明的字体(标题+正文),避免排版混乱。绝不能将Inter/Roboto/Arial/系统字体作为主要字体。参考。
references/typography.md -
色彩(适配性+差异化)。 根据品牌和受众选择色彩,然后寻找差异化空间(AI UI的红海区是靛蓝/紫色系;除非需求明确要求,否则避免使用)。构建一套包含主色、醒目强调色、中性色和语义状态色的配色方案,比例大致为60-30-10。使用OKLCH格式定义色彩。参考。
references/color-oklch.md -
令牌表(在组件前输出)。 包含标题和正文字体;字体比例(说明比例和基准值,6个层级);基础间距单位;最多两个圆角值;一种阴影风格(清晰边缘或柔和层次感,同一元素不得同时使用两种);带角色定义的调色板(背景、前景、弱化、边框、强调色、强调色前景、成功、警告、错误)。所有设计均参考令牌;不得分散使用十六进制色值/像素值。从中获取初始令牌集。
references/token-sets.md -
标志性设计。 确定一个让该UI令人难忘且明显区别于默认风格的设计细节。每个项目仅需一个。
-
适配方案。 选择栈语法:纯CSS自定义属性、Tailwind v4或shadcn语义令牌。参考
@theme。references/adapters.md是与框架无关的权威令牌源。references/token-core.css
Phase 2: Apply the system to the interface (the craft layer)
阶段2:将设计系统应用到界面(工艺层)
Tokens make a UI consistent; the craft layer makes it good. This is the "design an application" half of the skill and the half most AI output skips. Apply each of the following to the artifact, pulling the matching reference on demand. Density and emphasis vary by artifact type (see ); a dashboard applies these very differently from a landing page.
references/artifact-types.md-
Layout and composition. Compose space with intent: a base spacing unit, spacing that is tight within groups and generous between sections, an intentional grid (12-column, modular, or bento where content genuinely varies), at least one brief-specific layout move, and whitespace as a signal of confidence. Break the centered-max-width-column reflex. See.
references/layout.md -
Components and states. Specify every interactive component across its full state matrix (default, hover, active, focus, disabled, loading, error, selected), not just at rest. Get buttons (ranked by importance, not colored by meaning), forms (real labels, correct types, inline validation that keeps input), tables (left-align text, right-align tabular-nums numerals, light separators), navigation, overlays, and the empty/loading/error states right. See.
references/components.md -
Motion. Treat motion as communication, under a duration and easing token scale. Default to ease-out under 300ms, animate only transform and opacity, scale popovers from their trigger, and never animate high-frequency actions. See.
references/motion.md -
Iconography. One grid, one stroke, one radius across the set; do not let the unmodified default starter-kit set define the look. See.
references/iconography.md -
Imagery and illustration. Art-direct imagery as a system. Prefer real product visuals over stock and abstract; avoid the AI/stock fingerprint (people pointing at laptops, gradient blobs, corporate-Memphis, default Midjourney). Use texture and a graphic device to escape flat-slop. See.
references/imagery.md -
Dark mode and theming. If dark mode is in scope, design it (do not invert): near-black not pure black, off-white not pure white, elevation via lightness, desaturated accents, all driven by semantic tokens. See.
references/dark-mode.md -
Accessibility as you build. WCAG 2.2 AA: visible managed focus, keyboard operability, labels, 24px-plus targets, color independence, reduced-motion. Build it in; do not bolt it on. See.
references/accessibility.md
At the end of conception, once the direction and craft decisions are locked, suggest to the user a relevant subset of design and component catalogs to mine for concrete ideas and ready implementations, framed as inspiration to transpose through the committed system (never to clone) and with a reminder to verify component licenses. Pick by artifact type and stage rather than dumping the whole list. See .
references/catalogs.md令牌确保UI的一致性;工艺层确保UI的高品质。这是该技能中“设计应用”的部分,也是大多数AI输出会忽略的部分。将以下内容应用到产物中,按需参考对应文档。密度和重点会因产物类型而异(参考);仪表盘的应用方式与着陆页截然不同。
references/artifact-types.md-
布局与构图。 有目的地规划空间:设定基础间距单位,组内间距紧凑、组间间距宽松,采用明确的网格(12列、模块化或内容差异较大时使用便当式布局),至少包含一个符合需求的布局设计,将留白作为自信的信号。打破固定居中宽列的思维定式。参考。
references/layout.md -
组件与状态。 明确每个交互组件的完整状态矩阵(默认、悬停、激活、聚焦、禁用、加载、错误、选中),而非仅定义静止状态。正确设计按钮(按重要性排序,而非按含义配色)、表单(真实标签、正确类型、不中断输入的内联验证)、表格(文本左对齐、数字右对齐、浅色分隔线)、导航、覆盖层,以及空状态/加载状态/错误状态。参考。
references/components.md -
动效。 将动效视为一种沟通方式,遵循时长和缓动令牌规则。默认使用300ms以内的ease-out缓动,仅对transform和opacity属性设置动画,弹出框从触发元素处缩放,绝不为高频操作设置动画。参考。
references/motion.md -
图标设计。 整套图标使用统一的网格、描边宽度和圆角;不得让未修改的默认图标集定义整体风格。参考。
references/iconography.md -
图像与插画。 将图像作为一个系统进行艺术指导。优先使用真实产品视觉素材而非库存或抽象素材;避免AI/库存素材的典型特征(指向笔记本电脑的人物、渐变 blob、企业孟菲斯风格、Midjourney默认风格)。使用纹理和图形元素摆脱扁平化同质化。参考。
references/imagery.md -
深色模式与主题。 若包含深色模式,需专门设计(而非简单反转):使用近黑色而非纯黑色,灰白色而非纯白色,通过亮度体现层次感,降低强调色饱和度,所有设计均由语义令牌驱动。参考。
references/dark-mode.md -
构建时兼顾无障碍设计。 遵循WCAG 2.2 AA标准:可见的聚焦状态、键盘可操作性、标签、不小于24px的交互目标、色彩独立性、减少动效选项。将无障碍设计融入构建过程,而非事后添加。参考。
references/accessibility.md
在构思结束后,一旦方向和工艺决策确定,向用户推荐相关的设计和组件目录,作为灵感来源,提醒用户需基于已确定的设计系统进行转化(而非直接克隆),并确认组件许可。根据产物类型和阶段选择推荐内容,而非全部列出。参考。
references/catalogs.mdPhase 3: Write DESIGN.md (the durable output)
阶段3:编写DESIGN.md(持久化输出)
Everything this skill produces lives in a single at the project root: the discovery context, the committed aesthetic and signature move, the typography and color systems, the tokens, the spacing/radius/shadow rules, the craft-layer decisions (layout, components, motion, iconography, imagery, dark mode, accessibility), and the slop-audit result. Write or update it before or alongside building components, using the schema in . DESIGN.md is the single source of truth; the CSS, the adapter, and the components are projections of it. If they ever drift, DESIGN.md wins. On later sessions, Phase 0 reads this file instead of re-running discovery.
DESIGN.mdreferences/design-md.md该技能产生的所有内容需保存到项目根目录的文件中:探索背景、确定的美学风格和标志性设计、排版与色彩系统、令牌、间距/圆角/阴影规则、工艺层决策(布局、组件、动效、图标、图像、深色模式、无障碍设计),以及同质化审核结果。在构建组件之前或同时编写或更新该文件,遵循中的格式。DESIGN.md是唯一的权威来源;CSS、适配方案和组件均基于此文件生成。若出现偏差,以DESIGN.md为准。后续会话中,阶段0将读取此文件而非重新开展探索。
DESIGN.mdreferences/design-md.mdToken-first generation rules
令牌优先生成规则
- Colors in OKLCH, dominant + sharp accent, not a timid even spread. Design hierarchy in grayscale first, add the accent last and sparingly, roughly 60-30-10 (neutral / brand / accent). On colored backgrounds, darken/desaturate the same hue rather than going gray. Define semantic state colors (success, warning, error) and never use color as the only signal.
- Typography: a distinctive display face paired with a refined body face, modular scale with a stated ratio. Source from Fontshare/Google. Limit to 2 to 3 families.
- Spacing rhythm: vary spacing by relationship (tight within a group, generous between sections). One uniform value everywhere is a tell.
- Density fits the artifact. Dashboards and pro tools tolerate high density; marketing and portfolio pages want air.
- Match implementation complexity to the aesthetic: maximalism gets elaborate detail; minimalism gets restraint and precision, not laziness.
- 色彩使用OKLCH格式,包含主色和醒目强调色,而非均匀分布的保守配色。先以灰度设计层级结构,最后少量添加强调色,比例大致为60-30-10(中性色/品牌色/强调色)。在彩色背景上,加深/降低同一色调的饱和度,而非使用灰色。定义语义状态色(成功、警告、错误),绝不能仅用色彩传递信息。
- 排版:选择独特的标题字体搭配精致的正文字体,使用明确比例的模块化字体层级。从Fontshare/Google获取字体。限制为2-3种字体族。
- 间距节奏:根据元素关系调整间距(组内紧凑、组间宽松)。统一使用单一间距值是同质化的典型表现。
- 密度适配产物类型:仪表盘和专业工具可接受高密度;营销和作品集页面需要留白。
- 实现复杂度匹配美学风格:极繁主义需精细细节;极简主义需克制与精准,而非敷衍。
NEVER (negative prompt)
绝对禁止(反向提示)
NEVER use generic AI-generated aesthetics: overused fonts (Inter, Roboto, Arial, system-ui as the primary face); cliched color schemes (especially purple/indigo/violet gradients on white or dark); the hero + 3-feature-cards + testimonials + CTA boilerplate as the only structure; the icon-tile-above-heading feature-card template; side-tab accent borders on cards; hairline border and diffuse drop shadow stacked on the same element; gradient text on headings or metrics; decorative glassmorphism; blob-rounding (radius > 16px on small cards); cream/beige backgrounds by reflex; bounce/elastic easing and animate-everything micro-interactions. Use distinctive fonts, a cohesive committed palette, and motion only where it serves the interaction.
Craft-layer NEVERs: do not ship components with only a resting state; do not use placeholder text as the label; do not color buttons by meaning instead of ranking them by importance; do not center-align numeric table columns or use non-tabular numerals for figures; do not let the unmodified shadcn/Tailwind default icon set define the look; do not use stock people-pointing-at-laptops, gradient blobs, floating orbs, glossy isometric tech illustrations, corporate-Memphis figures, or raw default-Midjourney imagery where a real product visual belongs; do not invert a light palette to make dark mode, use pure black backgrounds, pure white text, or glowing colored box-shadows by reflex; do not animate layout properties (width/height/top/left) or ignore prefers-reduced-motion; do not remove focus outlines without replacing them, convey meaning by color alone, or ship sub-24px targets.
绝不能使用通用AI生成美学:过度使用的字体(Inter、Roboto、Arial、system-ui作为主要字体); cliched配色方案(尤其是白色或深色背景上的紫色/靛蓝/紫色渐变);仅使用“标题+3个功能卡片+客户评价+CTA”的模板结构;图标-标题-功能卡片的模板;卡片侧边的强调边框;同一元素同时使用细边框和弥散阴影;标题或指标使用渐变文字;装饰性毛玻璃效果;小卡片使用大于16px的圆角( blob圆角);下意识使用米白/米色背景;弹跳/弹性缓动和全元素微交互。应使用独特字体、连贯的配色方案,仅在服务于交互时使用动效。
工艺层绝对禁止:不要仅实现组件的静止状态;不要使用占位符文本作为标签;不要按含义为按钮配色,而应按重要性排序;不要将表格中的数字列居中对齐,或使用非等宽数字显示数值;不要让未修改的shadcn/Tailwind默认图标集定义整体风格;在需要真实产品视觉素材的场景,不要使用指向笔记本电脑的库存人物、渐变blob、悬浮球体、光泽等距科技插画、企业孟菲斯图形或原始Midjourney默认图像;不要通过反转浅色调色板生成深色模式,下意识使用纯黑色背景、纯白色文本或发光彩色阴影;不要为布局属性(width/height/top/left)设置动画,或忽略prefers-reduced-motion;不要移除聚焦轮廓而不替换,仅通过色彩传递含义,或发布小于24px的交互目标。
Self-audit before finishing
完成前的自我审核
Run the generated UI against and score it. Verify it serves the artifact type's priorities from (a dashboard that reads as a portfolio piece, or a landing page with no clear primary action, has failed even if it is beautiful), and that the type and color choices match the committed adjectives. Verify the craft layer: components have full state matrices, layout has rhythm and an intentional move, motion is communicative and respects reduced-motion, icons are one coherent system, imagery is not stock/AI slop, and dark mode (if present) is designed not inverted. Run the accessibility gate in (focus, keyboard, contrast, targets, color independence); accessibility is a pass/fail gate, not a nicety. If any tell fires or the fit is wrong, regenerate that section before presenting. Record the result in the DESIGN.md slop-audit section and bump its changelog. State the artifact type, positioning, adjectives, aesthetic, type system, palette, and signature move used. All checklist items are detectable within a single generation; do not invent cross-generation rules the model cannot verify.
references/slop-checklist.mdreferences/artifact-types.mdreferences/accessibility.md对照对生成的UI进行审核并评分。验证是否符合中产物类型的优先级(即使设计美观,若仪表盘设计得像作品集,或着陆页没有明确的核心行动,均视为失败),以及字体和色彩选择是否与确定的特质形容词匹配。验证工艺层:组件具备完整状态矩阵、布局有节奏且有明确设计、动效服务于交互且尊重减少动效选项、图标风格统一、图像非库存/AI同质化内容、深色模式(若存在)为专门设计而非简单反转。对照进行无障碍审核(聚焦、键盘操作、对比度、交互目标、色彩独立性);无障碍设计是通过/不通过的硬性标准,而非锦上添花。若出现任何同质化特征或适配不当,需重新生成对应部分后再提交。将审核结果记录到DESIGN.md的同质化审核部分,并更新变更日志。说明使用的产物类型、定位、特质形容词、美学风格、字体系统、调色板和标志性设计。所有检查项均可在单次生成中验证,无需制定模型无法验证的跨生成规则。
references/slop-checklist.mdreferences/artifact-types.mdreferences/accessibility.mdReference files
参考文件
Load on demand.
Foundation and intake:
- - the mechanisms behind every choice: hierarchy, Gestalt, CRAP, signal-vs-noise, affordances, interaction laws. Read once early.
references/design-theory.md - - design intake: AskUserQuestion protocol, commit-to-words, question bank, personality-to-token translation table. Read at the start of Phase 0.
references/discovery.md - - the DESIGN.md schema and persistence conventions. The durable output of the whole skill. Read in Phase 0 (to consume an existing file) and Phase 3 (to write one).
references/design-md.md - - artifact taxonomy with per-type priorities, layout grammar, density, positioning variants, anti-patterns. Read at the start of Phase 0.
references/artifact-types.md
System (Phase 1):
- - full type strategy: brand-first selection, classification matrix, modular scale ratios, pairing, variable fonts, accessibility, anti-slop sourcing and ban-list.
references/typography.md - - full color strategy: appropriateness, Blue Ocean differentiation, harmony systems, 60-30-10, archetype map, OKLCH primer, Radix roles, accessibility.
references/color-oklch.md - - encoded style families with defining traits, plus the method for originating a bespoke theme from discovery.
references/aesthetics-library.md - - ready-to-use distinctive palettes, each with a signature move, plus shared motion tokens.
references/token-sets.md - - the framework-agnostic OKLCH token core, including motion tokens.
references/token-core.css - - Tailwind v4 / shadcn / plain-CSS token syntax.
references/adapters.md
Craft (Phase 2):
- - spacing rhythm, grids (12-col, bento), asymmetry, whitespace, scanning, density, responsive, layout inspiration.
references/layout.md - - the state matrix and patterns for buttons, forms, tables, navigation, overlays, feedback, empty/loading/error states, plus component inspiration.
references/components.md - - duration and easing scales, springs, transform-origin, performance, reduced motion, motion tokens and inspiration.
references/motion.md - - grid, stroke, radius, optical balance, when defaults become slop, how to differentiate, icon inspiration.
references/iconography.md - - art direction, photography direction, the AI/stock fingerprint, illustration systems, graphic devices and texture, imagery inspiration.
references/imagery.md - - dark mode as a designed mode (not inversion), elevation via lightness, desaturation, semantic-token theming, dark/theme tokens.
references/dark-mode.md - - unified WCAG 2.2 AA: contrast, focus, keyboard, target size, forms, ARIA basics, motion, testing.
references/accessibility.md - - component catalogs (shadcn/ui, 21st.dev, Magic UI, Aceternity, Origin, Cult, Kibo, shadcnblocks) and inspiration galleries (Awwwards, Behance, Dribbble, Mobbin, Land-book, Page Collective, Godly, SaaS Landing Page, Lapa Ninja, Refero, Screenlane), with transposition and licensing cautions. Suggest a relevant subset at the end of conception.
references/catalogs.md
Audit:
- - the self-audit (tell catalog + quality gates). Read before finishing any UI.
references/slop-checklist.md
按需加载。
基础与输入:
- - 所有设计选择背后的原理:层级结构、格式塔原理、CRAP原则、信号与噪声、功能可见性、交互法则。早期通读一遍。
references/design-theory.md - - 设计输入:AskUserQuestion流程、核心描述确定、问题库、特质到令牌的转换表。阶段0开始时阅读。
references/discovery.md - - DESIGN.md的格式和持久化规范。该技能的持久化输出。阶段0(读取已有文件)和阶段3(编写文件)时阅读。
references/design-md.md - - 产物分类及各类型优先级、布局规则、密度、定位变体、反模式。阶段0开始时阅读。
references/artifact-types.md
系统设计(阶段1):
- - 完整排版策略:品牌优先选择、分类矩阵、模块化比例、字体搭配、可变字体、无障碍设计、非同质化素材来源和禁用清单。
references/typography.md - - 完整色彩策略:适配性、蓝海差异化、和谐系统、60-30-10比例、原型映射、OKLCH入门、Radix角色、无障碍设计。
references/color-oklch.md - - 编码风格家族及定义特征,以及基于探索结果定制主题的方法。
references/aesthetics-library.md - - 可直接使用的独特调色板,每个调色板包含一个标志性设计,以及共享动效令牌。
references/token-sets.md - - 与框架无关的OKLCH令牌核心,包含动效令牌。
references/token-core.css - - Tailwind v4 / shadcn / 纯CSS令牌语法。
references/adapters.md
工艺设计(阶段2):
- - 间距节奏、网格(12列、便当式)、不对称设计、留白、扫描性、密度、响应式设计、布局灵感。
references/layout.md - - 按钮、表单、表格、导航、覆盖层、反馈、空/加载/错误状态的状态矩阵和模式,以及组件灵感。
references/components.md - - 时长和缓动比例、弹簧动画、变换原点、性能、减少动效、动效令牌和灵感。
references/motion.md - - 网格、描边、圆角、视觉平衡、默认图标集何时成为同质化内容、差异化方法、图标灵感。
references/iconography.md - - 艺术指导、摄影指导、AI/库存素材特征、插画系统、图形元素和纹理、图像灵感。
references/imagery.md - - 深色模式作为专门设计的模式(而非反转)、通过亮度体现层次感、降饱和度、语义令牌主题、深色/主题令牌。
references/dark-mode.md - - 统一WCAG 2.2 AA标准:对比度、聚焦、键盘操作、目标尺寸、表单、ARIA基础、动效、测试。
references/accessibility.md - - 组件目录(shadcn/ui、21st.dev、Magic UI、Aceternity、Origin、Cult、Kibo、shadcnblocks)和灵感图库(Awwwards、Behance、Dribbble、Mobbin、Land-book、Page Collective、Godly、SaaS Landing Page、Lapa Ninja、Refero、Screenlane),以及转化和许可注意事项。构思结束时推荐相关子集。
references/catalogs.md
审核:
- - 自我审核(同质化特征清单+质量标准)。完成任何UI设计前阅读。
references/slop-checklist.md