Design review

From Kevin-Liu-01/Agent-Machines · View interactive version

Design review is an AI agent skill from the GitHub repository Kevin-Liu-01/Agent-Machines. Design audit with UX usability tests. Adapted from GStack's /design-review (Garry Tan, github.com/garrytan/gstack) for Cursor + agent-browser. 6-phase audit: first impression, design system extraction, page-by-page visual audit with 80-item checklist, interaction flow review with goodwill tracking,

How to use this skill

Skill file

Design Review — Audit, Fix, Verify

Adapted from GStack v0.17.0.0 by Garry Tan. Uses agent-browser instead of

GStack's $B commands. UX principles from Steve Krug's "Don't Make Me Think."

Contract

This skill guarantees:

UX Principles: How Users Actually Behave

The Three Laws of Usability

  1. Don't make me think. Every page should be self-evident. If a user stops to think "What do I click?" — the design has failed.
  2. Clicks don't matter, thinking does. Three mindless, unambiguous clicks beat one click that requires thought.
  3. Omit, then omit again. Get rid of half the words on each page, then get rid of half of what's left. Happy talk must die. Instructions must die.

How Users Actually Behave

Billboard Design for Interfaces

Navigation as Wayfinding

Users on the web have no sense of scale, direction, or location. Navigation must always answer: What site is this? What page am I on? What are the major sections? What are my options at this level? Where am I? How can I search?

The Goodwill Reservoir

Users start with a reservoir of goodwill. Every friction point depletes it.

Deplete faster: Hiding info users want. Punishing users for not doing things your way. Asking for unnecessary information. Putting sizzle in their way. Unprofessional appearance.

Replenish: Know what users want and make it obvious. Tell them what they want to know upfront. Save them steps. Make it easy to recover from errors.

Phases

Phase 1: First Impression

Navigate to the target URL. Take a screenshot.

agent-browser snapshot <url> --output first-impression.png

Write the first impression in first-person narration mode:

Page Area Test: Point at each clearly defined area. Can you instantly name its purpose? Areas you can't name in 2 seconds are poorly defined.

Phase 2: Design System Extraction

Extract the actual design system rendered on the page (not what a config says):

Phase 3: Page-by-Page Visual Audit

For each page in scope, run the Trunk Test:

  1. What site is this? (Site ID visible)
  2. What page am I on? (Page name prominent)
  3. What are the major sections? (Nav visible and clear)
  4. What are my options at this level? (Local nav obvious)
  5. Where am I in the scheme of things? (Breadcrumbs, "you are here")
  6. How can I search?

Score: PASS (all 6) / PARTIAL (4-5) / FAIL (3 or fewer). A FAIL is HIGH-impact.

Then apply the 10-Category Checklist (~80 items):

  1. Visual Hierarchy & Composition (8 items) — focal point, eye flow, visual noise, information density, above-the-fold purpose, squint test, white space
  2. Typography (15 items) — font count <=3, scale ratio, line-height, measure 45-75 chars, heading hierarchy, weight contrast, no blacklisted fonts, flag generic (Inter/Roboto), text-wrap balance, tabular-nums on number columns, body >=16px
  3. Color & Contrast (10 items) — palette coherent <=12 colors, WCAG AA (4.5:1 body, 3:1 large), semantic consistency, no color-only encoding, dark mode elevation
  4. Spacing & Layout (12 items) — grid consistent, 4/8px scale, alignment, rhythm, concentric border-radius, no horizontal scroll, max content width, safe-area-inset
  5. Interaction States (10 items) — hover, focus-visible, active/pressed, disabled, loading skeletons, empty states, error messages, touch targets >=44px, mindless choice audit
  6. Responsive Design (8 items) — mobile layout makes design sense, touch targets, no horizontal scroll, images responsive, text readable without zoom, nav collapses
  7. Motion & Animation (6 items) — ease-out for entering / ease-in for exiting, 50-700ms duration, every animation communicates something, prefers-reduced-motion, no transition:all
  8. Content & Microcopy (8 items) — empty states designed, error messages specific, button labels specific, no lorem ipsum, happy talk detection with word count, instructions detection
  9. AI Slop Detection (10 anti-patterns) — purple gradients, 3-column feature grid, icons in colored circles, centered everything, uniform bubbly radius, decorative blobs, emoji as design, colored left-border cards, generic hero copy, cookie-cutter section rhythm
  10. Performance as Design (6 items) — LCP <2.0s, CLS <0.1, skeleton quality, image optimization, font-display swap, no FOUT

Phase 4: Interaction Flow Review

Walk 2-3 key user flows in first-person narration mode.

Goodwill Reservoir tracking (start at 70/100):

Report with visual dashboard. Below 30 = critical UX debt.

Phase 5: Cross-Page Consistency

Compare across pages: nav consistent? Footer consistent? Component reuse? Tone consistency? Spacing rhythm?

Phase 6: Compile Report

Dual headline scores:

Category weights: Visual Hierarchy 15%, Typography 15%, Spacing 15%, Color 10%, Interactions 10%, Responsive 10%, Content 10%, AI Slop 5%, Motion 5%, Performance 5%.

Grade computation: Start at A. Each High-impact finding drops one letter. Each Medium drops half a letter. Polish findings noted but don't affect grade.

Fix Loop

For each fixable finding, in impact order:

  1. Locate source files
  2. Make the minimal fix (CSS-first, smallest change)
  3. One commit per fix: style(design): FINDING-NNN — short description
  4. Re-test and take after screenshot
  5. Classify: verified / best-effort / reverted / deferred

Hard cap: 30 fixes. After 30, stop regardless. Self-regulate every 5 fixes.

Anti-Patterns

Output Format

DESIGN AUDIT: {domain}
========================
Design Score: {A-F}
AI Slop Score: {A-F}

Pages audited: N
Findings: N (High: X, Medium: Y, Polish: Z)
Fixes applied: N (verified: X, best-effort: Y, reverted: Z)

Top 5 findings:
1. [HIGH] {finding} — {suggestion}
...

Goodwill: {score}/100
Quick Wins (3-5 highest-impact, <30min each):
1. {quick win}
...
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.