/ui-ux-design-principles:ui-ux-writing-forms-research-and-ethicsfrom ui-ux-design-principles
Covers UX writing, form design, onboarding, research methods, usability testing, metrics (SUS, HEART), dark patterns, ethics, and AI-era interface principles. Useful when writing interface copy, designing forms, planning research, or auditing for dark patterns.
Ships in ui-ux-design-principles. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 4 of 5 of the UI/UX Design Principles — Mobile, Tablet, Web, Desktop reference (plugin
ui-ux-design-principles), covering §10–§14. Sibling skills:ui-ux-cognition-heuristics-and-navigation(§0–§3),ui-ux-interaction-layout-and-visual-design(§4–§6),ui-ux-design-systems-platforms-and-accessibility(§7–§9),ui-ux-reference(§15–§20). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: Verified August 2026. See §17 →
ui-ux-referencefor the currency snapshot and what goes stale first.Related: Overlaps the
frontend-design:graphic-ux-ui-designskill. That one is oriented to implementation-time component and token decisions; this one is oriented to design reasoning, cross-form-factor principles, research method, and the regulatory landscape. Use both.
How to read this. Reference, not tutorial. Sections are independent. Three markers:
- [DURABLE] — grounded in perception, cognition, motor control, or decades of replicated research. Does not expire. Trust it.
- [PLATFORM] — a convention of Apple, Google, Microsoft, GNOME/KDE, or the web. Verify against the current HIG; these change.
- [CONTESTED] — competent practitioners disagree, or the evidence is thinner than the confidence with which it's usually asserted. Both cases given.
⚠️ GOTCHA boxes mark the mistakes that survive design review and get caught in production, in court, or in the analytics.
The framing that organizes everything below: an interface is a proposal about how a person should think. Good design makes the proposal match how they already think. Every principle in this document is a specialization of that idea — to a thumb, a screen size, a screen reader, a legal regime, or an attention budget.
[DURABLE] The interface is mostly words. Most "confusing UI" is confusing language wearing a layout.
1,234.56 vs 1.234,56 is a real bug.Buttons — a verb naming the outcome. "Save changes", "Create account", "Delete project". Never "OK", "Submit", "Yes/No" for consequential choices. The button label must match the heading that preceded it.
Error messages — three parts, in this order:
Empty states — the most under-designed screen in most products, and a first-run user's first impression. It should: explain what belongs here, why it's empty, and give one clear action to fill it. Distinguish first-use empty (teach), user-cleared empty (celebrate or reassure), no-results empty (offer alternatives and a way to broaden), and error empty (diagnose).
Loading and progress — say what's loading. "Loading your invoices" beats a spinner.
Confirmation and success — name what happened and offer the next step. This is the
"end" in peak-end (§1.4 → ui-ux-cognition-heuristics-and-navigation) and it's cheap to do well.
Microcopy on inputs — a persistent hint below the field (not a placeholder) explaining format requirements before the user fails, not after.
margin-inline-start, not margin-left) and test with a force-RTL flag.if (n === 1).[DURABLE] Every field you remove increases completion. Ask only for what you need now.
| Rule | Why |
|---|---|
| One column. | Multi-column forms cause skipped fields and ambiguous tab order. Exception: genuinely paired short fields (city/state, expiry month/year). |
| Labels above fields, always visible. | Fastest to scan; survives zoom; works with autofill; placeholder-as-label is a documented failure. |
Group related fields with clear spacing (§1.3 → ui-ux-cognition-heuristics-and-navigation). | Proximity does the work. |
| Inline validation after the field loses focus, not on every keystroke. | Validating while typing tells users they're wrong before they've finished being right. |
| Show requirements up front (password rules, format). | Error prevention > error handling (Nielsen #5). |
Correct autocomplete attributes and inputmode. | Autofill is a huge completion win and an accessibility feature. inputmode="numeric" gives the right mobile keyboard. |
| Never mask what the user typed (except passwords, and offer a reveal). | Card numbers, codes, and emails all benefit from being visible for checking. |
| Mark optional fields, not required ones — if most are required. | Fewer asterisks, less noise. |
| Error summary at the top + inline errors + focus the first error. | Screen-reader users and zoomed users can't see an error 2000 px down. |
| Preserve entered data on error. | Losing a filled form is the fastest way to lose a user. |
Baymard Institute's long-running large-scale checkout usability research is the most-cited data set here. Key figures, with the caveats they deserve:
⚠️ Cite these carefully. They are aggregates across many studies and verticals, mostly from one (excellent, commercial) research organization; live-behaviour trackers report higher numbers (Dynamic Yield ~77.8% on a rolling 12-month basis) because they measure something slightly different. Use them to prioritize, not as targets your specific site will hit.
The practical hierarchy: show total cost early → offer guest checkout → cut fields → one obvious next step per screen → visible trust signals near the payment field → support the payment methods your market actually uses.
| Question | Method |
|---|---|
| Can people do the task? | Usability test (moderated or unmoderated) |
| Why do they behave that way? | Interviews, contextual inquiry, diary study |
| What do they do at scale? | Analytics, funnels, session replay |
| Which version performs better? | A/B test |
| How do they think about the domain? | Card sort, tree test, mental-model interview |
| Can they find it? | Tree test (IA without UI) / first-click test |
| Is it accessible? | Expert audit + AT testing + testing with disabled users (§9.5 → ui-ux-design-systems-platforms-and-accessibility) |
| How do they feel over time? | Longitudinal survey (SUS/UMUX-Lite/NPS), diary |
| Does it violate known principles? | Heuristic evaluation (§2.1 → ui-ux-cognition-heuristics-and-navigation) — cheap, fast, and finds different issues than testing |
[DURABLE] Attitudinal ≠ behavioural. What people say they'd do is a poor predictor of what they do. Never ship a feature on survey preference alone.
Nielsen & Landauer's "5 users find ~85% of usability problems" is the most cited and most abused finding in UX. What it actually says: with a problem-detection probability of ~31% per user per problem, five users find about 85% of problems in a single homogeneous user group performing similar tasks. What it does not say:
Rough guide: qualitative usability 5–8 per segment per round; card sort 15–30; tree test 30–50; quantitative benchmark 20+ per condition; A/B test — whatever your power analysis says, calculated before you start.
HEART (Google) — pick per-project, and pair each with a Goal → Signal → Metric: Happiness, Engagement, Adoption, Retention, Task success.
Complementary standards:
ui-ux-interaction-layout-and-visual-design) for web performance.⚠️ Choose metrics that can go down when you make things worse. Engagement metrics are notorious for rewarding dark patterns: time-on-site rises when users are confused, and session count rises when notifications are manipulative. Pair every engagement metric with a quality metric (task success, retention, complaint rate, unsubscribe rate).
[DURABLE] The test is whose interest the design decision serves when the user's and the business's diverge. Persuasion that helps a user do what they already wanted is design. Design that exploits a cognitive bias to produce a choice the user would not otherwise make is a dark pattern — and increasingly, a legal violation.
| Pattern | Mechanism | Regulatory exposure |
|---|---|---|
| Roach motel (easy in, hard out) | Asymmetric effort | FTC: Epic $245M; Amazon $2.5B settlement (which surfaced internal emails on deliberately confusing cancellation) |
| Sneak into basket / drip pricing | Late disclosure | UCPD, FTC |
| Confirmshaming ("No thanks, I hate saving money") | Social/emotional pressure | DFA target |
| Preselected options / pre-ticked boxes | Default exploitation | GDPR consent invalidity |
| Asymmetric consent (bright "Accept all", buried "Reject") | Choice architecture | CNIL fined Google €150M and Microsoft €60M on exactly this; TikTok €345M (Irish DPC) for public-by-default; Amazon €746M |
| False urgency / fake scarcity ("1 room left!") | Manufactured pressure | UCPD; DFA named target |
| Disguised ads | Misrepresentation | FTC endorsement rules |
| Nagging | Repetition until compliance | |
| Obstruction / privacy zuckering | Friction as a weapon | CPRA: "dark patterns are about effect, not intent" |
| Infinite scroll + autoplay + variable rewards | Attention capture | DFA "addictive design" target |
[UNIVERSAL] "It wasn't intentional" is not a defense — the CPPA's stated position is that dark patterns are about effect, not intent. An A/B test that increased conversion by making the reject button harder to find has produced a violation regardless of what anyone meant.
[CONTESTED, and the most overclaimed area in the field.] Two framings:
The synthesis practitioners actually ship: a hybrid — conversational or intent-based entry, traditional UI for execution and refinement. The rule of thumb that circulates and holds up well: if the user can describe the task in one sentence, conversational works; if the task requires manipulation, comparison, precision, or spatial reasoning, give them a UI.
ui-ux-interaction-layout-and-visual-design). Token/credit consumption should be
visible where it matters."Generative UI" — interfaces assembled or adapted at runtime — is real and growing, and NN/g frames the shift as outcome-oriented design: designing adaptive frameworks that respond to individual goals rather than optimizing single interfaces for an average user.
Two documented risks worth holding onto:
Accessibility caution: AI-generated UI and AI-generated code produce plausible markup
with unreliable semantics. Everything in §9 → ui-ux-design-systems-platforms-and-accessibility still has to be verified by a human. Figma's own
framing of its AI outputs is that they still need human review for accessibility, semantics,
and production readiness — take that at face value.
Design tooling has moved fast: Figma's State of the Designer 2026 (survey of 906 designers) reports 72% now use generative AI in their workflows, with 98% having increased usage in the past year and 91% of those saying it improves output quality, not just speed. Figma's Config 2026 introduced code layers on the canvas, design agents, and an MCP server that lets AI agents operate on the file with real design-system context; Penpot (open-source, self-hostable, native DTCG tokens, CSS-native output) shipped an MCP server too and is the credible option for regulated or open-source-constrained teams.
The honest read: these tools compress production, not judgment. The bottleneck moved
from making screens to knowing which screens to make — which is why the durable content in
§1–§4 → ui-ux-cognition-heuristics-and-navigation, ui-ux-interaction-layout-and-visual-design and §12 is worth more now, not less.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/ui-ux-cognition-heuristics-and-navigationUse when reasoning about why an interface works or fails, or structuring one. Covers the four form factors honestly compared (the router for the whole ui-ux-design-principles reference), motor control (Fitts's law), decision and attention (Hick's law), perception and grouping (Gestalt), memory of the experience (peak-end), learning and expertise, Nielsen's 10 heuristics with their failure modes, Norman's model (affordances, signifiers, the gulfs), confirmation vs undo, progressive disclosure and defaults, the IA questions in order, navigation patterns by form factor, search, and wayfinding./ui-ux-design-systems-platforms-and-accessibilityUse when building or governing a design system, matching platform conventions, or meeting accessibility requirements. Covers what a design system actually is, the three-tier token architecture, component API design, measuring adoption; Apple HIG and Liquid Glass, Material 3 and M3 Expressive, web conventions, desktop (macOS, Windows, GNOME, KDE), consistency vs nativeness; and accessibility — the standards and the law in 2026 (WCAG 2.2/3.0, EN 301 549, the European Accessibility Act, ADA Title II), contrast and the APCA question, the practical checklist, and testing.Other plugins' skills for the same job
npx claudepluginhub the-vibey-project/vibey --plugin ui-ux-design-principles