UX Patterns & Architecture
This skill guides UX decisions that make interfaces feel intuitive and frictionless. The goal: users complete their tasks without noticing the interface.
Mantra: Don't make users think. Let them work.
Core UX Principles
1. Show What's Needed, Hide What's Not
Every element competes for attention. Earn every pixel.
- Primary actions visible, secondary tucked away
- Context determines what's shown
- Progressive disclosure over information overload
2. Keep Users Oriented
Users should always know: Where am I? Where can I go? How do I get back?
- Clear navigation hierarchy
- Visible breadcrumbs for deep content
- Consistent location indicators
3. Make Actions Reversible
Confident users move fast. Let them undo mistakes.
- Undo over confirmation dialogs
- Soft delete with recovery
- Auto-save with version history
4. Reduce Decisions
Every choice is cognitive load. Make smart defaults.
- Sensible defaults based on context
- Remember user preferences
- Offer presets over many options
5. Keep Users Informed
Never leave users wondering what's happening.
- Loading states with progress
- Clear success/error feedback
- Visible system status
Decision Framework
When Designing a Page
Ask in order:
What's the one job of this page?
- If it has multiple jobs, it might need to be multiple pages
- Every element should support that job
What must users see immediately?
- Page title and context
- Primary action
- Enough content to understand the page
What can be revealed later?
- Secondary actions → overflow menu
- Advanced options → "Show more" or section
- Rare features → settings or help
What are all the states?
- Empty: What should user do?
- Loading: What are we waiting for?
- Error: How do they recover?
- Success: What's next?
When Choosing a Pattern
| User Need |
Pattern |
| Navigate structure |
Sidebar navigation |
| Find specific item |
Search + filters |
| Browse options |
Cards or list |
| Complete a task |
Form or wizard |
| See overview |
Dashboard |
| Focus on one thing |
Full-page view |
| Quick reference |
Slide-over panel |
| Immediate action |
Inline editing |
When Showing Information
| Amount |
Pattern |
| 2-5 options |
Segmented control, radio cards |
| 5-15 options |
Dropdown, list |
| 15+ options |
Search + filter |
| Hierarchical |
Tree, nested lists |
| Comparative |
Table, cards side-by-side |
| Temporal |
Timeline, activity feed |
When Asking for Confirmation
| Risk Level |
Pattern |
| Low (reversible) |
No confirmation, offer undo |
| Medium (recoverable) |
Toast with undo |
| High (hard to reverse) |
Confirmation dialog |
| Critical (irreversible) |
Explicit acknowledgment (type to confirm) |
Page Anatomy Checklist
Every page needs:
Header Pattern
← Back to [Parent] [Secondary] [Primary]
Page Title
Optional description or metadata
[Tab 1] [Tab 2] [Tab 3]
─────────────────────────────────────────────────────────────────────
Quick Heuristics
The 3-Second Test
Show any screen for 3 seconds. User should know:
- What page is this?
- What's the main action?
- How do I get back?
The Squint Test
Blur the screen. Can you still see:
- Primary vs secondary content?
- Where to click/tap?
- Visual grouping?
The "What If" Test
- What if there's 0 items? (empty state)
- What if there's 1 item? (singular language)
- What if there's 1000 items? (pagination/virtualization)
- What if text is very long? (truncation)
- What if user is offline? (graceful degradation)
- What if action fails? (error recovery)
Reference Files
Detailed patterns organized by domain:
- navigation.md — Wayfinding, navigation hierarchy, information scent, breadcrumbs, modern nav patterns
- layouts.md — Page structure, visual hierarchy, content zones, responsive strategies, density
- simplification.md — Modern alternatives to old patterns, progressive disclosure, smart defaults, reducing complexity
- copy.md — UX writing, labels, error messages, empty states, onboarding copy
- control.md — User agency, undo patterns, keeping users informed, preventing mistakes, building trust
Anti-Patterns to Avoid
Navigation:
- Hidden navigation on desktop (hamburger menus)
- Icons without labels
- More than 3-4 levels deep
- Breaking the back button
Information:
- Showing everything at once
- Important info below the fold with no indication
- Inconsistent terminology
- Technical jargon in user-facing copy
Actions:
- "Are you sure?" for everything
- No undo for destructive actions
- "Submit" instead of specific action
- Actions that don't match their labels
Feedback:
- Silent failures
- Generic error messages ("Error")
- No loading indicators
- Auto-dismissing important messages
Quick Reference
Modern Pattern Replacements
| Old |
New |
| Dropdown (few options) |
Segmented control |
| Dropdown (many options) |
Combobox with search |
| Modal for editing |
Slide-over panel or inline edit |
| "Are you sure?" dialogs |
Undo after action |
| Pagination |
Infinite scroll or load more |
| Multi-page wizard |
Single page with sections |
| Tooltip-only help |
Inline help text |
| Accordion FAQ |
Expanded sections + search |
Empty State Formula
Title: What this area is for
Description: Why empty + what to do
Action: [Primary CTA]
Error Message Formula
What happened + Why (if helpful) + How to fix
Button Label Rules
- Use specific verbs: "Save changes" not "Submit"
- Match the trigger: Link says "Edit" → button says "Save"
- Destructive: Repeat the action verb in confirmation
UX Checklist
Before shipping any interface:
Structure:
Navigation:
States:
Control:
Copy:
1---2name: ux-patterns3description: Design intuitive, frictionless user experiences that keep users in control and informed. Use this skill when making UX decisions about page structure, information architecture, navigation patterns, content hierarchy, user flows, or when simplifying complex interactions. Focuses on making users feel at home, reducing cognitive load, and crafting interfaces where users just do their work without thinking about the interface.4---56# UX Patterns & Architecture78This skill guides UX decisions that make interfaces feel intuitive and frictionless. The goal: users complete their tasks without noticing the interface.910**Mantra:** Don't make users think. Let them work.1112## Core UX Principles1314### 1. Show What's Needed, Hide What's Not15Every element competes for attention. Earn every pixel.16- Primary actions visible, secondary tucked away17- Context determines what's shown18- Progressive disclosure over information overload1920### 2. Keep Users Oriented21Users should always know: Where am I? Where can I go? How do I get back?22- Clear navigation hierarchy23- Visible breadcrumbs for deep content24- Consistent location indicators2526### 3. Make Actions Reversible27Confident users move fast. Let them undo mistakes.28- Undo over confirmation dialogs29- Soft delete with recovery30- Auto-save with version history3132### 4. Reduce Decisions33Every choice is cognitive load. Make smart defaults.34- Sensible defaults based on context35- Remember user preferences36- Offer presets over many options3738### 5. Keep Users Informed39Never leave users wondering what's happening.40- Loading states with progress41- Clear success/error feedback42- Visible system status4344## Decision Framework4546### When Designing a Page4748Ask in order:49501. **What's the one job of this page?**51 - If it has multiple jobs, it might need to be multiple pages52 - Every element should support that job53542. **What must users see immediately?**55 - Page title and context56 - Primary action57 - Enough content to understand the page58593. **What can be revealed later?**60 - Secondary actions → overflow menu61 - Advanced options → "Show more" or section62 - Rare features → settings or help63644. **What are all the states?**65 - Empty: What should user do?66 - Loading: What are we waiting for?67 - Error: How do they recover?68 - Success: What's next?6970### When Choosing a Pattern7172| User Need | Pattern |73|-----------|---------|74| Navigate structure | Sidebar navigation |75| Find specific item | Search + filters |76| Browse options | Cards or list |77| Complete a task | Form or wizard |78| See overview | Dashboard |79| Focus on one thing | Full-page view |80| Quick reference | Slide-over panel |81| Immediate action | Inline editing |8283### When Showing Information8485| Amount | Pattern |86|--------|---------|87| 2-5 options | Segmented control, radio cards |88| 5-15 options | Dropdown, list |89| 15+ options | Search + filter |90| Hierarchical | Tree, nested lists |91| Comparative | Table, cards side-by-side |92| Temporal | Timeline, activity feed |9394### When Asking for Confirmation9596| Risk Level | Pattern |97|------------|---------|98| Low (reversible) | No confirmation, offer undo |99| Medium (recoverable) | Toast with undo |100| High (hard to reverse) | Confirmation dialog |101| Critical (irreversible) | Explicit acknowledgment (type to confirm) |102103## Page Anatomy Checklist104105Every page needs:106107- [ ] **Clear title** — What is this page?108- [ ] **Context** — How did I get here? (breadcrumb or back)109- [ ] **Primary action** — What can I do? (top-right)110- [ ] **Main content** — Why I'm here111- [ ] **Clear states** — Loading, empty, error handled112113### Header Pattern114```115← Back to [Parent] [Secondary] [Primary]116Page Title117Optional description or metadata118[Tab 1] [Tab 2] [Tab 3]119─────────────────────────────────────────────────────────────────────120```121122## Quick Heuristics123124### The 3-Second Test125Show any screen for 3 seconds. User should know:126- What page is this?127- What's the main action?128- How do I get back?129130### The Squint Test131Blur the screen. Can you still see:132- Primary vs secondary content?133- Where to click/tap?134- Visual grouping?135136### The "What If" Test137- What if there's 0 items? (empty state)138- What if there's 1 item? (singular language)139- What if there's 1000 items? (pagination/virtualization)140- What if text is very long? (truncation)141- What if user is offline? (graceful degradation)142- What if action fails? (error recovery)143144## Reference Files145146Detailed patterns organized by domain:147148- **[navigation.md](references/navigation.md)** — Wayfinding, navigation hierarchy, information scent, breadcrumbs, modern nav patterns149- **[layouts.md](references/layouts.md)** — Page structure, visual hierarchy, content zones, responsive strategies, density150- **[simplification.md](references/simplification.md)** — Modern alternatives to old patterns, progressive disclosure, smart defaults, reducing complexity151- **[copy.md](references/copy.md)** — UX writing, labels, error messages, empty states, onboarding copy152- **[control.md](references/control.md)** — User agency, undo patterns, keeping users informed, preventing mistakes, building trust153154## Anti-Patterns to Avoid155156**Navigation:**157- Hidden navigation on desktop (hamburger menus)158- Icons without labels159- More than 3-4 levels deep160- Breaking the back button161162**Information:**163- Showing everything at once164- Important info below the fold with no indication165- Inconsistent terminology166- Technical jargon in user-facing copy167168**Actions:**169- "Are you sure?" for everything170- No undo for destructive actions171- "Submit" instead of specific action172- Actions that don't match their labels173174**Feedback:**175- Silent failures176- Generic error messages ("Error")177- No loading indicators178- Auto-dismissing important messages179180## Quick Reference181182### Modern Pattern Replacements183184| Old | New |185|-----|-----|186| Dropdown (few options) | Segmented control |187| Dropdown (many options) | Combobox with search |188| Modal for editing | Slide-over panel or inline edit |189| "Are you sure?" dialogs | Undo after action |190| Pagination | Infinite scroll or load more |191| Multi-page wizard | Single page with sections |192| Tooltip-only help | Inline help text |193| Accordion FAQ | Expanded sections + search |194195### Empty State Formula196197```198Title: What this area is for199Description: Why empty + what to do 200Action: [Primary CTA]201```202203### Error Message Formula204205```206What happened + Why (if helpful) + How to fix207```208209### Button Label Rules210211- Use specific verbs: "Save changes" not "Submit"212- Match the trigger: Link says "Edit" → button says "Save"213- Destructive: Repeat the action verb in confirmation214215## UX Checklist216217Before shipping any interface:218219**Structure:**220- [ ] Single clear purpose per page221- [ ] Visual hierarchy guides the eye222- [ ] Primary action obvious223- [ ] Consistent layout with rest of product224225**Navigation:**226- [ ] User knows where they are227- [ ] Clear way to get back228- [ ] No dead ends229230**States:**231- [ ] Empty state with guidance232- [ ] Loading state with feedback233- [ ] Error state with recovery path234- [ ] Edge cases handled (0, 1, many, overflow)235236**Control:**237- [ ] Destructive actions reversible238- [ ] System status visible239- [ ] User preferences remembered240- [ ] Clear exit from any flow241242**Copy:**243- [ ] Labels are clear and specific244- [ ] Errors explain how to fix245- [ ] No jargon or ambiguity