Applies senior UX reasoning when building, changing, reviewing, or auditing any user interface (pages, flows, landing and pricing pages, onboarding, forms, dashboards, tables, modals, design systems). Treats UX first as whether the interface does its job (journey, first impression, attention and hierarchy, clarity of the next action, objections, conversion) and then as execution (states, forms, accessibility, tokens, motion, avoiding a generic AI look). Use proactively whenever code that rend...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ux Design?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/yassine-krichen-ux-design)
---
name: ux-design
description: Applies senior UX reasoning when building, changing, reviewing, or auditing any user interface (pages, flows, landing and pricing pages, onboarding, forms, dashboards, tables, modals, design systems). Treats UX first as whether the interface does its job (journey, first impression, attention and hierarchy, clarity of the next action, objections, conversion) and then as execution (states, forms, accessibility, tokens, motion, avoiding a generic AI look). Use proactively whenever code that renders UI is written or modified, even if the user never says "UX" or "design", e.g. "add a settings page", "build the pricing page", "fix this form", "why does this look cheap", "review this PR's UI", "restyle to match our brand", "why aren't people signing up".
---
# UX Design
UX = the interface does its job: the user knows where they are, what to do, why, and what happens next, with minimum friction and doubt. Visual polish serves that and never substitutes for it. Work in two layers, in order: **effectiveness** (journey, attention, content) then **execution** (components, states, a11y, tokens).
Modes: **build** (new UI) and **audit** (review or fix existing UI, a diff, or a flow). Load only the references the task touches.
## References
| File | Load when |
|---|---|
| `journey.md` | Multi-screen flows, landing/marketing, signup, pricing, checkout, onboarding; anything that must convince (objections, trust, dark-pattern line) |
| `attention.md` | Any screen with a user-facing goal: weight vs importance, CTA clarity, missing context, microcopy |
| `system.md` | Build mode always (read the project's system first); any color, type, spacing, shadow, radius, dark-mode work |
| `states.md` | Anything that loads, submits, or can fail |
| `forms.md` | Inputs, validation, auth, OTP, upload, pickers |
| `overlays.md` | Modals, sheets, toasts, menus, tooltips, z-index |
| `navigation.md` | Nav, tabs, steppers, pagination, focus, responsive/touch |
| `data.md` | Tables, filters, search, charts |
| `interactions.md` | Destructive actions, undo, drag/drop, bulk, inline edit, command palette |
| `motion.md` | Any transition or animation |
| `a11y.md` | Final pass, both modes |
| `anti-slop.md` | Visual/marketing surfaces, "looks cheap/generic", freshly AI-generated UI |
| `laws.md` | Thresholds and laws to cite; Nielsen tags N1-N10 |
| `audit.md` | Audit mode: order, severity, output format |
## Build
0. **Journey** (`journey.md`): funnel stage, the screen's one job, what a first-time viewer must grasp in 5 seconds. Keep brief for an isolated component; never skip for anything a user lands on.
1. **Read the project system** (`system.md`). Existing DESIGN.md, tokens, and sibling screens beat any default. Never create parallel values.
2. **Intent brief** (2-5 lines): user, top task, likely hesitations at this point, worst possible mistake, mode (product or brand). State assumptions and proceed; ask only if the request is open-ended and context can't resolve it.
3. **Content and hierarchy** (`attention.md`): one primary action matching the screen's job, everything else secondary, tertiary, or in overflow. Plan visual weight to follow importance. Write real microcopy, not placeholders.
4. **States** (`states.md`) specified before markup.
5. **Tokens** from the system, no inline one-offs.
6. **Implement** with the relevant component references and `a11y.md`.
7. **Verify**: render or screenshot if tooling allows; rerun the `attention.md` weight-vs-importance check on the finished screen (mismatches often appear only once everything is in place); scan `anti-slop.md`; run `a11y.md`.
## Audit
1. Scope: file, page, diff, or flow.
2. Flow: start with `journey.md`; report journey findings separately (different owner to fix).
3. Every screen: `attention.md` effectiveness pass. This is usually what "UX review" means; a bug-free, polished screen can still fail it.
4. Remaining checks in the order given in `audit.md`, with its severity scale and output format.
5. Fix only when asked: highest severity first, cite the rule for each change, nothing outside the findings.
## Principles
- "Well built" and "does its job" are different questions. Answer the second first.
- Cite the rule or number behind each decision ("one primary action: Hick", "24px target: WCAG 2.5.8"), so reasoning is auditable rather than asserted.
- Specific beats aesthetic: "3.2:1, needs 4.5:1", not "hard to read".
- Numbers marked H in `laws.md` are sensible defaults, not proofs.
- Product surfaces (dense, consistent, restrained) and brand surfaces (expressive) need different instincts. Decide which before styling.
- Don't interrogate the user on routine work.