userinterface-wiki

A reference guide for designing and reviewing web interfaces, covering animation, timing, CSS, icons, audio, typography, usability, and performance.

In plain words
What is it for?
Use it when building or reviewing animations, transitions, typography, icons, audio feedback, responsive interactions, or predictive prefetching.
Why use it?
It gives developers concrete rules for spotting common interface problems and making design decisions more consistent.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/raphaelsalaja/userinterface-wiki/skills
Any agent
npx skills add raphaelsalaja/userinterface-wiki --skill skills
Clone the repo
git clone --depth 1 https://github.com/raphaelsalaja/userinterface-wiki

Made for: Claude Code, Codex.

Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00052 $0.03537
Opus 5 $0.00026 $0.01768
Sonnet 5 $0.00010 $0.00707
Haiku 4.5 $0.00005 $0.00354

Measured 3d ago against content hash 663ccc340e7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

userinterface-wiki scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/SKILL.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Priority Category Impact Prefixes
1 Animation Principles CRITICAL timing-, physics-, staging-
2 Timing Functions HIGH spring-, easing-, duration-, none-
3 Exit Animations HIGH exit-, presence-, mode-, nested-
4 CSS Pseudo Elements MEDIUM pseudo-, transition-, native-
5 Audio Feedback MEDIUM a11y-, appropriate-, impl-, weight-
6 Sound Synthesis MEDIUM context-, envelope-, design-, param-
7 Morphing Icons LOW morphing-
8 Container Animation MEDIUM container-
9 Laws of UX HIGH ux-
10 Predictive Prefetching MEDIUM prefetch-
11 Typography MEDIUM type-
12 Visual Design HIGH visual-

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

Read the full file on GitHub · 254 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 254 lines · 52 tokens per session scan A 663ccc340e7e

Subscribe to this mod's changes

userinterface-wiki is a skill published in the GitHub repository raphaelsalaja/userinterface-wiki (884 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 3,537 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

design-guide

Paperclip UI design system guide for building consistent, reusable frontend components. Use when creating new UI components, modifying existing ones, adding pages or features to the frontend, styling UI elements, or when you need to understand the design language and conventions. Covers: component creation, design…

paperclipai/paperclip · 105 tokens

Shade ShadCN install

Guardrails for running pnpm dlx shadcn@latest add in Shade — never overwrite existing components, fresh branch first, swap raw colours for semantic tokens after integrating. Trigger when the user proposes a shadcn add, or when a fresh ShadCN-shaped file lands in apps/shade/src/components/ui.

TryGhost/Ghost · 72 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

mui/material-ui · 67 tokens

author-component

Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable…

dotnet/skills · 148 tokens

obsidian-layout-adjustment

Workflow for working with the user on changing how Obsidian looks using CSS snippets. Use this whenever the user asks to restyle Obsidian, tune a vault's visual layout, adjust tabs, sidebars, note surfaces, properties, backlinks, graph panes, file explorer rows, icons, links, shadows, active states, or CSS snippets.…

Ar9av/obsidian-wiki · 115 tokens