Token导航 LogoToken导航

Agent Skill · 研究检索

userinterface-wiki(用户界面维基)

userinterface-wiki 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

userinterface-wiki 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 2,673。

总安装 56,448周安装 2,397GitHub Stars 717下载 19,776核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/raphaelsalaja/userinterface-wiki --skill userinterface-wiki

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

跨越 12 个类别的 152 条 UI/UX 最佳实践规则,按代码审查和生成的影响划分优先级。

涵盖动画原理、计时函数、退出动画、CSS 伪元素、音频反馈、声音合成、变形图标、容器动画、UX 法则、预测预取、版式和视觉设计 每个规则都包含一个前缀(例如,timing-under-300ms, 弹簧手势 ) 用于自动检测并输出文件:行结果 按影响优先级:动画原理的关键规则,计时功能和用户体验规则的高,音频和版式的中 专为实施或自动代码审查期间参考而设计;各个规则文件包含解释、错误和正确的代码示例

来源仓库内路径:skills/userinterface-wiki

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/raphaelsalaja/userinterface-wiki --skill useri…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

userinterface-wiki 怎么安装?

在终端执行 npx skills add https://github.com/raphaelsalaja/userinterface-wiki --skill userinterface-w…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

userinterface-wiki 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

userinterface-wiki 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

userinterface-wiki 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

userinterface-wiki 用的人多吗?

公开数据是累计安装 56,448 次,近一周安装 2,397 次,下载 19,776 次,GitHub 717 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

userinterface-wiki 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
userinterface-wiki

用户界面维基 · 本页

56,448717需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

User Interface Wiki

Comprehensive UI/UX best practices guide for web interfaces. Contains 152 rules across 12 categories, prioritized by impact to guide automated code review and generation.

When to Apply

Reference these guidelines when:

  • Implementing or reviewing animations (CSS transitions, Motion/Framer Motion)
  • Choosing between springs, easing curves, or no animation
  • Working with AnimatePresence and exit animations
  • Writing CSS with pseudo-elements or View Transitions API
  • Adding audio feedback or procedural sound to UI
  • Building morphing icon components
  • Animating container width/height with dynamic content
  • Designing UI that respects cognitive psychology (Fitts's, Hick's, Miller's laws)
  • Implementing predictive prefetching for perceived performance
  • Setting up typography, OpenType features, or numeric formatting

Rule Categories by Priority

PriorityCategoryImpactPrefixes
1Animation PrinciplesCRITICALtiming-, physics-, staging-
2Timing FunctionsHIGHspring-, easing-, duration-, none-
3Exit AnimationsHIGHexit-, presence-, mode-, nested-
4CSS Pseudo ElementsMEDIUMpseudo-, transition-, native-
5Audio FeedbackMEDIUMa11y-, appropriate-, impl-, weight-
6Sound SynthesisMEDIUMcontext-, envelope-, design-, param-
7Morphing IconsLOWmorphing-
8Container AnimationMEDIUMcontainer-
9Laws of UXHIGHux-
10Predictive PrefetchingMEDIUMprefetch-
11TypographyMEDIUMtype-
12Visual DesignHIGHvisual-

Quick Reference

1. Animation Principles (CRITICAL)

  • timing-under-300ms - User animations must complete within 300ms
  • timing-consistent - Similar elements use identical timing values
  • timing-no-entrance-context-menu - Context menus: no entrance animation, exit only
  • easing-natural-decay - Use exponential ramps for natural decay, not linear
  • easing-no-linear-motion - Linear easing only for progress indicators
  • physics-active-state - Interactive elements need:active scale transform
  • physics-subtle-deformation - Squash/stretch in 0.95-1.05 range
  • physics-spring-for-overshoot - Springs for overshoot-and-settle, not easing
  • physics-no-excessive-stagger - Stagger delays under 50ms per item
  • staging-one-focal-point - One prominent animation at a time
  • staging-dim-background - Dim modal/dialog backgrounds
  • staging-z-index-hierarchy - Animated elements respect z-index layers

2. Timing Functions (HIGH)

  • spring-for-gestures - Gesture-driven motion (drag, flick) must use springs
  • spring-for-interruptible - Interruptible motion must use springs
  • spring-preserves-velocity - Springs preserve input energy on release
  • spring-params-balanced - Avoid excessive oscillation in spring params
  • easing-for-state-change - System state changes use easing curves
  • easing-entrance-ease-out - Entrances use ease-out
  • easing-exit-ease-in - Exits use ease-in
  • easing-transition-ease-in-out - View transitions use ease-in-out
  • easing-linear-only-progress - Linear only for progress/time representation
  • duration-press-hover - Press/hover: 120-180ms
  • duration-small-state - Small state changes: 180-260ms
  • duration-max-300ms - User-initiated max 300ms
  • duration-shorten-before-curve - Fix slow feel with shorter duration, not curve
  • none-high-frequency - No animation for high-frequency interactions
  • none-keyboard-navigation - Keyboard navigation instant, no animation
  • none-context-menu-entrance - Context menus: no entrance, exit only

3. Exit Animations (HIGH)

  • exit-requires-wrapper - Conditional motion elements need AnimatePresence wrapper
  • exit-prop-required - Elements in AnimatePresence need exit prop
  • exit-key-required - Dynamic lists need unique keys, not index
  • exit-matches-initial - Exit mirrors initial for symmetry
  • presence-hook-in-child - useIsPresent in child, not parent
  • presence-safe-to-remove - Call safeToRemove after async cleanup
  • presence-disable-interactions - Disable interactions on exiting elements
  • mode-wait-doubles-duration - Mode "wait" doubles duration; halve timing
  • mode-sync-layout-conflict - Mode "sync" causes layout conflicts
  • mode-pop-layout-for-lists - Use popLayout for list reordering
  • nested-propagate-required - Nested AnimatePresence needs propagate prop
  • nested-consistent-timing - Coordinate parent-child exit durations

4. CSS Pseudo Elements (MEDIUM)

  • pseudo-content-required -::before/::after need content property
  • pseudo-over-dom-node - Pseudo-elements over extra DOM nodes for decoration
  • pseudo-position-relative-parent - Parent needs position: relative
  • pseudo-z-index-layering - Z-index for correct pseudo-element layering
  • pseudo-hit-target-expansion - Negative inset for larger hit targets
  • pseudo-marker-styling - Use::marker for custom list bullet styles
  • pseudo-first-line-styling - Use::first-line for typographic treatments
  • transition-name-required - View transitions need view-transition-name
  • transition-name-unique - Each transition name unique during transition
  • transition-name-cleanup - Remove transition name after completion
  • transition-over-js-library - Prefer View Transitions API over JS libraries
  • transition-style-pseudo-elements - Style::view-transition-group for custom animations
  • native-backdrop-styling - Use::backdrop for dialog backgrounds
  • native-placeholder-styling - Use::placeholder for input styling
  • native-selection-styling - Use::selection for text selection styling

5. Audio Feedback (MEDIUM)

  • a11y-visual-equivalent - Every sound must have a visual equivalent
  • a11y-toggle-setting - Provide toggle to disable sounds
  • a11y-reduced-motion-check - Respect prefers-reduced-motion for sound
  • a11y-volume-control - Allow independent volume adjustment
  • appropriate-no-high-frequency - No sound on typing or keyboard nav
  • appropriate-confirmations-only - Sound for payments, uploads, submissions
  • appropriate-errors-warnings - Sound for errors that can't be overlooked
  • appropriate-no-decorative - No sound on hover or decorative moments
  • appropriate-no-punishing - Inform, don't punish with harsh sounds
  • impl-preload-audio - Preload audio files to avoid delay
  • impl-default-subtle - Default volume subtle (0.3), not loud
  • impl-reset-current-time - Reset currentTime before replay
  • weight-match-action - Sound weight matches action importance
  • weight-duration-matches-action - Sound duration matches action duration

6. Sound Synthesis (MEDIUM)

  • context-reuse-single - Reuse single AudioContext, don't create per sound
  • context-resume-suspended - Resume suspended AudioContext before playing
  • context-cleanup-nodes - Disconnect audio nodes after playback
  • envelope-exponential-decay - Exponential ramps for natural decay
  • envelope-no-zero-target - Exponential ramps target 0.001, not 0
  • envelope-set-initial-value - Set initial value before ramping
  • design-noise-for-percussion - Filtered noise for clicks/taps
  • design-oscillator-for-tonal - Oscillators with pitch sweep for tonal sounds
  • design-filter-for-character - Bandpass filter to shape percussive sounds
  • param-click-duration - Click sounds: 5-15ms duration
  • param-filter-frequency-range - Click filter: 3000-6000Hz
  • param-reasonable-gain - Gain under 1.0 to prevent clipping
  • param-q-value-range - Filter Q: 2-5 for focused but natural

7. Morphing Icons (LOW)

  • morphing-three-lines - Every icon uses exactly 3 SVG lines
  • morphing-use-collapsed - Unused lines use collapsed constant
  • morphing-consistent-viewbox - All icons share same viewBox (14x14)
  • morphing-group-variants - Rotational variants share group and base lines
  • morphing-spring-rotation - Spring physics for grouped icon rotation
  • morphing-reduced-motion - Respect prefers-reduced-motion
  • morphing-jump-non-grouped - Instant rotation jump between non-grouped icons
  • morphing-strokelinecap-round - Round stroke line caps
  • morphing-aria-hidden - Icon SVGs are aria-hidden

8. Container Animation (MEDIUM)

  • container-two-div-pattern - Outer animated div, inner measured div; never same element
  • container-guard-initial-zero - Guard bounds === 0 on initial render, fall back to "auto"
  • container-use-resize-observer - Use ResizeObserver for measurement, not getBoundingClientRect
  • container-overflow-hidden - Set overflow: hidden on animated container during transitions
  • container-no-excessive-use - Use sparingly: buttons, accordions, interactive elements
  • container-callback-ref - Use callback ref (not useRef) for measurement hooks
  • container-transition-delay - Add small delay for natural catching-up feel

9. Laws of UX (HIGH)

  • ux-fitts-target-size - Size interactive targets for easy clicking (min 32px)
  • ux-fitts-hit-area - Expand hit areas with invisible padding or pseudo-elements
  • ux-hicks-minimize-choices - Minimize choices to reduce decision time
  • ux-millers-chunking - Chunk data into groups of 5-9 for scannability
  • ux-doherty-under-400ms - Respond within 400ms to feel instant
  • ux-doherty-perceived-speed - Fake speed with skeletons, optimistic UI, progress indicators
  • ux-postels-accept-messy-input - Accept messy input, output clean data
  • ux-progressive-disclosure - Show what matters now, reveal complexity later
  • ux-jakobs-familiar-patterns - Use familiar UI patterns users know from other sites
  • ux-aesthetic-usability - Visual polish increases perceived usability
  • ux-proximity-grouping - Group related elements spatially with tighter spacing
  • ux-similarity-consistency - Similar elements should look alike
  • ux-common-region-boundaries - Use boundaries to group related content
  • ux-von-restorff-emphasis - Make important elements visually distinct
  • ux-serial-position - Place key items first or last in sequences
  • ux-peak-end-finish-strong - End experiences with clear success states
  • ux-teslers-complexity - Move complexity to the system, not the user
  • ux-goal-gradient-progress - Show progress toward completion
  • ux-zeigarnik-show-incomplete - Show incomplete state to drive completion
  • ux-pragnanz-simplify - Simplify complex visuals into clear forms
  • ux-pareto-prioritize-features - Prioritize the critical 20% of features
  • ux-cognitive-load-reduce - Minimize extraneous cognitive load
  • ux-uniform-connectedness - Visually connect related elements with lines or frames

10. Predictive Prefetching (MEDIUM)

  • prefetch-trajectory-over-hover - Trajectory prediction over hover; reclaims 100-200ms
  • prefetch-not-everything - Prefetch by intent, not viewport; avoid wasted bandwidth
  • prefetch-hit-slop - Use hitSlop to trigger predictions earlier
  • prefetch-touch-fallback - Fall back gracefully on touch devices (no cursor)
  • prefetch-keyboard-tab - Prefetch on keyboard navigation when focus approaches
  • prefetch-use-selectively - Use predictive prefetching where latency is noticeable

11. Typography (MEDIUM)

  • type-tabular-nums-for-data - Tabular numbers for columns, dashboards, pricing
  • type-oldstyle-nums-for-prose - Oldstyle numbers blend into body text
  • type-slashed-zero - Slashed zero in code-adjacent UIs
  • type-opentype-contextual-alternates - Keep calt enabled for contextual glyph adjustment
  • type-disambiguation-stylistic-set - Enable ss02 to distinguish I/l/1 and 0/O
  • type-optical-sizing-auto - Leave font-optical-sizing auto for size-adaptive glyphs
  • type-antialiased-on-retina - Antialiased font smoothing on retina displays
  • type-text-wrap-balance-headings - text-wrap: balance on headings for even lines
  • type-underline-offset - Offset underlines below descenders
  • type-no-font-synthesis - Disable font-synthesis to prevent faux bold/italic
  • type-font-display-swap - Use font-display: swap to avoid invisible text during load
  • type-variable-weight-continuous - Use continuous weight values (100-900) with variable fonts
  • type-text-wrap-pretty - text-wrap: pretty for body text to reduce orphans
  • type-justify-with-hyphens - Pair text-align: justify with hyphens: auto
  • type-letter-spacing-uppercase - Add letter-spacing to uppercase and small-caps text
  • type-proper-fractions - Use diagonal-fractions for proper typographic fractions

12. Visual Design (HIGH)

  • visual-concentric-radius - Inner radius = outer radius minus padding for nested elements
  • visual-layered-shadows - Layer multiple shadows for realistic depth
  • visual-shadow-direction - All shadows share same offset direction (single light source)
  • visual-no-pure-black-shadow - Use neutral colors, not pure black, for shadows
  • visual-shadow-matches-elevation - Shadow size indicates elevation in consistent scale
  • visual-animate-shadow-pseudo - Animate shadow via pseudo-element opacity for performance
  • visual-consistent-spacing-scale - Use a consistent spacing scale, not arbitrary values
  • visual-border-alpha-colors - Semi-transparent borders adapt to any background
  • visual-button-shadow-anatomy - Six-layer shadow anatomy for polished buttons

How to Use

Read individual rule files for detailed explanations and code examples:

rules/timing-under-300ms.md
rules/spring-for-gestures.md
rules/ux-doherty-under-400ms.md
rules/type-tabular-nums-for-data.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

平台分布

Codex

34.68%
按下载量换算6,858

Claude

27.76%
按下载量换算5,490

Cursor

18.31%
按下载量换算3,621

Gemini CLI

9.5%
按下载量换算1,879

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills