variant-design
English | 中文
Open-source agent skill for Codex and Claude Code that turns one design brief into three complete, comparable directions (A/B/C) inside your own project, with scoped edits, snapshot undo and an integration step you can roll back.
The three directions share the same task, data and functions, and each states what it optimizes and what it gives up. Edits are snapshotted first and never overwrite changes you have not seen.
Interactive website
Live website → · Website source · Install the skill
Browse design references with sources and check dates, inspect A/B/C cases, and follow the installation guide to use the skill in your own project. The website's lab is a separate experiment; it is not a paid hosted plan. Pro and Team are proposals, not available subscriptions.
Run the React + Vite website locally:
git clone https://github.com/YuqingNicole/variant-design-skill.git
cd variant-design-skill/website
npm ci && npm run dev
Sample output
Three variations from a single prompt — each feels like a different studio:
| A — Editorial | B — Dark Dashboard | C — SaaS Landing |
|---|
 |  |  |
What it does
Generate Mode (default)
- Detects your scenario — dashboard, SaaS landing page, editorial, e-commerce, mobile app, creative tool, education, portfolio, food & beverage, fashion & lifestyle
- Loads design system references — typography, color theory (OKLCH), spatial design, motion, micro-interactions, interaction, responsive, UX writing
- Generates 3 distinct variations — each expresses a distinct product trade-off with working task controls; visual tokens stay fixed under a brand lock
- Runs mechanical and visual quality gates — scans generated code, checks that the three recorded directions are distinct, recommended but not selected and inside any brand lock or confirmed design system, including its spacing and type scale (
scripts/delivery-check.mjs), then checks the rendered result for generic AI aesthetic fingerprints
- Ships working code — Context-aware output: auto-detects React projects and generates
.tsx components; generates zero-dependency interactive HTML otherwise. Real content, no lorem ipsum
- Offers variation actions — push further, polish, critique, swap styles, remix colors, shuffle layouts, add motion, dramatize, make interactive
UX Review Mode
Comprehensive usability evaluation grounded in Nielsen Norman Group research — 13 specialized reference libraries covering everything from heuristics to conversion design.
- Heuristic evaluation — Walk flows against Nielsen's 10 heuristics; each violation rated by severity (1=cosmetic to 4=critical)
- Cognitive load analysis — Identify sources of extraneous complexity; suggest reduction strategies
- Mental model diagnosis — Find mismatches between what users expect and what the system does
- Affordance audit — Flag elements that look interactive but aren't (or vice versa)
- Gestalt check — Verify proximity, similarity, and grouping signals match intended relationships
- Dark pattern scan — Identify manipulative patterns (confirmshaming, roach motel, hidden costs)
- Information architecture — Navigation labels, hierarchy depth, search design, card sort validation
- Accessibility audit — WCAG 2.1 AA, keyboard navigation, ARIA patterns, color contrast
- Mobile interaction — Touch targets, thumb zones, gesture conflicts, iOS vs Android conventions
- Onboarding review — First-use experience, Aha moment path, empty states, activation funnel
- Data visualization — Chart type selection, color encoding, dashboard information density
- Design token review — Token tier architecture, naming conventions, theming and dark mode
- Conversion design — Trust signals, CTA copy, pricing page structure, form friction points