userinterface-wiki

Reviews web UI code against 152 rules covering animation, CSS, audio, typography, and UX patterns.

Updated May 12, 2026
One-click install
npx skills add https://github.com/ahemdatef/Gradution-Project-iLMS-Software --skill userinterface-wiki-ahemdatef
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: userinterface-wiki
Source: https://github.com/ahemdatef/Gradution-Project-iLMS-Software/tree/main/frontend/.agents/skills/userinterface-wiki
Command: npx skills add https://github.com/ahemdatef/Gradution-Project-iLMS-Software --skill userinterface-wiki-ahemdatef

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Web interfaces often ship with subtle quality issues: animations that exceed 300ms, missing exit animations in AnimatePresence, incorrect easing curves, poor typography defaults, and violations of established UX laws. This Skill provides a structured rulebook of 152 UI/UX best practices across 12 categories so AI agents can review, generate, or refactor frontend code consistently. ## Core Features & Use Cases - Prioritized Rule System: 152 rules organized by impact (CRITICAL to LOW) across animation principles, timing functions, exit animations, CSS pseudo-elements, audio feedback, sound synthesis, morphing icons, container animation, laws of UX, predictive prefetching, typography, and visual design. - Code Examples for Every Rule: Each rule file includes incorrect vs. correct implementations in CSS, TypeScript, and React/Motion (Framer Motion) for direct application during code review. - Quick Reference Index: SKILL.md provides prefixed rule IDs (e.g., timing-under-300ms, exit-requires-wrapper) for fast lookup, with a full compiled guide in AGENTS.md. - Use Case: When reviewing a React component with a modal, apply the exit animation rules to verify AnimatePresence wrapping, exit prop symmetry, and ease-in timing, then report findings as file:line references. ## Quick Start Ask the agent to review your React component's animations and CSS against the userinterface-wiki rules and report violations with file and line references.

Frequently Asked Questions about userinterface-wiki

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review React animations against UI best practices?

Apply the animation principles and timing function rules to check that user-initiated animations stay under 300ms, gesture-driven motion uses springs instead of easing, and high-frequency interactions like typing have no animation. Each rule includes incorrect and correct Motion/Framer Motion code examples.

What rules exist for Framer Motion AnimatePresence exit animations?

Twelve rules cover exit animations: wrapping conditional elements in AnimatePresence, defining exit props, using unique keys instead of indexes, mirroring initial for symmetric exits, calling safeToRemove after async work, and using popLayout mode for list reordering.

Does this guide cover CSS and typography best practices?

Yes, it includes 15 CSS pseudo-element rules covering ::before, ::after, View Transitions API, ::backdrop, and ::selection, plus 16 typography rules covering tabular numbers, OpenType features, variable font weights, text-wrap, and font-display swap.

When should I use springs versus easing curves in animations?

Use springs for gesture-driven or interruptible motion like dragging, since they preserve input velocity and survive interruption. Use easing curves for system-initiated state changes: ease-out for entrances, ease-in for exits, and ease-in-out for view transitions.

Can I use these rules for Web Audio API sound design?

Yes, 27 rules cover audio feedback and sound synthesis, including reusing a single AudioContext, exponential decay ramps targeting 0.001 instead of zero, filtered noise for clicks at 5-15ms duration, and accessibility requirements like visual equivalents and volume controls.

What are the limitations of this UI rule collection?

The rules target React with Motion/Framer Motion, CSS, and Web Audio API specifically, so examples do not directly apply to Vue, Angular, or native mobile platforms. It is a reference guide for review and generation, not an automated linting tool with executable checks.