laws-of-ux

Installation
SKILL.md

Overview

This skill guides AI in reviewing and building user interfaces using the 21 Laws of UX. It serves two purposes:

  1. Review mode: Analyze existing UI code for violations of UX principles and suggest improvements.
  2. Guidance mode: Apply UX laws when building new features to ensure usable, intuitive interfaces from the start.

The laws are organized into three categories based on what aspect of the user experience they address:

  • Cognitive & Decision-Making — How users think and process information
  • Visual & Perceptual — How users see and interpret visual layouts
  • Behavioral & Interaction — How users act and respond to interfaces

When reviewing code, check the Review Checklist first to identify which laws are most relevant, then refer to the detailed sections for guidance and examples.

Keywords: UX review, UI review, usability, Laws of UX, UX best practices, user experience, UX audit, UI patterns

Review Checklist

Use this table for quick scanning. Each check maps to one or more laws and tells you what to look for in code.

Related skills

More from rolemodel/rolemodel-skills

Installs
24
GitHub Stars
5
First Seen
Mar 3, 2026