ux-first-principles

在界面生成之前与过程中,应用资深 UI/UX 设计师的基础推理原则(如视觉层级、认知负荷、格式塔分组、可用性启发式与无障碍性)来引导界面决策,关注优秀设计背后的“为什么”,用于界面结构、信息优先级与交互暗示的判断,而非具体样式或媒体特定布局。

仓库最近推送
GitHub Stars
181
Forks
21
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ux-first-principles":https://skillpi.com/zh/skills/deepskill-e905bd20c5e3f015a1749dfb5fa41538bc054a041f0ae89bda3a020ae3503f0a。安装前核对上游来源和版本:https://github.com/davidortinau/maui-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在界面生成之前与过程中,应用资深 UI/UX 设计师的基础推理原则(如视觉层级、认知负荷、格式塔分组、可用性启发式与无障碍性)来引导界面决策,关注优秀设计背后的“为什么”,用于界面结构、信息优先级与交互暗示的判断,而非具体样式或媒体特定布局。

0 下载

介绍来源: third_party · davidortinau · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: ux-first-principles
description: "Apply the foundational reasoning of a senior UI/UX designer to interface decisions, BEFORE and WHILE generating UI, not just styling it afterward. This is design first principles (visual hierarchy, cognitive load, Gestalt grouping, usability heuristics, accessibility), the why behind good design, not execution (color, fonts, spacing, brand, component libraries). USE FOR: 'design a screen for', 'lay out this dashboard', 'what navigation should this app use', 'is this UI any good', 'structure this form', 'reduce clutter', 'make this clearer', grouping and prioritizing elements, choosing a flow or affordance. DO NOT USE FOR: picking colors, fonts, spacing scales, or brand systems (use a styling/execution skill); medium-specific layout (use ux-desktop, ux-tablet, or ux-mobile)."

UX First Principles

A reasoning skill, not a styling skill. Its job is to make interface decisions the way an experienced UI/UX professional would: by drawing on the established canons of design knowledge to choose what to build and why, leaving how it looks (tokens, color, type, brand) to execution skills that run alongside this one.

What this skill is for

Use this when a design decision is being made — not when colors are being picked. Good triggers:

  • Laying out a screen, dashboard, form, or flow
  • Choosing a navigation structure (tabs, drawer, sidebar, breadcrumb, wizard)
  • Deciding how much to show at once vs. defer (disclosure, density)
  • Grouping, ordering, and prioritizing elements on a surface
  • Reviewing or critiquing an existing interface
  • Resolving a "this feels cluttered / confusing / off" complaint into specific, fixable causes

If the task is purely "apply our color tokens" or "match the brand," that is execution — defer to the styling skill. This skill stops at the decision; it does not own the pixels.

The one rule that prevents the most damage

Principles are universal; their application changes by medium (desktop / tablet / mobile), not by platform (iOS / Android / Windows). Human cognition and perception do not change across operating systems. What changes is the body-to-device interface: what the user points with, how far they can reach, how much they can see, and how many things they can have open. Reason from principles, decide once, and let a thin render-time layer handle mechanical platform substitutions (exact control sizing, system fonts, corner radii, OS-global gestures). Do not fork a structural decision (tabs vs. drawer, modal vs. inspector, navigation depth) by platform — those are driven by information architecture and cognition, and the cross-platform overlap of acceptable patterns is wide. Forking them fragments one coherent design into three divergent ones.

When the medium matters to the decision, consult the matching medium skill (ux-desktop, ux-tablet, ux-mobile). This core skill holds the invariant principles; the medium skills hold only what changes by modality.

How to use the principles

Do not recite all of them. The skilled move is to identify which few principles bear on the decision in front of you, name the tension between them, and resolve it deliberately. Most real decisions are a trade-off between two or three principles (e.g., "show everything" for discoverability vs. "show less" for cognitive load). State the trade-off, then choose, and say why.

Workflow for any UI decision:

  1. Name the decision. What exactly is being chosen? (a layout, a flow, an affordance, a grouping…)
  2. Pull the 2–4 relevant principles. Use the taxonomy below to find them. Don't over-pull.
  3. Surface the tension. Which principles pull in opposite directions here?
  4. Decide and justify. Commit to one answer. Explain the reasoning in one or two sentences a designer would recognize.
  5. Check the medium. If sizing, reach, density, hover, multi-window, or pointer precision affect the choice, consult the relevant medium skill.
  6. Check accessibility. Treat it as a constraint on the decision, not a later patch.

The four buckets (taxonomy)

The canons overlap, so they are organized by what kind of question they answer. Read the reference file for the bucket your decision touches.

  • Laws & effects — references/laws-and-effects.md Descriptive: why users behave as they do. Fitts, Hick, Miller, Jakob, Tesler, Aesthetic-Usability, Doherty, Goal-Gradient, Peak-End, Serial Position, Von Restorff, Zeigarnik. Reach for these when reasoning about speed, choice, memory, expectation, and perceived quality.

  • Heuristics & principles — references/heuristics-and-principles.md Normative: what to aim for. Nielsen's 10 usability heuristics, Shneiderman's 8 golden rules, Norman's principles (affordances, signifiers, mapping, feedback, constraints). Reach for these when reasoning about usability, error prevention, control, and whether the interface communicates how it works.

  • Compositional & perceptual — references/compositional-and-perceptual.md How the eye organizes a surface: visual hierarchy, contrast, proximity, alignment, similarity, common region, figure/ground, progressive disclosure, consistency. Reach for these when reasoning about layout, grouping, emphasis, and "what does the user see first."

  • Accessibility & ethics — references/accessibility-and-ethics.md Constraints that make the design usable by everyone and honest: WCAG's POUR (perceivable, operable, understandable, robust), inclusive-design defaults, and dark-pattern avoidance. Reach for these on every decision — accessibility is a design input, not an audit.

Output expectations

When you apply this skill, make the reasoning visible but brief. A good response names the principles in play, states the trade-off, and commits to a choice — it does not dump a glossary. The user should come away understanding why the interface is the way it is, in terms a designer would endorse.

What this skill deliberately does not do

It does not pick colors, fonts, spacing scales, or component libraries; it does not enforce a brand; it does not generate final styled markup on its own. Those are execution concerns owned by styling skills (e.g., a frontend-design skill) that should run alongside this one. Keeping the boundary clean is what lets this skill compose instead of conflict.

Attribution note

The principle concepts referenced here (Fitts's Law, Hick's Law, Nielsen's heuristics, Gestalt principles, etc.) are part of the public HCI and design literature and are described here in original wording. Where a specific published collection is the best further reading — notably Jon Yablonski's Laws of UX (lawsofux.com), which is licensed CC BY-NC-ND and must not be copied verbatim — it is cited as a reference, not reproduced. Credit Jakob Nielsen / Nielsen Norman Group for the usability heuristics when reusing them.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供资深 UI/UX 设计师的基础推理原则,指导界面决策而非仅样式调整
  • 适用于高频设计任务如布局、导航选择、信息分组、可用性评估等
触发精准90/100

亮点

  • 适用与不适用场景描述清晰,边界明确,覆盖多种常见设计决策场景
结构规范75/100

待提升项

  • 缺少端到端示例 原报告严重程度:轻微

    文档缺少一个完整的设计决策案例来展示原则的实际应用过程

    改进建议:添加一个从问题识别到原则应用再到最终决策的完整示例

  • 文档过长 原报告严重程度:轻微

    skill_body 内容约600行,略显冗长,可能影响用户快速获取关键信息

    改进建议:考虑精简部分重复性说明,或将部分参考内容移至独立文档

亮点

  • 结构清晰,包含决策工作流和四类原则分类,frontmatter 完整
执行可靠70/100

待提升项

  • 未覆盖用户输入异常处理 原报告严重程度:轻微

    未说明当用户请求模糊、缺乏上下文或超出范围时的处理机制

    改进建议:补充对无效/模糊输入的处理建议,如引导用户提供更多信息或澄清需求

亮点

  • 强调原则普适性与无障碍性约束,建议结合 medium-specific skills 提升可靠性
证据可验 (前四项均值)80/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。