design-review
When to use
Render-verification gate. A UI verdict is gated on the
where render capability exists, do not pass a design task without render
evidence (checklist steps 1–5); where it is absent, scope the verdict to what
was statically checked and say so — never "looks good" without evidence.
Use this skill when:
- Reviewing pull requests with UI changes
- Auditing frontend components for design quality
- Verifying responsive design across viewports
- Checking accessibility compliance (WCAG 2.1 AA)
- Testing interaction flows and user experience
- Conducting visual QA on new features
Do NOT use when:
- Creating new designs (use
fe-designskill instead) - Reviewing backend/API code only
- Quick syntax checks (use linters)
Prerequisites
One of the following browser automation tools:
- Playwright MCP (recommended) — browser automation, screenshots, viewport testing
- Chrome DevTools — screenshot capture, performance analysis
A live preview URL is required for testing.
Procedure: Design review
- Inspect the PR and preview — Read the PR description, diff, and identify changed components/pages; read the probe artifact and run the appearance floor over the preview URL (Phase 0).
- Walk the interactions — Run Phase 1; cover hover/focus/active/disabled, keyboard, loading, and form error states.
- Cover responsiveness, polish, a11y, robustness — Run Phases 2–5 in order; record findings per phase.
- Audit code-health and content — Run Phases 6–7; check tokens, dead styles, copy, console warnings.
- Verify and report — Consolidate findings in the report structure; classify each as Blocker / High / Medium / Nit before posting.
Phase 0: Preparation
- Read PR description and git diff.
- Identify changed components and affected pages.
- Navigate to preview URL.
- Read the probe artifact
agents/runtime/state/ui-conformance.json
(ui_conformance_probe --target <file> --reference <file>) — its per-dimension counters are the
behavioral evidence Phases 1–2 report against. Absent is absent, never clean; a dimension the host
could not exercise carries a not-applicable row with its reason rather than a zero.
- Run the appearance floor (§ Appearance verification) — mandatory on every review.
Phase 1: Interaction
- Test user flows end-to-end.
- Six interaction states — every interactive element asserts each one (this
is the single canonical states checklist; no other review phase repeats it):
1. default — the resting state is a deliberate style, not the browser default.
2. hover — pointer feedback present (and not the only affordance — see focus).
3. active — pressed/engaged state visibly distinct from hover.
4. disabled — visually unmistakable as non-interactive (a contrast dip alone
that a user cannot read as "disabled" is a WCAG 1.4.1 failure — see accessibility-auditor).
5. focus — a visible :focus-visible indicator (Q6 floor, lint_design_quality).
6. loading — an explicit pending state (skeleton/spinner/disabled-submit), never a dead frozen control.
- Transition timing between these states follows the motion bands in