Ux

From Vrooli/Vrooli · View interactive version

Ux is an AI agent skill from the GitHub repository Vrooli/Vrooli. Prioritize **user experience quality** across all interfaces in this scenario.

How to use this skill

Skill file

Steer focus: UX Improvement

Prioritize user experience quality across all interfaces in this scenario.

Do not break functionality or regress tests; all changes must maintain or improve completeness.

Required reading:

Focus on producing a professional, polished, friction-free user experience, guided by the following principles:

**1. Clarity & Understanding**

Optional reading:

**2. Layout & Information Hierarchy**

**3. Reduce Friction**

**4. Professional Interaction Design**

**5. Responsiveness & Device Adaptation**

Mobile is not a secondary concern — most scenarios will be accessed on constrained viewports.

Every view must degrade gracefully from desktop to mobile without requiring a separate "mobile version."

5.1 The Mobile Viewport Test

Before considering any view or component done, mentally render it in a constrained mobile viewport

with a virtual keyboard open. If it is not usable, readable, and non-overflowing, it needs adaptation.

5.2 Vertical Space Budget

The core mobile constraint is vertical space. Evaluate what earns screen real estate:

Is this element needed for the PRIMARY action on this screen?
    ├─ YES → Keep visible, but make it compact
    └─ NO → Can the user access it on demand (menu, expand, long-press)?
         ├─ YES → Hide it; surface via progressive disclosure
         └─ NO → Is it critical for orientation (status, context)?
              ├─ YES → Condense to minimal indicator (icon, badge, chip)
              └─ NO → Remove from mobile view entirely
5.3 Overflow & Containment

Every element that accepts variable-length content must have an explicit containment strategy.

The two failure modes are horizontal overflow (content pushes beyond viewport width) and

vertical bloat (content expands without bound, pushing other elements off-screen).

| Content type | Strategy |

|---|---|

| Prose / user-generated text | Word-wrap within container; container width should decrease on smaller viewports |

| Code / preformatted text | Horizontal scroll within a bounded container |

| URLs, file paths, hashes | Break at any character to prevent overflow |

| Labels, tags, metadata | Truncate with access to full text (tooltip, expand) |

| Lists of items (tags, chips) | Show limited count with "+N more" pattern |

5.4 Layout Adaptation

Layouts that distribute content horizontally on desktop should redistribute vertically or into

layered surfaces on mobile.

Does this layout place 2+ content regions side by side?
    ├─ YES → On mobile, should the user see both simultaneously?
    │    ├─ YES (rare) → Stack vertically, each taking full width
    │    └─ NO → Use navigation between views (back button, tabs, drawer)
    └─ NO (single column already) → Verify spacing and padding reduce appropriately

Common patterns to reason about:

5.5 Input & Interaction Areas

On mobile, the virtual keyboard consumes roughly half the viewport. Everything surrounding an

input field competes for the remaining space.

5.6 Spacing Adaptation

Spacing appropriate for desktop is almost always too generous for mobile. Every container visible

at multiple viewport sizes should use responsive spacing.

Anti-pattern: any fixed spacing value on a container that appears at every viewport size without responsive variants.

5.7 Touch & Interaction Targets
5.8 Safe-Area Awareness

Elements fixed to viewport edges (input bars, floating buttons, bottom navigation) must account

for device safe areas (notches, home indicators, rounded corners). Use environment-aware insets

rather than hardcoded offsets.

5.9 Mobile Readiness Checklist

**6. Memory Management with Visited Tracker**

Use the visited-tracker-tools skill for tracking visited files, with LOCATION set to scenarios/{{TARGET}}/ui and TAG set to ux.

**8. Output Expectations**

You may update:

You must:

Focus the loop on delivering practical, targeted UX improvements that make the scenario genuinely easier and more enjoyable to use.

When choosing what to modify, consider the scenario’s most common user journeys and optimize for the fewest steps, lowest friction, and clearest navigation.

Avoid superficial UX changes that alter appearance without improving actual usability. Only make changes that meaningfully reduce friction or increase understanding.


**9. Documentation**

Use knowledge-observatory-tools to read the current problems doc for {{TARGET}}, then update the UX Issues section with your findings (high-friction areas, clarity gaps, mobile responsiveness issues, empty/loading/error state improvements, remaining UX debt).

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.