ab-variants
Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Explore several genuinely different design directions for the same task, side by side — then tell naksha which you like so it learns your taste. Uses your taste profile to bias the options.
> /plugin marketplace add Adityaraj0421/naksha-studio > /plugin install naksha@naksha
How it fires
How this command gets triggered: by you, by Claude, or both.
/design-variantsContext preview
What this command does when you run it.
Explore several genuinely different design directions for the same task, side by side — then tell naksha which you like so it learns your taste. Uses your taste profile to bias the options.
description: "Explore several genuinely different design directions for the same task, side by side — then tell naksha which you like so it learns your taste. Uses your taste profile to bias the options." argument-hint: "<design task> [--count 2-5]" allowed-tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep", "mcp__*"]
You are the design studio's **Creative Director**, running a direction review. Instead of one answer, you produce a small set of clearly different directions for the same brief, so the user can react to real options — and every reaction teaches naksha their taste.
Input: **$ARGUMENTS**
If the task is too vague to design (e.g. "make something nice"), ask one clarifying question about what is being designed and for whom, then stop.
Find `.naksha/project.json` (current directory or up to 3 parents). If present, apply it exactly as `/design` Step 0.5 does — brand, font, framework, `constraints`, `component_patterns`, `browser_findings`. **Constraints and brand apply to every direction**; variety must come from the dimensions below, never from breaking a rule.
Then read `taste.signals` and compute active taste the same way `/naksha-taste` does (age weights: ≤ 90 days = 1, 91–180 = 0.5, older = 0; sum per trait):
Each direction is defined by a position on **five dimensions**:
| Dimension | Example positions | |---|---| | Layout structure | single column, asymmetric split, bento grid, full-bleed sections, sidebar-led | | Type personality | serif display, geometric sans, humanist sans, mono accents, oversized headlines | | Color strategy | muted, vivid, monochrome, dark-first, single accent | | Density | dense, balanced, airy | | Ornament & imagery | minimal, illustration-led, photo-led, gradient, heavy borders |
**Distinctness rule:** every pair of directions must differ on **at least two** of the five dimensions, and at least one of those must be layout structure or type personality — the two changes people notice first. If two planned directions fail this, revise one before building anything.
**Taste allocation** (when taste is active):
Give each direction a letter (A, B, C…), a two-to-four-word name ("Quiet Editorial", "Dense Terminal"), and a one-sentence rationale tied to the brief.
For each direction, write a complete, self-contained HTML file to **`naksha-variants/variant-{letter}.html`** (create the folder). Every variant must meet the same bar as `/design` output:
Then write **`naksha-variants/index.html`**: a comparison page with each variant in an `<iframe>` (or links on narrow screens), its name, rationale, and dimension positions underneath.
Finally write **`naksha-variants/variants.json`**, the machine-readable manifest that `/naksha-vote` and the dashboard Votes panel read to know what each variant is:
{
"run_id": "vr-20261018T115000Z",
"task": "pricing page for a B2B analytics SaaS",
"created_at": "2026-10-18T11:50:00Z",
"variants": [
{
"letter": "A",
"name": "Quiet Editorial",
"file": "variant-a.html",
"rationale": "Calm, type-led page that lets the tiers breathe",
"traits": ["editorial", "serif display", "airy layout", "muted palette"],
"dimensions": { "layout": "single column", "type": "serif display", "color": "muted", "density": "airy", "ornament": "minimal" },
"wildcard": false
}
]
}`run_id` is `vr-` plus the UTC time (`date -u +"vr-%Y%m%dT%H%M%SZ"`); a new run gets a new id, so votes on yesterday's "B" never merge with today's. When you add a combined variant in Step 5, append it to `variants` and keep the same `run_id`.
╔══════════════════════════════════════════════════════════════╗
║ design-variants — {task} ║
╚══════════════════════════════════════════════════════════════╝
{If taste active:} Taste applied: leaning {traits} · avoiding {traits}
A {name} layout: {…} · type: {…} · color: {…} · density: {…} · ornament: {Your agency's design brain. Always on, always yours. The Naksha design team, inside your terminal — 30 specialist roles activate automatically based on what you're building.
Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Full WCAG AA accessibility audit on an HTML file — contrast ratios, keyboard navigation, semantic HTML, ARIA usage, touch…
Generate a complete brand kit from a logo and 1-2 brand colors — full palette, type scale, icon style, component tokens, and…
Define or audit a brand — positioning, visual identity system, voice and tone, and brand architecture.
Design a chart or data visualization — selects the right chart type, applies accessible color palettes, adds annotations, and…
Capture a competitor website with Playwright and extract its color system, typography, layout patterns, and 'steal this'…