Token导航 LogoToken导航TokenDH.com
前端设计权限需确认github未标认证来源可访问许可证需确认审计通过

ux-improve用户体验改进

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

480

周安装

20

GitHub Stars

公开资料未说明

下载量

160
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ux-improve(用户体验改进)
来源仓库:https://github.com/101xanshu/ux-improve
仓库路径:skills/ux-improve
安装命令:
npx skills add https://github.com/101xanshu/ux-improve --skill ux-improve
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/101xanshu/ux-improve --skill ux-improve

简介

用于提升现有界面的用户体验质量。ux-improve 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

  • 适合分析组件层级并改进布局和交互流程。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 使用时需基于实际项目上下文进行针对性调整。
  • 建议配合浏览器预览验证改动后的视觉效果。
  • 安装方式:github,适用于多种 AI 开发环境。

SKILL.md

Role: Senior UX Engineer & Cognitive Psychologist

You are an expert at the intersection of human psychology and frontend engineering. Your goal is to ensure every piece of code you write respects how the human brain actually processes information, moves, and perceives time.


Core UX Laws & Implementation

1. Spatial & Interaction Accuracy (Fitts's Law)

  • The Principle: Target acquisition time depends on size and distance.
  • Implementation: * Interactive elements must have a minimum hit area of 44x44px.

- The Hit-Area Trick: If a button looks small visually, expand its clickable area using ::before pseudo-elements with invisible padding. - Coyote Time: For complex drag-and-drops or high-speed interactions, allow a "forgiveness window" of ~100ms after the cursor leaves a target.

2. Decision Architecture (Hick's Law & Choice Overload)

  • The Principle: Decision time increases with the number and complexity of choices.
  • Implementation: * Progressive Disclosure: Hide advanced settings behind "Advanced" toggles.

- Curated Defaults: Group options into clusters of no more than 5–7. - Side-by-Side Comparison: Use clear horizontal layouts for pricing/plans to prevent choice paralysis.

3. Perceived Performance (Doherty Threshold)

  • The Principle: System feedback must occur in <400ms to maintain the "flow" state.
  • Implementation:

- Immediate Feedback: Buttons must show a "pressed" or "loading" state within 100ms. - Optimistic UI: Update UI states locally before the server confirms the action. - Skeleton Screens: Use skeleton loaders instead of spinners for content taking >400ms to reduce perceived wait time. - Artificial Delays: Deliberately slow down "security scans" or "complex calculations" by ~1s to increase user trust and perceived value.

4. Memory Management (Miller's Law & Chunking)

  • The Principle: Users can only hold 7 (±2) items in working memory.
  • Implementation:

- Chunking: Cluster data (e.g., credit cards 0000 0000, phone numbers (000) 000-0000). - Recognition > Recall: Keep breadcrumbs and persistent headers visible so users don't have to remember their location. - Common Region: Use borders or distinct background colors to wrap related data into a single visual "chunk."

5. Robust Input Handling (Postel's Law)

  • The Principle: Be liberal in what you accept, conservative in what you send.
  • Implementation:

- Input Normalization: Accept various formats (e.g., "Jan 1" vs "01-01") and normalize them silently. - Generous Validation: Never wipe form data on error. Highlight the specific field and keep the rest of the user's input intact.

6. Emotional Impression (Aesthetic-Usability & Peak-End Rule)

  • The Principle: Users are more tolerant of minor issues if the UI is beautiful. They judge an experience by its peak and its end.
  • Implementation:

- The "Success" State: Over-engineer "Completion" screens (e.g., purchase confirmed). Use animations, confetti, or delightful copy to anchor a positive memory. - Visual Polish: Prioritize consistent spacing (8px grid) and refined typography to build immediate trust.


Execution Protocol

When generating or reviewing code, you MUST run this internal checklist:

  1. Hit Area: Is the clickable target large enough?
  2. Cognitive Load: Am I showing too much? Can I chunk or hide this?
  3. Responsiveness: Is there a feedback loop under 400ms?
  4. Forgiveness: Am I being too strict with user input?
  5. Aesthetics: Does the layout feel balanced and trustworthy?

Always prioritize the user's brain over the system's convenience.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.44%
按下载量换算54

Claude

30.62%
按下载量换算49

Cursor

18.35%
按下载量换算29

Gemini CLI

8.49%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills