/interface-design:ux-designfrom interface-design
Use when designing UI behavior, writing user-facing copy, handling errors/empty states, or auditing an existing interface for usability problems. Triggers on form design, error messages, empty states, confirmation dialogs, loading states, navigation, search, authentication flows, and any user-facing text.
Ships in interface-design. 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.
A synthesized set of interaction design principles for building interfaces that are helpful, self-explanatory, and human-friendly. Draws from Jakob Nielsen's 10 usability heuristics, Ben Shneiderman's 8 golden rules, Alan Cooper's 16 principles for considerate products (About Face), Jason Fried's Defensive Design for the Web, Don Norman's design principles, Bruce Tognazzini's first principles of interaction design, and Jon Yablonski's Laws of UX.
Use this skill to design new UI behavior with the right defaults, write user-facing copy that speaks human, or audit existing interfaces against proven heuristics.
This skill covers WHAT to build (behavior, feedback, copy, error handling, information design).
DESIGN FOR BEHAVIOR AND RECOVERY, NOT APPEARANCE
Every UI decision passes through this: does this help the user do something, understand something, or recover from something? If it is only about how things look, it is not a design decision - it is a style decision. Style comes after behavior is confirmed.
Violating the letter of this rule is violating the spirit of it.
These principles do contain always-applicable design mindset. Every UI decision should pass through these.
Use the user's language, never the system's. No error codes, no jargon, no developer-speak. Follow real-world conventions for ordering, formatting, and metaphors - dates, currencies, and icons should match what users expect from their context. If a non-technical person wouldn't say it out loud, rewrite it.
Nielsen #2 (match real world), Cooper #12 (don't ask questions), Fried: Language Matters
Users always know three things: where they are, what just happened, and what they can do next. Feedback within 1 second for any action. Progress indication for anything longer. Proactively surface relevant information the user hasn't asked for but would benefit from - upcoming deadlines, related items, status changes.
Nielsen #1 (visibility of system status), Shneiderman #3 (feedback) and #4 (closure), Cooper #3 (forthcoming), #9 (keep informed)
Design so errors can't happen. Disable invalid options, constrain inputs, use smart defaults. Prevent slips (unconscious errors like typos) with input masks and constraints. Prevent mistakes (wrong mental model) with clear labels and confirmation for irreversible actions. Allow flexible intermediate states - let users save incomplete work and validate for completeness only at the final step.
Nielsen #5 (error prevention), Shneiderman #5 (error handling), Cooper #14 (bend the rules), #16 (help avoid mistakes), Fried: Plan for Failure
Users initiate, the system responds. Never trap users in flows, lecture them with modals, or take away control. Offer clearly marked exits at every step, support undo, allow skipping. The user is in charge.
Nielsen #3 (user control and freedom), Shneiderman #6 (reversal) and #7 (locus of control), Cooper #2 (deferential) and #11 (self-confident)
Don't make users remember, repeat, or re-enter. Recognize over recall - make all available actions visible in context. Anticipate needs, offer smart defaults, remember preferences. Observe usage patterns and adapt: surface recently used items, adjust defaults to match behavior. Design for different skill levels - provide keyboard shortcuts and accelerators for power users while keeping the interface learnable for beginners. Every question the UI doesn't ask is a gift.
Nielsen #6 (recognition over recall) and #7 (flexibility and efficiency), Shneiderman #2 (shortcuts) and #8 (reduce memory load), Cooper #1 (take interest), #6 (anticipate needs), #10 (perceptive), #12 (don't ask questions)
Every action has a visible result. Every sequence has a clear ending. Users should never wonder "did that work?" after clicking a button or completing a flow. Follow through comprehensively - when a user changes something, handle all related consequences, not just the one field they touched.
Shneiderman #4 (closure), Cooper #7 (conscientious), #15 (take responsibility)
When things go wrong, protect user data first, explain simply second, offer next steps third. Never show raw system state, stack traces, or generic "something went wrong" messages. Never expose sensitive information in error messages - no usernames, email addresses, internal paths, or details that reveal system architecture. Handle the Three D's: Distraction (user missed something), Disorientation (user doesn't know where they are), and Doubt (user isn't sure what happened or what to do).
Cooper #5 (use discretion), #8 (don't burden with problems), #13 (fail gracefully), Fried: Three D's, Nielsen #9 (help users recognize and recover)
Same thing looks and works the same way everywhere. Patterns, not surprises. Internal consistency (within the app) and external consistency (with platform conventions) both matter.
Nielsen #4 (consistency and standards), Shneiderman #1 (strive for consistency)
Every element on screen competes with every other element for attention. Prioritize frequent actions over rare ones - common tasks should be prominent, advanced features accessible but not competing. Remove information that doesn't help the user's current task. When in doubt, hide it behind progressive disclosure rather than showing everything at once.
Nielsen #8 (aesthetic and minimalist design), Cooper #4 (use common sense)
Accept messy input gracefully. Phone numbers with or without dashes, dates in multiple formats, extra whitespace, inconsistent capitalization - normalize it silently instead of rejecting it. The interface should work as hard as a helpful human colleague who understands what you meant, not a bureaucrat who rejects your form for a missing hyphen.
Postel's Law (be liberal in what you accept), Tog #15 (protect users' work)
Interactive elements must look interactive. Non-interactive elements must not. Buttons look clickable, links look like links, disabled controls look disabled. Users should never have to click something to find out if it's clickable. The interface should be self-explanatory without any help text - users don't read instructions, they just start clicking.
Norman: affordance, Tog #7 (discoverability), Tog: Paradox of the Active User
When designing a specific UI element, find your situation and apply the listed rules.
Principles: Speak human, Fail gracefully
Say what happened, why, and what to do. Never codes, blame, or jargon. Place the message next to the problem, not in a distant banner. Never reveal sensitive system details (database names, stack traces, internal IDs, other users' data).
Bad: "Error: Invalid input in field 'email'"
Bad: "Something went wrong. Please try again."
Good: "That email address needs an @ symbol - check for typos."
Good: "We couldn't save your changes because the connection dropped. Your draft is safe."
Formula: [What happened] + [Why] + [What to do next]
Principles: Close the loop, Reduce work
Explain why it's empty, show how to fill it, offer a primary action. An empty state is a teaching moment, not a dead end.
Bad: "No results found."
Bad: "There are no items to display."
Good: "No projects yet. Create your first project to get started."
Good: "No submissions match these filters. Try broadening your search or clearing filters."
Formula: [Why it's empty] + [What to do about it]
Principles: Show where they are
Show progress if longer than 1 second. Use skeleton screens over spinners where possible. Never show a blank page. Describe what's actually happening when you can.
Bad: "Loading..."
Bad: "Please wait."
Good: "Checking submission requirements..."
Good: "Importing 24 of 89 films..."
Formula: [Present participle of what's happening] + [Progress if known]
Principles: Prevent before cure, Reduce work
Validate inline on blur, not on submit. Use smart defaults and pre-fill what you already know. Always preserve user input on error - never clear the form. Group related fields. Mark optional fields, not required ones (most fields should be required by design). Allow saving incomplete work as drafts - validate for completeness only at the final submission step, not at every save. Accept messy input: normalize phone numbers, trim whitespace, accept multiple date formats - parse generously instead of demanding exact formats.
Principles: Respect autonomy, Prevent before cure
Describe concrete consequences, not "Are you sure?" Name what will be affected and what can't be undone. Prefer undo over confirmation dialogs when the action is reversible. Make the safe option visually primary.
Bad: "Are you sure?"
Bad: "Warning: This action cannot be undone."
Good: "Delete 'Summer Film Festival'? This removes all 12 submissions and cannot be undone."
Good: "Remove yourself from this project? You'll lose access to all shared files."
Formula: [Verb + specific object] + [Concrete consequence]
Principles: Close the loop
Confirm what happened and what changed. Keep it brief and dismissable. Toast/flash messages work well. For significant actions, show what was created/changed.
Principles: Fail gracefully, Reduce work, Show only what matters
No results: Suggest spelling corrections, offer alternative queries, explain what was searched and in what scope. Never just "No results."
Too many results: Offer filters, facets, or sorting to narrow down. Show result count and scope.
Typos and fuzzy matches: Map common misspellings to correct results. Show "Did you mean...?" when returning inexact matches, and explain why these results are shown.
Search tips: For complex search, offer tips or syntax help - but keep the default search simple. Advanced search should be opt-in, never the default.
Principles: Show where they are, Be consistent
Clear page titles, active states in navigation, breadcrumbs for deep hierarchies. The user should never ask "where am I?" or "how do I get back?"
Principles: Speak human
Always verb + object: "Save draft", "Delete project", "Add submission". Never generic "Submit", "OK", "Click here". Both buttons in a confirmation pair should be specific ("Delete project" / "Keep project", not "Yes" / "No").
Principles: Reduce work, Speak human
Inline help: At the point of need, not in a separate docs page. One sentence max. Explain why, not just what. Use placeholder text for format hints, helper text below the field for context.
Task-level help: For complex features, provide searchable documentation focused on completing specific tasks. List concrete steps, not abstract concepts. Users should be able to find help without leaving their current task.
Onboarding: For first-time users, guide them through key features with contextual tips or a brief walkthrough. Let users skip or dismiss onboarding at any time.
Principles: Fail gracefully, Close the loop
Show that the item exists but explain why it's unavailable (expired, sold out, restricted). Offer alternatives, or let the user be notified when it becomes available. Never silently hide things.
Principles: Show where they are, Close the loop
Show which step the user is on and how many remain. Allow going back without losing progress. Preserve state across steps. Users get more motivated as they approach completion (Goal-Gradient Effect) - show concrete progress, especially in the final steps. People judge experiences by their peak moment and ending (Peak-End Rule) - invest in a satisfying final step and success confirmation rather than making every step equally polished.
Principles: Fail gracefully, Prevent before cure, Reduce work
Bad login: Don't reveal whether the username or password was wrong - say "Email or password is incorrect" to avoid leaking valid accounts. Offer password reset inline, not as a separate hunt.
Forgotten password: Make the reset flow immediately accessible from the login form. Confirm that the reset was sent without revealing whether the account exists ("If an account exists for that email, we've sent a reset link").
Session expiry: Warn before expiring if possible. When a session expires mid-task, preserve the user's work and explain what happened. After re-authentication, return to where they were.
Account lockout: Explain why access is restricted and how long the lockout lasts. Offer alternative recovery paths (email, support).
Principles: Fail gracefully, Respect autonomy
Mask password inputs by default but allow toggling visibility. Never log, display in URLs, or echo back sensitive data (passwords, tokens, payment details). In error messages, never include other users' information. Confirm before exposing sensitive fields, and auto-hide them after a timeout.
Principles: Speak human, Prevent before cure
Explain what's needed and why, or what's specifically wrong. Never generic "invalid" or "required" messages.
Bad: "This field is required."
Bad: "Invalid format."
Good: "Add a title so reviewers can find your film."
Good: "Phone numbers need 10 digits - you've entered 8."
Formula: [What's needed] + [Why it matters OR what's specifically wrong]
Principles: Fail gracefully, Show where they are
Explain that the page wasn't found in plain language. Offer navigation back to a known location, suggest search, and link to common destinations. Never show a raw server error page.
Task-based audit inspired by Fried's Defensive Design. Role-play as a distracted, confused, or hurried user - apply the Three D's lens (Distraction, Disorientation, Doubt) to every scenario. Each item is pass/fail - any fail gets a note naming what's wrong and which core principle it violates.
| If you're thinking... | Do this |
|---|---|
| "Users will figure it out" | Apply "Look like what you do" - if it needs figuring out, redesign it |
| "We'll handle that error state later" | Apply "Fail gracefully" - error states are not edge cases, design them now |
| "'Submit' is fine here" | Apply "Speak human" - every button needs verb + object |
| "The empty state is obvious" | Apply "Close the loop" - explain why it's empty and what to do |
| "Generic 'Something went wrong' is enough" | Apply "Fail gracefully" - say what happened, why, and what to do next |
| "We'll polish the error messages before launch" | Apply "Fail gracefully" - error messages are core behavior, not polish. Write them now. |
| Excuse | Reality |
|---|---|
| "That error state is unlikely" | Plan for every failure. Unlikely states are the ones that destroy trust when they happen. |
| "Users can read the label" | Users don't read - they click and discover. Design for that. |
| "The confirmation dialog is self-explanatory" | "Are you sure?" tells the user nothing. Name what will be affected. |
| "We'll add the empty state later" | Empty states are first impressions for new users. Design them first. |
| "High fidelity first so stakeholders can see it" | Wire behavior first. Behavior must be confirmed before appearance is worth investing in. |
Maps the audit scenarios to the core principles they test - when an audit item fails, apply the listed principles to fix it.
| Audit scenario | Core principles to apply |
|---|---|
| Try to fail | Fail gracefully, Prevent before cure |
| Try to get lost | Show where they are, Be consistent |
| Try to do nothing | Close the loop, Fail gracefully |
| Try to recover | Respect autonomy, Be forgiving |
| Try to understand | Speak human, Look like what you do |
| Try to trust | Close the loop, Fail gracefully |
| Try to be sloppy | Be forgiving, Prevent before cure |
| Try to go fast | Reduce work, Be consistent |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub xu-chris/ai-setup --plugin interface-design