用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Objective-Arts/lens-dist --skill usability命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | usability |
| description | Design psychology - affordances, feedback, mental models |
Apply cognitive psychology to interface design. Users don't read manuals - the interface must teach itself.
What an object suggests it can do. A button affords pressing. A slider affords dragging.
Rules:
Visual indicators that reveal affordances.
Rules:
Every action needs a visible response.
Rules:
Controls should relate spatially to what they affect.
Rules:
Prevent errors by making them impossible.
Rules:
Users have expectations from past experience.
Rules:
/* Buttons */
.button {
min-height: 44px; /* Touch target */
min-width: 44px;
padding: 12px 24px;
border-radius: 4px;
cursor: pointer;
transition: all 0.1s; /* Instant feedback */
}
.button:hover {
transform: translateY(-1px); /* Subtle lift */
}
.button:active {
transform: translateY(1px); /* Press down */
}
/* Disabled state */
.button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Text inputs */
.input {
min-height: 44px;
padding: 12px 16px;
border: 1px solid #d1d5db;
border-radius: 4px;
background: #ffffff;
}
.input:focus {
border-color: #3b82f6;
outline: none;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
/* Error state */
.input.error {
border-color: #ef4444;
}
.error-message {
color: #ef4444;
font-size: 14px;
margin-top: 4px;
}
| Action | Feedback Timing | Type |
|---|---|---|
| Button click | < 100ms | Visual state change |
| Form validation | On blur or submit | Inline error |
| API call start | Immediate | Loading indicator |
| API call success | When complete | Success message (auto-dismiss) |
| API call failure | When complete | Error message (persist until dismissed) |
| Navigation | < 300ms | Page transition |
Bad:
Good:
Rules:
The gap between what users want to do and how to do it.
Narrow this gulf:
The gap between system state and user understanding.
Narrow this gulf:
| Score | Meaning |
|---|---|
| 10 | Zero learning required, errors impossible |
| 7-9 | Minor confusion points, mostly intuitive |
| 4-6 | Requires exploration to understand |
| 0-3 | Users give up, needs redesign |
Combine with:
/design - Philosophy behind why this matters/mobile - Mobile-specific psychology (thumb zones)/interaction - Input/interaction fundamentals