laws-of-ux
Installation
SKILL.md
Laws of UX
Psychology-driven constraints for interface decisions, organized by engineering decision. Rules lead; law names follow in parentheses as justification.
Global Principles
These three principles cut across every category below. Apply them everywhere before category-specific rules.
- Remove every element that doesn't serve comprehension. After building, delete one element at a time — if the page still works and communicates clearly, leave it deleted. (Cognitive Load / Occam's Razor)
- Focus engineering on the 20% of features used by 80% of users. The primary flow must be flawless; edge cases adequate. (Pareto / 80-20 Rule)
- Push complexity into the system, not onto the user. Auto-detect timezones, infer file types, pre-fill from context. If the user configures something the system could detect, the system failed. (Tesler's Law)
1. Navigation & Information Architecture
Apply when: designing primary nav, menus, sidebars, site structure, breadcrumbs.
Related skills
More from fasalzein/design-skills
design-qa
Universal UI quality gates — accessibility, consistency, hardening, performance, responsive checks. Pre-ship checklist. Works with any AI agent, any framework.
9design-craft
Universal design principles for AI agents to produce world-class UI. Typography, color, spacing, animation, layout, interaction, component patterns. Eliminates AI slop. Use when building any UI — pages, components, dashboards, forms, landing pages.
9