关于 interface-design
interface-design 是用于设计、构建和评审界面的技能,面向需要依据用户任务和现有设计系统开展工作的团队。它覆盖交互层级、界面状态与无障碍,并提供设计、评审和检查流程。
主要功能
- 01依据用户任务评估界面
- 02遵循项目所属设计系统
- 03覆盖加载、空、错误和成功状态
- 04考虑键盘、触控与多种屏幕尺寸
- 05按影响排序界面评审结果
- 06运行无障碍、Lint 和视觉检查
适用场景
- 01根据现有设计系统设计界面
- 02检查页面的错误恢复与成功状态
- 03评审键盘操作和无障碍问题
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ filipgutica/ filip-stack --skill interface-design安装后在 Claude Code 中输入/interface-design确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
THIRD_PARTY_NOTICES.mdagents/openai.yamlreferences/checks.mdcraft.mdlaws.mdstandards.mdscripts/ui-check.mjsui-modes.mjsREADME 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Interface Design
Judge every choice by whether the primary user completes their task: they
find what they need, act, recover from errors, and can tell it worked. The
look comes from the owning design system: the repository's own, else
~/design-language/DESIGN.md when it exists. Use its tokens and components.
This skill owns hierarchy, interaction, states, interface copy, and
accessibility.
Ground the work
- Name the primary user, their task, the context, and the constraints. State a bounded assumption where evidence is missing.
- Find the owning design system and read it before you design or judge the look. Keep its palette, type, and layout concepts; a new brief does not earn a new visual identity.
- Cover the whole path: loading, empty, error, and success states; keyboard and touch; 320px for reflow, 375px, and desktop widths; light and dark themes where supported; reduced motion.
Routes
- Design or build. Read references/laws.md and references/craft.md. Pick only the laws and craft rules that change this design.
- Review. Read references/standards.md and
answer each question that applies to the screens in scope. Read
laws.mdwhen a finding needs a law to explain it. - Check. Run the repository's own accessibility, lint, and visual checks on the running UI. Then run this skill's scripts as references/checks.md describes, at the widths and themes above. Name each check that could not run; an unrun check is not a pass.
Resolve conflicts
In this order: user safety and accessibility; the user's intent and evidence; the owning design system and domain conventions; then laws and craft rules. When two rules pull apart, name the tradeoff.
Guardrails
- A law or standard guides a decision; it does not prove that a design works. Do not invent user research.
- No dark patterns: fake urgency, forced progress, concealed choices, or confirmshaming.
- Color is never the only signal. Keep contrast, visible focus, target size,
reduced motion, and assistive-technology semantics at or above the
thresholds in
standards.md. - Simpler must still keep the controls, information, consent, and recovery paths people need.
- Taste beyond the owning design system is a judgment call. Report it separately from findings that a rule or standard supports.
Output
- Design or build: the hierarchy and flow, the few laws and craft rules that shaped them, the edge states, and the riskiest assumption to test. After building, review your own screenshots at both widths and themes before you report.
- Review: findings ranked by user impact. Each names the element or region (quoted text, selector, or screenshot area), the question or rule it fails, the change to make, and how to verify the change helped. Do not produce an unranked checklist.
- Check: each check's command, result, and the widths and themes it covered, then what remains unchecked.