/syware-ux:syware-uxfrom syware-ux
How SyWare's apps behave, from jlib's UX patterns — the principles, the frame (app shell, side nav, tab bar, account, search), page headers and widths, lists and their toolbars, actions and their words, forms, loading, empty and error states, feedback and toasts, confirmations and undo, statuses, phones, accounts — with every pattern page in full (offline), the mistakes generic web habits cause, and the checklist a finished page is reviewed against. Load it when building, changing or reviewing the views of a SyWare app, or of any app that follows SyWare's UX, together with the jlib-official skill; also when asked how a SyWare page should look or behave, what a button or a state should say, or to review a page against the patterns.
Ships in syware-ux. 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.
Read when SKILL.md points to them.
Every SyWare app behaves the same way, as jlib's UX patterns describe:
what people learn in one app works in the next. This skill says what each page does and why; it applies the
patterns with jlib's components, whose use is the jlib-official skill's (the Claude Code plugin installs it with
this one). Load both.
Written for the patterns of @syware/[email protected]. The patterns: https://bioleyl.github.io/jlib/patterns
references/patterns/, with its rules, its do and don't, and its examples.The project's own rules (AGENTS.md, CLAUDE.md) win over this skill. A case the patterns do not cover, or one
where a pattern seems wrong for the app, is a question for the person, not a quiet exception.
┌──────────────┬──────────────────────────────────────────────────────────────┐
│ [icon] app │ ← Orders (back link) │
│ [Search ⌘K] │ Order CH-2026-0160 [Invoice] [⋯] [Prepare] │
│ │ Placed by Alpine Électricité SA · [Late] (one primary) │
│ ▸ Orders 4 │ ─────────────────────────────────────────────────────────── │
│ ▸ Basket 2 │ [Search the orders… ] (All)(Open 12)(Late 3) │
│ADMINISTRATION│ 12 orders │
│ ▸ Users │ ┌ table: rows are links, row actions as icon buttons ┐ │
│ │ └─────────────────────────────────────────────────────┘ │
│ (MR) Marie │ 30 of 120 [Show more] │
│ Administrator│ toasts bottom right ▸ │
└──────────────┴──────────────────────────────────────────────────────────────┘
On a phone: a top bar (menu, app, search, avatar), the page, a tab bar (4 + More).
Each rule has a short name; use the name when you cite it in a review.
JlAppShell with narrowHeader. The side nav, top to bottom: the app's icon and
wordmark (a link home; never the SyWare logo), the search button, the destinations (seven at most, each with an
icon, a count on what waits), an Administration group for administrators only, and the person (avatar, name,
role) opening My account and Sign out. On a phone, a top bar (menu, app, compact search and avatar) and a
tab bar of four destinations at most, and More.href), so a middle click opens a tab.document.title names what the page shows, then the app ("Order #3 ·
swstock"). A page under another has a back link named after it; a page of the side nav has none; two levels or
more take a breadcrumb.The header answers three questions. A JlPage: what this is (its title), what state it is in (one status
badge among the facts), and what can be done (its actions, on the right). A collection's description says what
it is for; a thing's gives the facts that identify it.
One primary action. At most one primary button per page, dialog or form, at the end of its actions; one or two others before it, the rest in a More menu. No red button in a page's header: the danger look is for a menu's destroying item (last, after a line) and for the confirm button of a confirmation.
Four widths, flat parts. form (720px), standard (1120px), wide (1400px), full. Parts divided by h2
sections; a card for a part that stands on its own; no card inside a card.
The right surface. A page for what people link to or work in; a dialog for a short task that ends where it began (one screen, Cancel then the primary in its footer, nothing over it but a confirmation); a drawer for an item's details beside the list; a popover or a menu for choices tied to one control, never a form.
loading on its own button.guardLeave); a dialog with changes asks
before it closes; what people typed survives a failed save.JlLoadState); the
page shown stays until the next one has its data (JlPageOutlet).confirmDialog: the question names the thing, the text says what happens and what is kept, the
confirm button repeats the verb. People and things with a history are deactivated rather than deleted.Record<Status, StatusLook>), with the
shared tones: blue waits or runs, green finished well, amber needs attention, red failed, grey over or off. Roles
and categories are grey. Recent times relative, durations in words.Ctrl K and the search button open the command palette: what waits for you, the
things of the app (the server's results), the pages, the actions ("New order…").| When you build | Read |
|---|---|
| The frame, titles, addresses, back links, roles | navigation |
| A page's header, widths, sections and cards, a home page, a queue or an editor | page-layout |
| A list, a table, rows or cards, search, filters, sort, Show more | collections |
| Buttons, their words, their places, icon buttons, disabled and busy | actions |
| A form, its checks, leaving it, passwords | forms |
| A dialog, a drawer, a popover or a menu | overlays |
| Loading, page to page, empty states, errors, not found | states |
| Toasts, progress, live updates | feedback |
| A confirmation, Undo, delete or deactivate | confirmations |
| Statuses, their colours, counts, times and durations | status |
| The command palette, the shared keys | search |
| A page for phones, thumbs, scanning | phones |
| Sign-in, the session, My account and Settings | accounts |
| A review of a finished page | checklist |
| The principles, and every page in one list | references/patterns.md |
| The components each pattern uses, in JSX | references/applying.md |
| Are new to SyWare's UX, or review a page | references/ux-mistakes.md |
The patterns are those of the version above. For an app on another jlib, a page at its version is in jlib's
repository: https://raw.githubusercontent.com/bioleyl/jlib/v<version>/site/src/docs/patterns/<slug>.ts.
The checklist, for each page you made or changed. Fix every "no", or say why it stays.
JlPage at one of the four widths, its header with the title, the description or facts, the status
and the actions; one primary action at most; nothing red before a confirmation; labels from the shared verbs, in
sentence case, no "OK"?JlPageOutlet; the
right empty state with its action; a failed load in place with Try again; every action showing its result;
what cannot be undone asking, what can offering Undo?Then report what the pass changed, as <file>:<line> — <what changed>, and end with one line:
syware-ux checklist: 2 fixed or syware-ux checklist: clean.
The patterns are jlib's, shared by every SyWare app: a case they do not cover, or a rule that does not work for a
real page, is fixed there once. Write it as an issue on jlib (gh issue list --repo bioleyl/jlib --search "…" first):
the page, what it needed, what the pattern says, what would solve it. Show it to the person, who files it, or file
it with gh issue create --repo bioleyl/jlib once they agree.
references/applying.md (opens in a new tab)references/patterns.md (opens in a new tab)references/patterns/accounts.md (opens in a new tab)references/patterns/actions.md (opens in a new tab)references/patterns/checklist.md (opens in a new tab)references/patterns/collections.md (opens in a new tab)references/patterns/confirmations.md (opens in a new tab)references/patterns/feedback.md (opens in a new tab)references/patterns/forms.md (opens in a new tab)references/patterns/navigation.md (opens in a new tab)references/patterns/overlays.md (opens in a new tab)references/patterns/page-layout.md (opens in a new tab)references/patterns/phones.md (opens in a new tab)references/patterns/search.md (opens in a new tab)references/patterns/states.md (opens in a new tab)references/patterns/status.md (opens in a new tab)references/ux-mistakes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub bioleyl/jlib --plugin syware-ux