designing-user-experience
БесплатноБез исполняемых скриптовНе проверенUse when designing how an interface behaves rather than how it looks — user flows, navigation and information architecture, forms and validation, data tables…
от osmontero★ 18 звёзд на GitHubОб этом скилле
Designing User Experience
Overview
Visual design decides what an interface looks like when everything goes right. UX decides what happens the rest of the time — and the rest of the time is most of the time.
Core principle: Design the states, not the screens. A "screen" is one state of a component; shipping only that one is why generated UI looks finished and breaks on contact with real data.
Companion skills: designing-frontend-interfaces for visual craft (its references/app-styles.md carries the app-UI visual conventions), building-accessible-interfaces for access, reviewing-interface-quality to audit a finished UI. Reference: references/app-ui-numbers.md — NN/g- and platform-verified numbers for latency, loading, confirm/undo, tables, and dashboards. Load it whenever a concrete value is in question.
The Iron Law
NO COMPONENT IS DONE UNTIL ITS EMPTY, LOADING, ERROR, AND PARTIAL STATES EXIST
A list that only renders when it has items is not a list component — it is a demo. If the design has no answer for "what does a new user with no data see", the design is incomplete.
Checklist
Create a task for each item:
- Map the flow — entry point → steps → success, and every branch off it
- Fill the state matrix — for every component that touches data
- Design the failure paths — what breaks, what the user sees, how they recover
- Write the copy — buttons, errors, empty states, confirmations
- Design the tables — find, compare, view/edit, act (for anything data-dense)
- Set the feedback budget — what happens at 100ms, 1s, 10s
- Handle the destructive and irreversible — confirm, undo, or both
- Check touch and small viewport — targets, reach, keyboard-open behavior
- Walk the flow as a first-time user — with no data, no permissions, on a slow connection
Step 1: Map the Flow
Before designing screens, write the flow as text. It takes two minutes and exposes gaps no mockup will.
GOAL: Reviewer approves a pending expense
Entry: Email link → deep link into the item (may not be authenticated)
Step 1: Authenticate → already logged in? skip
Step 2: View item + receipt
Step 3: Approve | Reject | Request info
Success: Confirmation + next pending item queued
Exit: No items left → done state, not an empty table
Branches:
Not authorized for this item → explain who is, offer to forward
Item already actioned by someone → show who and when, no error framing
Receipt fails to load → approve still possible, receipt shows retry
Offline mid-approve → queue and retry, tell them it is queued
The branches are the design work. Any flow whose branch list is empty has not been thought about yet.
Reduce steps before styling them. Each step is a chance to abandon. Ask of every one: can this be defaulted, inferred, deferred to later, or removed? A form field that can be derived should not be asked.
Worked flows for the patterns that recur — onboarding, search and filtering, multi-step wizards, undo, permissions and paywalls: references/flow-patterns.md.
Step 2: The State Matrix
Every component that displays data or accepts input has these states. Enumerate them explicitly; do not discover them in production.
| State | Trigger | Requirement |
|---|---|---|
| Empty — first use | New user, nothing created yet | Explain the feature and give the primary action. Never "No data." |
| Empty — no results | Filter or search matched nothing | Echo the query, offer to clear filters. Different from first-use empty. |
| Empty — cleared | User completed everything | Acknowledge it. This is a success state, not an absence. |
| Loading — first | No cached data | Skeleton matching real layout, delayed ~200ms |
| Loading — refresh | Data exists, updating | Keep old data visible, subtle indicator. Never blank the screen. |
| Partial | Some sources failed | Show what loaded, mark what did not, offer retry for that part |
| Error — recoverable | Timeout, 5xx, network | What happened, what to do, a retry control |
| Error — permanent | 404, deleted, revoked | Say it plainly, offer the nearest useful destination |
| Error — permission | 403 | Who does have access, how to request it |
| Offline | Connection lost | What still works, what is queued |
| Too much | 10,000 rows | Pagination or virtualization, plus a count |
| Stale | Cache older than threshold | Timestamp and a refresh control |
| Success | Action completed | Confirm it, and say what changed |
The four empty states are genuinely different. Collapsing them into one "No items found" is the most common UX shortcut in generated interfaces.
First use: "No expenses yet — add your first to start tracking." [Add expense]
No results: "No expenses match 'q3 travel'." [Clear filters]
Cleared: "All caught
Установить designing-user-experience в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл designing-user-experience?
Use when designing how an interface behaves rather than how it looks — user flows, navigation and information architecture, forms and validation, data tables, loading/empty/error states, confirmation and undo for destructive actions, button and error message wording, feedback for slow operations, or mobile and touch behavior. Also use when a UI looks finished but breaks on bad input, slow networks, no data, or first use.
Как установить скилл designing-user-experience?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл designing-user-experience запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic