Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

ux-antipatterns用户体验反模式

Agent Skill

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

总安装

412

周安装

17

GitHub Stars

12

下载量

135
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cassiozen/ux-antipatterns --skill ux-antipatterns

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。

  • 使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • 适用于研究检索类任务中的反模式识别。
  • 需结合具体案例理解并规避常见 UX 陷阱。
  • ux-antipatterns 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

UX Anti-Pattern Detection

Scan frontend code for patterns that cause user frustration.

Core Axioms

Before checking individual rules, internalize these. They are the "why" behind every item below.

#AxiomOne-liner
1Acknowledge every actionEvery user action must produce visible feedback within 100ms, even if the result takes seconds.
2Never destroy user inputNot on error, not on navigation, not on timeout, not on refresh.
3State survives the unexpectedRefresh, double-clicks or double submits, network loss — code must handle edge cases.
4Most recent intent winsStale responses must never overwrite a newer user action.
5Explain every constraintIf it's disabled, say why. If it failed, say how to fix it. If it succeeded, say what happened.
6Don't fight the platformBrowser conventions, OS gestures, native controls, and accessibility APIs encode billions of hours of UX research.

When NOT to Use

  • Backend-only code with no UI layer
  • CLI tools or non-visual interfaces
  • Design system tokens/docs without implementation code
  • Pure API or data-layer reviews
  • Performance profiling (unless it manifests as a UX symptom like layout shift)

Workflow

  1. Read references/antipatterns.md to load the full detection heuristics.
  2. Scan the code under review against each applicable anti-pattern category.
  3. Report findings grouped by anti-pattern, citing specific file:line locations.
  4. For each finding, state: the anti-pattern name, the user harm, and a concrete fix.
  5. If no anti-patterns are found, state that the code is clean rather than manufacturing findings.

Anti-Pattern Categories

#CategoryUser Harm
1Layout StabilityClick target moves; wrong thing clicked.
2Feedback & ResponsivenessAction feels ignored; user retries, waits, or loses trust that the system is working.
3Error Handling & RecoveryUser is stuck with no way forward; input destroyed; problem unsolvable without guessing.
4Forms & Input InterferencePlatform fights the user's typing; data mangled, basic editing broken.
5FocusUser is typing and the UI yanks them elsewhere.
6Notifications, Interruptions & DialogsUser's flow broken; attention taxed by noise; forced to parse ambiguous choices under pressure.
7Navigation, Routing & State PersistenceUser can't go back; context evaporates on refresh or redirect.
8Scroll & ViewportContent unreachable or unstable; user fights the interface to see what they came for.
9Timing, Debounce & Race ConditionsActions fire twice, responses arrive stale, sessions expire mid-task; system behaves unpredictably under normal use.
10Accessibility as UXEntire interaction modes broken — keyboard users can't navigate, touch users locked out.
11Visual Layering & RenderingUI elements overlap, clip, or hide each other; controls become unreachable.
12Mobile & Viewport-SpecificKeyboard covers input, layout jumps on scroll, tap targets unresponsive; basic mobile interaction degraded.
13Cumulative Decay & Long-Term UXApp degrades over time; preferences lost, performance rots, stale experiments create inconsistencies.

Quick Reference: Symptom → Category

User complaint / code smellCategory
"Button does nothing when I click it"2. Feedback & Responsiveness
"I clicked the wrong thing — it moved"1. Layout Stability
"I lost my form data"4. Forms & Input Interference
"It says 'Something went wrong' with no explanation"3. Error Handling & Recovery
"The page jumped while I was typing"5. Focus
"I got the same notification 5 times"6. Notifications & Dialogs
"I logged in and it forgot where I was going"7. Navigation & State Persistence
"I scrolled back and lost my place"8. Scroll & Viewport
"My order was placed twice"9. Timing & Race Conditions
"I was filling out a form and it logged me out"9. Timing & Race Conditions
"I clicked delete and it just... deleted it"6. Notifications & Dialogs
"It's been loading for 2 minutes with no progress bar"2. Feedback & Responsiveness
"I can't use this with my keyboard"10. Accessibility as UX
"The dropdown is hidden behind the modal"11. Visual Layering
"The keyboard covers the input on my phone"12. Mobile & Viewport-Specific
"The app gets slower over time"13. Cumulative Decay

Common Mistakes

  • Flagging style preferences as anti-patterns. A non-standard button shape is a design choice, not a UX violation. Only flag patterns that cause measurable user harm per the axioms.
  • Ignoring context. A disabled button inside a wizard step IS explained by the wizard's own flow. Check for nearby explanatory elements before reporting.
  • Suggesting fixes that break accessibility. A fix that adds a visual indicator but removes keyboard access trades one violation for another. Verify fixes against Axiom 6.
  • Over-reporting on handled edge cases. If the code already has an AbortController, don't flag it for race conditions. Read the implementation before reporting.
  • Reporting framework internals as violations. React's key prop remounts, Next.js loading states, or SvelteKit form actions may handle anti-patterns at the framework level. Understand the framework before flagging.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.66%
按下载量换算48

Claude

30.74%
按下载量换算41

Cursor

17.9%
按下载量换算24

Gemini CLI

10.38%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills