# UX.md > UX rules for AI coding agents. 48 rules in 9 categories, each with a reason, a do and a don't, and a test. To use them, read the full rule set and follow it when building or reviewing user interfaces. MUST rules are requirements; SHOULD rules are strong defaults. Report issues by rule ID. ## Rules - [All rules in one file](https://ux-md.com/ux-full.md): the complete rule set as markdown - [Entry file](https://ux-md.com/ux.md): principles and links to each category - [Forms](https://ux-md.com/rules/forms.md): Labels, validation and errors that help people finish, and never lose their work. - [States](https://ux-md.com/rules/states.md): Empty, loading, error and edge-case states, beyond the happy path that agents tend to stop at. - [Feedback](https://ux-md.com/rules/feedback.md): Every action gets a response, and people always know whether something worked. - [Navigation](https://ux-md.com/rules/navigation.md): People always know where they are, how they got there, and how to get back. - [Accessibility](https://ux-md.com/rules/accessibility.md): Contrast, keyboard, focus and alternatives, so the product works for everyone. - [Content](https://ux-md.com/rules/content.md): Words that make the product easier to use, with clear actions, one name per thing, and plain language. - [Destructive actions](https://ux-md.com/rules/actions.md): Deleting, cancelling and other actions people can't easily take back. - [Touch and responsive](https://ux-md.com/rules/mobile.md): Targets, zoom and layouts that hold up on small screens and real thumbs. - [Visual craft](https://ux-md.com/rules/visual.md): Hierarchy, focus and restraint, and how to avoid the generic look of AI-made UI. ## Optional - [Rules as JSON](https://ux-md.com/rules.json) - [Source on GitHub](https://github.com/kasper-ux/uxmd)