laws-of-ui
Installation
SKILL.md
Laws of UI
Give specific, evidence-aware guidance for a web interface or flow. Use the Laws of UI as explanatory lenses, not universal rules or substitutes for user research, usability testing, or accessibility standards.
Route the request
- Audit an existing page or flow (live site, screenshot, prototype, or source): read references/audit-workflow.md.
- Plan a page or flow that does not exist yet: read references/new-page-workflow.md.
- Redesign an existing interface: read both workflow references; distinguish observed problems from proposed changes.
- Review one component or interaction: use only the relevant parts of the audit workflow and references.
- Read references/ux-principles.md when a principle helps explain a specific finding or design choice. Do not force a law name into every recommendation.
- When the request includes accessibility evaluation or interactive semantics, read references/accessibility-checks.md.
If the request mixes modes, cover each requested mode. If key context is missing, state a reasonable assumption and continue when possible; ask only when the answer would materially change the work.