deterministic-design
它能做什么
这个工具可以客观地衡量和评估用户界面的设计。它检查元素是否对齐得当,界面是否易于使用,依据的是清晰的数据和规则,而不是主观意见。
适用场景
- ✓AI 生成的界面看起来不对劲或者没对齐时。
- ✓想确保界面对用户友好,并符合最佳实践时。
- ✓需要可靠的、基于数据的设计评估时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/deterministic-design/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查这个界面,告诉我最主要的设计问题,并提出改进建议。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会渲染界面,然后根据间距和对齐规则进行测量。接着,它会用已知的检查清单检查可用性,把测量数据和主观意见分开列出。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use
Use to catch AI-generated UI that "looks off", is misaligned or centered-mush, or fails usability — when you need reproducible spatial measurements and an evidence-based usability review. Metrics do not prove user success, accessibility or overall design quality. Compose it with any taste/token design skill before reporting design "done".
Source: connerkward/deterministic-design-skill (MIT).
deterministic-design
Thesis: determinism beats AI randomness. A model can't trust its own eye on layout — so don't. Render the UI and measure it.
Two sub-skills (load as needed):
- design-spatial — deterministic layout audit: explicit grid
- 8-pt spacing, and
layout-audit.jscomputes centroid / optical-center / pixel-oracle balance and draws an annotated screenshot. Numbers, not vibes. Plus a render-then- critique vision loop.
- 8-pt spacing, and
- design-ux — usability audit: scores the rendered UI against Nielsen's 10 + interaction heuristics via an authorized separate judge or clearly disclosed self-review → prioritized fix list.
This improves existing design skills (including the default Anthropic one) by adding the layer they lack — it doesn't just advise on taste, it renders, measures, and judges the output. Composable with any design skill.
In central this lives as a subdir of ckw-design; it publishes separately as
deterministic-design-skill (its own distribution) via publish-skill. One of the two
flagship narratives — the determinism one; its sibling is human-in-the-loop (lookdev).
Example
User request:
Review this interface with @deterministic-design, identify the highest-impact design problems, and propose an implementation-ready improvement.
Limitations
- Layout metrics and vision-judged audits catch many spatial and usability failures, but they are not a substitute for product judgment or user testing.
- The workflow requires a rendered UI or screenshot; record viewport, scale, fonts, capture state and measurement definitions. Separate layout measurements, subjective vision judgments and actual user/accessibility tests.
- The linked sub-skills and layout-audit.js are external, not bundled. Read and pin them before use; the link is not executable availability. Delegation requires existing explicit authorization, and screenshots may contain private data.
- Automated scoring can miss brand nuance, copy tone, accessibility needs, and domain-specific user expectations.
常见问题
什么是“空间指标”?
指用来描述屏幕上元素位置和间距的数字,比如对齐情况以及元素之间的距离。
这个工具可以替代用户测试吗?
不能,它是对用户测试的补充。指标有助于发现布局和可用性问题,但要保证整体质量和无障碍体验,真实的用户测试仍然必不可少。
我需要额外安装什么东西吗?
需要。用于测量布局和可用性的专门工具是外部工具,使用前需要单独加载。
详情
作者的原始描述
Measure rendered UI layout with reproducible spatial metrics and a separately assessed usability review; distinguish measurements from subjective judgments and user tests.
热度
- GitHub 星标
- 48k
- 排名
- #4436
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。