Product design

From Mte90/dotfiles · View interactive version

Product design is an AI agent skill from the GitHub repository Mte90/dotfiles. Production-quality UX: hierarchy, interaction design, and full state coverage (empty/loading/error) for web and desktop apps. Use when building dashboards, admin panels, settings flows, multi-step workflows, or data-dense UIs — or on "make it feel like Linear", "production-quality UX", "good UX", co

How to use this skill

Skill file

Product Design

I help turn vague UI requests into product-quality interaction decisions. I focus on how the product works, what the user sees first, which actions stay on the critical path, and how the interface behaves across empty, loading, error, and edge states.

Use me for UX structure and interaction behavior. Pair me with a visual design skill when the user also needs aesthetic direction, theming, or brand polish.

Workflow

  1. Classify the product paradigm and load the matching reference file.
  2. Enter plan mode before multi-screen, multi-file, or architecture-shaping implementation work.
  3. Write down the job to be done, hierarchy, critical path, and state inventory before coding.
  4. Choose interaction, layout, and data presentation patterns that fit the product paradigm.
  5. Build or review the interface with keyboard support, accessibility, and realistic product states.

Step 0: Choose The Paradigm

Read the closest matching reference before making UX decisions:

Use these signals to choose:

If the paradigm materially affects the result and the request is still ambiguous, use AskUserQuestion to present these options:

When a follow-up would only add delay, state the assumption you are making and proceed with the closest fit.

Step 1: Think Before Coding

Do not jump straight to implementation for non-trivial UI work. Write the minimum viable UX brief first.

1a. Job To Be Done

State the user's job in one sentence:

The user needs to _____ so they can _____.

This sentence filters every later decision. If an element does not support the job, cut it.

1b. Information Hierarchy

Rank every element by importance:

Ask: "If the user only saw this screen for two seconds, what should they remember?"

1c. Critical Path

Map the path through the screen:

  1. Where did the user come from?
  2. What do they need to do here?
  3. What should happen next?

Every screen needs an obvious next action.

1d. State Inventory

Design these states deliberately:

| State | Requirement |

|-------|-------------|

| Empty | Explain what belongs here and guide the first action. |

| Loading | Preserve layout with skeletons or staged loading. |

| Partial | Show available data without blocking on everything else. |

| Populated | Make the happy path fast and legible. |

| Error | Explain the failure and offer recovery. |

| Edge | Handle extremes such as one item, 1000 items, long values, and missing fields. |

If only the populated state is designed, the product is underdesigned.

Step 2: Choose Interaction Patterns

Speed Over Ceremony

Reduce steps wherever the task allows:

Progressive Disclosure

Reveal complexity in layers:

A new user should be able to complete the primary job without needing Level 3 or 4.

Feedback

Every action needs visible feedback:

Navigation

Choose the smallest navigation system that matches the information architecture:

| Pattern | Best for |

|---------|----------|

| Sidebar + main content | Persistent navigation across product areas |

| Tab bar | Small top-level IA, especially on mobile |

| Breadcrumbs | Deep hierarchies where location matters |

| Command palette | Action-heavy interfaces with repeat users |

| Stacked panels | Drill-down detail without losing context |

Do not mix multiple navigation paradigms unless each one solves a distinct problem.

Step 3: Calibrate Density And Layout

Choose density intentionally:

Rework the layout by breakpoint instead of simply shrinking it:

Touch targets on mobile should be at least 44x44px.

Step 4: Present Data Intentionally

Choose the view that matches the job:

| View | Best for |

|------|----------|

| Table | Comparing many records with shared attributes |

| List | Scanning labels with supporting metadata |

| Cards / grid | Visual or uneven content |

| Kanban | Status-based workflows |

| Timeline | Time-based data or history |

| Tree | Hierarchical structures |

For table-heavy interfaces:

For search and filters:

Step 5: Apply Component Rules

Forms

Dialogs

Prefer inline editing first, then slide-overs, then modals. Use full-page flows only when the task truly needs dedicated space.

When a modal is necessary:

Empty States

Empty states should explain the space, present a clear first action, and optionally show an example or template.

Step 6: Build For Keyboard And Accessibility

Minimum keyboard support:

Add richer keyboard behavior for repeat-use tools:

Accessibility baseline:

Output Expectations

For implementation or review work, produce a short UX brief before or alongside code changes:

  1. Product paradigm and any stated assumption
  2. Job to be done
  3. Primary, secondary, and hidden information
  4. Critical path
  5. Required states
  6. Interaction patterns chosen
  7. Accessibility or keyboard requirements worth preserving

Keep the brief concise. The point is to force decisions, not create design theater.

Anti-Patterns

Flag these immediately because they make product work feel like a demo:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.