ux-laws
Skill0 starsChanged 43 days agoMITView on GitHub
Apply the twenty classic UX laws — Hick's, Fitts's, Jakob's, proximity, Miller's, Doherty threshold, Von Restorff, target distance, serial position, peak-end, Zeigarnik, Prägnanz, similarity, uniform connectedness, Tesler's, Postel's, aesthetic-usability, Parkinson's, Occam's razor, Pareto — as a design pass and a review checklist. Use whenever building or critiquing a user interface: landing pages, dashboards, forms, onboarding flows, navigation, settings screens, mobile layouts, emails. Triggers on "design this screen", "make this UI better", "review this interface", "why does this feel clunky", "too many options", "simplify this form", "UX review", "design critique", "apply UX laws", "make this easier to use". Also use before shipping any screen a real user will touch. NOT for visual brand identity, colour palettes, or data visualisation — those have their own skills.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Aluxads/claude-skillstheir own version, first seen Nov 8, 2026
- rory4154154/ux-laws-skilltheir own version, first seen Oct 25, 2026
- ricardooschutz/claude-skillstheir own version, first seen Sep 10, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- rory4154154/ux-laws-skill★ 2same name
- Aluxads/claude-skills★ 0same name
- ricardooschutz/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- backcastSkill
- copywriterSkill
- icm-projectSkill
- logSkill
- memory-lintSkill
- task-shapeSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 57
If you are using one to justify a new element, check that you have read it right.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UX Laws
Twenty heuristics from cognitive psychology and interaction design. They are not style rules. Each one predicts a measurable behaviour — how long a click takes, how many options cause paralysis, what a user remembers afterwards.
The full set, with the design move and the check for each, is in
references/laws.md. Read that file before applying
this skill. Do not work from memory of the names.
How to use it
Designing. Pick the three or four laws that govern the screen's job before writing markup. A form is Hick's + Miller's + Tesler's. A landing page is Von Restorff + serial position + Pareto. A dashboard is proximity + similarity
- uniform connectedness. Naming them first stops the design from becoming a pile of preferences.
Reviewing. Walk the checklist in references/laws.md and report only
violations, each as: the law, what breaks, the specific fix. No score, no
grade, no praise for what already works.
The rules that make it useful
- Cite the law when you invoke it. "Cut this to five options (Hick's law)" is a reviewable claim. "This feels cluttered" is not.
- Laws collide, and the collision is the design decision. Tesler's law says complexity must live somewhere; Hick's law says not in front of the user. Resolving that trade-off explicitly is the work — say which one you chose and why.
- Designing: never more than four laws for one screen. Twenty applied at once is the same as none applied. Pick the ones that govern the screen's job and let the rest go.
- Reviewing: no cap. Report every violation you find. A cap here would mean withholding a real defect to hit a number, which is the rule failing rather than the screen passing. Order the findings by fix cost against impact — one-line fixes first, structural ones last — so the list can be worked top-down and stopped anywhere.
- A law is not a reason to add. Most of the twenty argue for removal. If you are using one to justify a new element, check that you have read it right.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

