Stop Saying "Less AI Slop": UI Lab Gives You Concrete Before/After Design Cases
Design feedback to AI coding agents becomes specific and verifiable: a developer can point to a before/after case, state an acceptance condition, and get a change that is testable immediately, instead of relying on vague phrases like "less AI slop."
UI Lab turns design principles into testable before/after cases. It pulls from classic design books like Refactoring UI and popular GitHub design projects. The library currently holds 401 cases from 12 sources. Each case pairs identical content in two states, so a single change is visible. For example, a monthly mileage card uses grey text for the secondary note on a dark background; switching that line to light blue raises contrast from about 2.7:1 to 6.5:1 while keeping the main number dominant.
Search cuts across projects. Typing "loading" returns skeleton screen fixes from UI Skills Playbook, load-state redesigns from Kill AI Slop, and loading animations from loading.dev. Cases are linkable and language-switchable. Interaction-heavy examples like shadcn/ui's attachment upload or Stageshow's payout flow keep their original timings so you can scrub through the sequence.
The trick for AI-assisted UI work: each case has a "Prompt" tab that copies a Markdown block containing the case link, source, chapter, design points, and acceptance criteria. You hand that to Codex along with your current code, and you get a change that can be verified on the spot. A Skill exists to install into projects that runs `npx skills add wangruofeng/ui-lab --skill ui-lab-ui-improvement` so an agent can fetch matching cases automatically.
A reusable case library makes design judgment legible to code-generation tools, turning a subjective request like "less AI slop" into a reproducible demo and a checkable outcome.
The inclusion of interaction timing in cases like payment flows treats micro-interaction pacing as a design property that can be inspected and tested, not just an aesthetic layer.