ui-critique
Critique a UI surface — hierarchy, density, error/empty/loading states, microcopy; findings keyed to specific elements with concrete corrections.
- License 许可
- MIT
- 最近更新
- 2026-10-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ui-critique
- description
- Critique a UI surface — hierarchy, density, error/empty/loading states, microcopy; findings keyed to specific elements with concrete corrections.
03 SKILL.md 正文
ui-critique
Critique one UI surface. Output is findings keyed to specific elements, not "feels off".
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
When to use
- A design has been mocked or implemented and the team wants a second pass before ship.
- An existing surface has user complaints but the team can't name why.
- A workflow's design-review step needs a structured critique.
Inputs
- The surface (required): a screenshot, a running URL, a design file link, or the component code. Critique only what you can see; behavior you can't observe is
[VERIFY]. - The user and task the surface serves (optional but expected) — the critique is judged against that task, not taste.
- The design system or brand guidelines (optional) — deviations from it are findings; personal preference is not.
Procedure
For each of these axes, scan the surface and emit findings:
- Visual hierarchy
- The single most-important thing on the page is the visually-loudest. If the headline is dimmer than a sidebar promo, fix it.
- Type scale uses 3–5 sizes, not 12. If the page has 12 different text sizes, it has none.
- Density
- White space is content. A wall of dense text needs grouping.
- A wall of icons + labels needs prioritization. Demote secondary actions to a
…menu.
- States
- Loading: skeleton or spinner? Skeleton when content shape is predictable; spinner when it's not.
- Empty: the empty state is a teaching opportunity — what should the user do next?
- Error: error names what's wrong + what to do, in user words. Never "An error occurred."
- Partial: long lists fade or paginate honestly; don't pretend the page is the whole result.
- Microcopy
- Buttons are verbs: "Cancel order", not "Cancel" alone when both buttons say "Cancel".
- Confirmation dialogs name the consequence: "Delete 12 invoices? This can't be undone." not "Are you sure?"
- Form labels above fields (faster scan than left-side); placeholders are NOT labels.
- Affordances
- Looks-clickable → is-clickable. If text is blue and underlined, it's a link.
- Disabled controls give a reason ("Add 1 more user to enable") not just gray-out.
Output
UI critique: <surface>
Visual hierarchy:
- The "Buy" CTA on /checkout is visually lighter than the "Continue
shopping" link directly above. Loudest element should be the
primary action. Fix: bump CTA contrast / weight; demote the link.
Density:
- Sidebar shows 12 secondary actions inline. Move 8 to an overflow
"…" menu; keep the 4 most-used inline.
States:
- Empty state of /orders is "No orders." Plus the page is blank.
Add a one-line nudge: "When you place your first order, it'll
appear here." Add a link to the catalog.
- Error toast says "An error occurred." Replace with the specific
failure ("Couldn't reach the payment provider — try again in a
moment").
Microcopy:
- Both modal buttons say "Cancel". Rename the destructive one
"Cancel order" and the dismiss one "Keep shopping".
Affordances:
- .row-action looks like static text. If it's clickable, give it
cursor: pointer + an underline on hover.
Quality bar
- Every finding names a specific element (CSS selector, mock annotation, or "the CTA on /route").
- Fixes are concrete corrections, not "improve hierarchy".
- States section always checked (most common skip).
- Microcopy quotes the offending string verbatim.
Anti-patterns to avoid
- Generic complaints ("feels cramped"). Specify what's cramped.
- Suggesting a redesign when 3 tweaks would fix it.
- Approving a design that has no empty/error states drawn.
- "Add more whitespace" without naming where; whitespace is a tool, not a panacea.
04 同仓库更多 Skills
runbook
Write or refresh an operational runbook for an alert/symptom; structured as TL;DR + Pre-checks + Steps + Verification + Rollback + Escalation.
rfc
Draft a lightweight design RFC to docs/rfcs/<slug>.md; Summary, Motivation, Detailed design, Drawbacks, Alternatives, Unresolved questions. A proposal to debate, not a recorded decision (adr).
editorial-pass
Review and tighten prose in a Markdown artifact for a target tone (terse, formal, friendly) without dropping information; preserve quotations and load-bearing constraints.
architecture-review-facilitation
Run an architecture review as a process — entry criteria, reviewer checklist, decision log, and follow-up actions — pairing the design artifact with a red-team pass.
architecture-doc
Write a C4-style architecture document; System Context + Containers (+ Components when interesting) with mermaid diagrams. Describes structure, not a decision (adr) or proposal (rfc).
adr
Write an Architecture Decision Record (Michael Nygard format) to docs/adrs/NNNN-<slug>.md; frontmatter validated by the ADR artifact schema. Records a made decision, not a proposal to debate (rfc).