From best-skills
Apply Laws of UX (lawsofux.com) principles to design and build winning customer experiences. 30 psychology-backed UX laws covering usability, perception, memory, decision-making, and interaction design. Use when the user says 'lawofux', 'laws of ux', or asks to design an app, modify UI/UX, review UX, build a user interface, improve user experience, create a landing page, design a dashboard, or any task involving UI design, app design, or UX optimization.
How this skill is triggered — by the user, by Claude, or both
Slash command
/best-skills:lawofuxThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apply 30 evidence-based UX laws from lawsofux.com to every design decision. Reference: [references/laws.md](references/laws.md) for full details on each law.
Apply 30 evidence-based UX laws from lawsofux.com to every design decision. Reference: references/laws.md for full details on each law.
Identify which UX laws are most relevant to the current design task:
| Task Type | Primary Laws to Apply |
|---|---|
| Navigation/IA | Hick's Law, Serial Position Effect, Miller's Law, Chunking |
| Forms/Input | Postel's Law, Doherty Threshold, Goal-Gradient, Tesler's Law |
| Landing/Marketing | Aesthetic-Usability, Von Restorff, Peak-End Rule, Fitts's Law |
| Dashboards/Data | Cognitive Load, Law of Proximity, Chunking, Law of Pragnanz |
| Onboarding | Paradox of Active User, Hick's Law, Zeigarnik Effect, Goal-Gradient |
| E-commerce | Choice Overload, Serial Position, Jakob's Law, Peak-End Rule |
| Mobile | Fitts's Law, Miller's Law, Flow, Doherty Threshold |
| Settings/Config | Tesler's Law, Pareto Principle, Hick's Law, Occam's Razor |
For every UI component or screen, run through this checklist:
Reduce Friction
Guide Attention
Match Expectations
Drive Completion
When presenting designs, briefly note which laws informed key decisions:
// CTA button: 48px height, high-contrast color (Fitts's Law + Von Restorff)
// Nav: 5 items max, key actions at edges (Hick's Law + Serial Position)
// Form: 3-step wizard with progress bar (Goal-Gradient + Chunking)
Read references/laws.md for complete descriptions, origins, takeaways, and application guidance for all 30 laws.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub smaroc/best-skills-marketplace --plugin best-skills