360 Secure SkillHub
360 安全技能中心

user-first

该 Skill 是一套设计决策原则:当实现便利与易用性冲突时,先说明用户是谁及其操作,从用户视角描述变更,减少没有理由的选项,完善空态、错误态与领域术语,并通过示例或界面草稿先展示再实现。它还要求面向读者组织文档,并按依赖顺序安排工作。

分类:开发
0xr3ngar
热度 0.00
最近更新 2026-11-20 05:22:36

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add 0xr3ngar/bstack/user-first
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
user-first
description
Apply when a choice trades what is easy to build against what is good to use: a product behavior, a UI, an API, a config format, a document or a pull request.
disable-model-invocation
true
license
MIT
compatibility
No tools needed.

User-first

The user is the person who consumes the work: the person in the UI, the developer who calls the API, the deployer who writes the settings, the reviewer who reads the pull request, the engineer who maintains the code next. When easy to build conflicts with good to use, choose good to use.

  • Say who the user is and what they do, before any design. Describe the change from their side: what they write, click or read, before and after.
  • Ship less and finish it. A few polished features are better than many rough ones. Each control, option and setting needs a reason. Delete the ones that have none.
  • Get the details right: the same layout as the rest of the product, spacing, motion, empty states, error states, and names from the domain.
  • Show it before you build it: a mock in the chat for a UI, the caller's code for an API, an example file for settings.
  • A reader is a user too. Give short text, a drawing, and one example that goes through the whole document.

Foundational thinking decides the order of the work. This principle decides the target.

If that skill is missing, order the work by its dependencies.