ab-variants
CommandGenerate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Design anything — pages, components, apps, dashboards, presentations. Assembles the right design specialists for the task.
> /plugin marketplace add Adityaraj0421/naksha-studio> /plugin install naksha@naksha
description: "Design anything — pages, components, apps, dashboards, presentations. Assembles the right design specialists for the task." argument-hint: "[design task description] [--no-check] [--visual]" allowed-tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep", "mcp__*"]
You have been invoked as the design studio's Design Manager. Your task:
**$ARGUMENTS**
Follow the `design` skill's full orchestration workflow.
Determine the output framework using this priority order — stop at the first match:
1. **`--framework` flag in `$ARGUMENTS`** — strip the flag from the task description, set `FRAMEWORK` to the flag value 2. **`js_framework` in `settings.local.md`** — if the field exists and is not `"auto"`, set `FRAMEWORK` to that value. Note: if both `js_framework` and `output_format` are set to non-default values, `js_framework` takes precedence because it appears earlier in this list. 3. **`output_format` in `settings.local.md`** — if the field exists and is not `"html"`, set `FRAMEWORK` to that value. Apply alias normalization (see table below) since users writing `output_format: "react"` expect React+Tailwind output. 4. **None of the above** — set `FRAMEWORK = null` (HTML-only output, no conversion)
Framework aliases — apply normalization to ALL resolved values (flag, `js_framework`, and `output_format`) before carrying forward:
Carry `FRAMEWORK` through steps 1–8.
Check if `.naksha/project.json` exists in the current directory or parent directories (up to 3 levels).
If found:
**v5 context (read if present — all fields optional):**
If not found: continue normally (no project memory, no message).
If `.naksha/design-system/MASTER.md` exists (next to the `project.json` found above), it is the project's design system in DESIGN.md format (see `${CLAUDE_PLUGIN_ROOT}/docs/design-md.md`). Name the page being designed as a lowercase slug (`checkout`, `pricing`). If `.naksha/design-system/pages/<slug>.md` exists, load the merged system:
node ${CLAUDE_PLUGIN_ROOT}/scripts/design-md.js resolve --page <slug> --format md(Leave out `--page` when there is no override.) **Precedence: page override > MASTER.md > brand defaults from `project.json`.** Use the resolved tokens as the exact values for colours, type, spacing, radii and component styles, and follow its prose (especially Do's and Don'ts) as design rules. An explicit request in `$ARGUMENTS` still wins. Note: "Using design system: MASTER.md{ + pages/<slug>.md}." Skip silently if MASTER.md is absent.
If `$ARGUMENTS` contains `--stitch`, `quick proto`, `stitch it`, or `fast visual`:
1. Extract the design intent (strip the trigger phrase/flag from the description). 2. Find or create a Stitch project:
mcp__stitch__list_projects → use first owned project, or mcp__stitch__create_project(title: "[task name]")
3. Generate the screen (async — do not retry on connection errors):
mcp__stitch__generate_screen_from_text(
projectId: [id],
prompt: [design intent + any brand/style context from Step 0.5],
deviceType: MOBILE,
modelId: GEMINI_3_PRO
)4. Poll until complete (check every 30s, timeout 3 min): `
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'…
Generate a concrete design system (tokens, style, type, UX) before building UI
Open a first-contribution PR (or bug issue) on nexu-io/open-design — works for non-coders too.
Run one-shot environment diagnostics for Diagram Design readiness
Strip the signatures that make a UI look AI-generated — flat hierarchy, no focal point, monotone layout, timid palettes, generic…