Ux

From Esposter/Esposter · View interactive version

Ux is an AI agent skill from the GitHub repository Esposter/Esposter. Apply when adding any user-facing feature, laying out a page or panel, deciding where an action lives or whether it confirms, or reviewing a surface for reachability. Esposter's UX conventions — where a person can do a thing from, and whether a write confirms before it acts.

How to use this skill

Skill file

UX Conventions

The rules here are about reachability and placement, not about pixels — component choice belongs to the

ui-library skill and layout to the styling skill. What this owns is the question those two never ask: from where can a

person actually do this thing, and is that where they were already looking?

Settled — do not re-propose

awaiting caller and test reads that promise as "the server answered", and one declared prop states the fact at the

site for less.

as a message delete. A tab closed inside the window silently drops the write, and the server has no restore to

fall back on. What has no server-side undo confirms.

(openspec/rejected/architecture/no-confirm-for-undoable-deletes/design.md).

dialog adds no second place a rejection can appear.

Written for the least technical reader

Every surface offers one way through, shows no plumbing, numbers its steps in the words on screen, and removes a step before explaining it; the expert's path lives in the docs (openspec/specs/architecture/simplest-reader/design.md).

Every feature has two surfaces, and shipping one is shipping half

A created thing's create action lives where the want is first felt, and its management in settings; a want met one click away needs no second copy, and a scene's prop is an entry point too (references/point-of-need.md).

A settings panel configures; it does not create

Settings holds configuration and management, never a create that lives at the point of need, and its empty state says where adding happens (references/settings-panels.md).

One dialog per created thing

Two surfaces that create the same row share one component — not two forms with the same fields. Two copies drift on

the first change of validation, and the drift shows up as a create that succeeds from one entry point and fails from

the other. The dialog takes what it needs as props and lives beside the model it creates, not beside either caller.

Chrome around a value — `references/control-chrome.md`

A transient value may share a bar with the standing controls, but the bar never resizes and the controls come

back the instant it goes; punctuation a value is always read inside is field chrome (drawn beside the input, sized to

the value) and never part of the model. Building a shared bar or a punctuated field is that page.

A write's feedback — `references/write-feedback.md`

What the reader sees after acting is decided by the write, never by the call site: every delete asks first, an undo

the app can offer is shown once the write lands, an optimistic write's dialog closes on the answer, and a write that

waits for the server holds its dialog pending until it lands and keeps it open on failure. **Deciding whether an act confirms, when its

dialog closes, or how an undo is offered** is that page.

A management surface exists only where its actions can succeed

A surface behind a gate carries the permission its own writes require, the container's gate is the union of what it holds, and an ownership guard gates on ownership (references/gated-surfaces.md).

Follow the reference product where the domain matches

Where Discord or Slack already has the feature, take its wording, layout and interaction, substituting only our domain word; a deviation is better and says so in a comment (references/reference-product.md).

Where a whole-product pass is tracked

Placement is not enforceable by lint, and the failure mode is invisible: a feature that is only reachable from

settings looks complete from every angle except a user's. The standing sweep against these rules is

.agents/ledgers/ux.md, one row per product area.

Reference pages

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.