ux-expert
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUX Expert
UX专家
Indexes 30 Laws of UX from lawsofux.com and proactively advises during UI/UX development. Searches the law index below, reads relevant law files, follows relationship links when warranted, and fetches external resources for deeper context.
收录来自lawsofux.com的30条UX定律,在UI/UX开发过程中主动提供建议。搜索下方的定律索引,读取相关定律文件,必要时遵循关联链接,并获取外部资源以获取更深入的背景信息。
When to Activate
触发场景
Trigger this skill when:
- Creating or modifying UI components, pages, or layouts
- Adding options, choices, dropdowns, menus, or navigation items
- Changing layouts, spacing, visual grouping, or element positioning
- Modifying navigation flows, forms, or interactive elements
- Reviewing or discussing UI/UX design decisions
- Working on response time, loading states, or perceived performance
- Handling touch targets, click areas, or element sizing
- Any user-facing interface work where UX quality matters
在以下场景触发此技能:
- 创建或修改UI组件、页面或布局
- 添加选项、选择项、下拉菜单、导航菜单或导航条目
- 更改布局、间距、视觉分组或元素定位
- 修改导航流程、表单或交互元素
- 审查或讨论UI/UX设计决策
- 处理响应时间、加载状态或感知性能
- 设计触摸目标、点击区域或元素尺寸
- 任何对UX质量有要求的用户界面相关工作
Law Index
定律索引
Decision & Choice
决策与选择
- Choice Overload () — Users get overwhelmed with too many options; reduce, categorize, or add filtering
choice-overload.md - Hick's Law () — Decision time increases with number and complexity of choices; minimize options when speed matters
hicks-law.md - Tesler's Law () — Every system has irreducible complexity; absorb it in design so users don't have to
teslers-law.md - Postel's Law () — Be liberal in what you accept from users, conservative in what you output
postels-law.md
- 选择过载 () — 用户会因选项过多而不知所措;应减少选项、分类或添加筛选功能
choice-overload.md - Hick's Law () — 决策时间随选项数量和复杂度增加而变长;在对速度有要求的场景下尽量减少选项
hicks-law.md - Tesler's Law () — 每个系统都有无法简化的复杂度;在设计中承担这些复杂度,避免用户受影响
teslers-law.md - Postel's Law () — 对用户的输入持宽松态度,对输出持严谨态度
postels-law.md
Cognitive Capacity
认知能力
- Cognitive Load () — Total mental resources needed to use an interface; minimize extraneous load
cognitive-load.md - Miller's Law () — Working memory holds ~7 (plus/minus 2) items; chunk information into groups
millers-law.md - Chunking () — Break information into meaningful groups to aid comprehension and recall
chunking.md - Working Memory () — Temporary cognitive storage for active tasks; don't force users to remember across steps
working-memory.md - Selective Attention () — Users focus on goal-relevant stimuli and miss the rest; design for what matters
selective-attention.md
- 认知负荷 () — 使用界面所需的全部脑力资源;尽量减少额外负荷
cognitive-load.md - Miller's Law () — 工作记忆可容纳约7±2个项目;将信息分组整合
millers-law.md - 信息分组 () — 将信息拆分为有意义的组,以帮助理解和记忆
chunking.md - 工作记忆 () — 用于活跃任务的临时认知存储;不要让用户在不同步骤间记忆信息
working-memory.md - 选择性注意 () — 用户会专注于与目标相关的刺激,忽略其他内容;围绕重点内容进行设计
selective-attention.md
Visual Organization (Gestalt)
视觉组织(格式塔)
- Law of Proximity () — Near elements are perceived as grouped; use spacing to signal relationships
law-of-proximity.md - Law of Similarity () — Similar-looking elements are perceived as related; use consistent styling for groups
law-of-similarity.md - Law of Common Region () — Elements sharing a bounded area are perceived as grouped
law-of-common-region.md - Law of Uniform Connectedness () — Visually connected elements are perceived as more related
law-of-uniform-connectedness.md - Law of Pragnanz () — Users interpret complex visuals in the simplest form possible; favor clarity
law-of-pragnanz.md
- 接近法则 () — 相近的元素会被视为一组;用间距来暗示关系
law-of-proximity.md - 相似法则 () — 外观相似的元素会被视为相关;对同类元素使用一致的样式
law-of-similarity.md - 共同区域法则 () — 共享边界区域的元素会被视为一组
law-of-common-region.md - 连接法则 () — 视觉上相连的元素会被视为更相关
law-of-uniform-connectedness.md - 简洁法则(Law of Pragnanz) () — 用户会以最简单的形式解读复杂视觉内容;优先保证清晰性
law-of-pragnanz.md
Memory & Perception
记忆与感知
- Serial Position Effect () — Users best remember first and last items in a series; place key actions there
serial-position-effect.md - Von Restorff Effect () — The distinct item among similar ones is most remembered; use for CTAs
von-restorff-effect.md - Peak-End Rule () — Experiences are judged by their peak moment and ending, not the average
peak-end-rule.md - Zeigarnik Effect () — Incomplete tasks are remembered better; use progress indicators to drive completion
zeigarnik-effect.md - Cognitive Bias () — Systematic thinking errors that shape perception and decisions
cognitive-bias.md
- 系列位置效应 () — 用户对系列中的首尾项目记忆最深刻;将关键操作放在这些位置
serial-position-effect.md - 冯·雷斯托夫效应 () — 在相似项目中,独特的项目最容易被记住;用于设计CTA按钮
von-restorff-effect.md - 峰终定律 () — 用户对体验的评价基于峰值时刻和结束时刻,而非平均感受
peak-end-rule.md - 蔡格尼克效应 () — 未完成的任务更容易被记住;使用进度指示器推动任务完成
zeigarnik-effect.md - 认知偏差 () — 影响感知和决策的系统性思维误差
cognitive-bias.md
Engagement & Motivation
参与度与动机
- Flow () — State of deep immersion; balance challenge and skill, remove friction
flow.md - Goal-Gradient Effect () — Effort increases as users approach a goal; show progress to motivate
goal-gradient-effect.md - Paradox of the Active User () — Users skip instructions and learn by doing; design for exploration
paradox-of-the-active-user.md - Parkinson's Law () — Tasks expand to fill available time; use constraints and deadlines
parkinsons-law.md
- 心流状态 () — 深度沉浸的状态;平衡挑战难度与用户技能,消除阻碍
flow.md - 目标梯度效应 () — 用户越接近目标,付出的努力越多;展示进度以激励用户
goal-gradient-effect.md - 活跃用户悖论 () — 用户会跳过说明,通过实践学习;为探索式使用设计产品
paradox-of-the-active-user.md - 帕金森定律 () — 任务会自动膨胀以填满可用时间;使用约束和截止时间
parkinsons-law.md
Design Principles
设计原则
- Jakob's Law () — Users expect your site to work like others they know; leverage existing mental models
jakobs-law.md - Aesthetic-Usability Effect () — Beautiful interfaces are perceived as more usable and forgive minor issues
aesthetic-usability-effect.md - Doherty Threshold () — Keep response times under 400ms to maintain user engagement and flow
doherty-threshold.md - Fitts's Law () — Target acquisition time depends on distance and size; make key elements large and close
fittss-law.md - Mental Model () — Users' internal representation of how a system works; align design with expectations
mental-model.md - Occam's Razor () — Prefer the simplest solution that meets requirements; remove unnecessary elements
occams-razor.md - Pareto Principle () — ~80% of effects come from ~20% of causes; focus effort on high-impact elements
pareto-principle.md
Slug notes: Fitts's Law =, Hick's Law =fittss-law.md, Jakob's Law =hicks-law.md, Miller's Law =jakobs-law.md, Tesler's Law =millers-law.md, Postel's Law =teslers-law.md, Law of Pragnanz =postels-law.mdlaw-of-pragnanz.md
- Jakob's Law () — 用户期望你的网站与他们熟悉的其他网站运作方式一致;利用现有心理模型
jakobs-law.md - 美学可用性效应 () — 美观的界面会被感知为更易用,且能包容小问题
aesthetic-usability-effect.md - Doherty阈值 () — 将响应时间控制在400ms以内,以维持用户的参与度和心流状态
doherty-threshold.md - Fitts's Law () — 目标获取时间取决于距离和尺寸;将关键元素设计得更大、更近
fittss-law.md - 心理模型 () — 用户对系统运作方式的内部认知;让设计与用户预期对齐
mental-model.md - 奥卡姆剃刀原则 () — 优先选择满足需求的最简单方案;移除不必要的元素
occams-razor.md - 帕累托法则 () — 约80%的结果来自20%的原因;将精力集中在高影响元素上
pareto-principle.md
别名说明:Fitts's Law =, Hick's Law =fittss-law.md, Jakob's Law =hicks-law.md, Miller's Law =jakobs-law.md, Tesler's Law =millers-law.md, Postel's Law =teslers-law.md, Law of Pragnanz =postels-law.mdlaw-of-pragnanz.md
Search & Retrieval Process
搜索与检索流程
- Extract context keywords from the current UI/UX work (component type, interaction pattern, design concern)
- Scan the law index above — match keywords, categories, and descriptions to the task
- Read 1-3 most relevant law files from
references/laws/ - Check the section of each law read
## Related - Decide whether to read related laws (see traversal rules below)
- When a law's links are directly relevant, fetch them for deeper context (see deep dive rules below)
## Further Reading - Synthesize findings into actionable, specific advice
- 从当前UI/UX工作中提取上下文关键词(组件类型、交互模式、设计关注点)
- 扫描下方的定律索引——将关键词、类别和描述与任务匹配
- 从中读取1-3个最相关的定律文件
references/laws/ - 查看每个已读定律的部分
## 相关 - 决定是否读取相关定律(见下方遍历规则)
- 当定律的链接直接相关时,获取这些链接以获取更深入的背景信息(见下方深度挖掘规则)
## 扩展阅读 - 将研究结果整合为可执行的具体建议
Relationship Traversal — When to Read Deeper
关联遍历——何时深入阅读
After reading a primary law, examine its section. Related laws use format — map the slug to .
## Related[Law Name](/slug/)references/laws/{slug}.mdRead a related law when:
- The related law's topic directly applies to the current UI context
- The primary law's takeaways reference concepts covered by the related law
- The user's change touches multiple UX dimensions that span both laws
Skip a related law when:
- It covers a UX dimension not relevant to the current task
- The primary law already provides sufficient guidance
- Reading more would delay actionable advice without adding value
Limits: Max 1 level of related-law traversal (never follow related-of-related). Max 4-5 total laws read per context (primary + related).
读取主要定律后,查看其部分。相关定律采用格式——将slug映射到。
## 相关[定律名称](/slug/)references/laws/{slug}.md读取相关定律的场景:
- 相关定律的主题直接适用于当前UI场景
- 主要定律的结论涉及相关定律涵盖的概念
- 用户的变更涉及跨越两条定律的多个UX维度
跳过相关定律的场景:
- 它涵盖的UX维度与当前任务无关
- 主要定律已提供足够的指导
- 阅读更多内容会延迟可执行建议的输出,且无额外价值
限制: 最多进行1级相关定律遍历(绝不跟随相关定律的相关定律)。每个上下文最多读取4-5条定律(主要定律+相关定律)。
Deep Dive — When to Fetch Further Reading
深度挖掘——何时获取扩展阅读
Each law file has a section with external links (Nielsen Norman Group, Smashing Magazine, etc.). These contain detailed research, examples, and case studies.
## Further ReadingFetch a Further Reading link when:
- The user is making a significant design decision and needs evidence-based justification
- The law's key takeaways alone are insufficient — the user needs implementation specifics or real-world examples
- Multiple laws conflict or create tension and external context would help resolve the tradeoff
- The user explicitly asks for deeper rationale or research backing
Skip fetching when:
- The key takeaways in the law file are sufficient for the advice needed
- The task is a minor UI tweak where general guidance is enough
- Fetching would slow down time-sensitive advice without meaningful benefit
Limits: Max 2-3 external fetches per context. Prefer Nielsen Norman Group and Interaction Design Foundation links (highest signal-to-noise).
每个定律文件都有部分,包含外部链接(如Nielsen Norman Group、Smashing Magazine等)。这些链接包含详细的研究、示例和案例研究。
## 扩展阅读获取扩展阅读链接的场景:
- 用户正在做出重大设计决策,需要基于证据的理由
- 仅定律的核心结论不足以支撑需求——用户需要实现细节或真实案例
- 多条定律存在冲突或矛盾,外部背景有助于权衡取舍
- 用户明确要求更深入的原理或研究依据
跳过获取的场景:
- 定律文件中的核心结论已足够支撑所需建议
- 任务是微小的UI调整,通用指导已足够
- 获取链接会延迟时效性建议的输出,且无实际益处
限制: 每个上下文最多获取2-3个外部链接。优先选择Nielsen Norman Group和Interaction Design Foundation的链接(信号噪声比最高)。
Output Format
输出格式
- Lead with the specific recommendation: what to do or what to change
- Name the supporting law(s) — e.g., "Hick's Law suggests..."
- Quote the most relevant key takeaway(s) from the law file
- If multiple laws converge, note the pattern: "Both Hick's Law and Choice Overload point to..."
- If a Further Reading source was fetched, briefly cite the key insight from it
- Keep it concise: 3-6 sentences, not an essay
- Only advise when a law is clearly relevant or being violated — never force-fit
- 以具体建议开头:要做什么或要修改什么
- 注明支持的定律——例如:“Hick's Law建议...”
- 引用定律文件中最相关的核心结论
- 如果多条定律指向同一结论,注明模式:“Hick's Law和选择过载都指出...”
- 如果获取了扩展阅读来源,简要引用其中的核心见解
- 保持简洁:3-6句话,而非长篇大论
- 仅在定律明显相关或被违反时提供建议——绝不强行套用