ab-variants
Generate 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
How it fires
How this command gets triggered: by you, by Claude, or both.
/designContext preview
What this command does when you run it.
Design anything — pages, components, apps, dashboards, presentations. Assembles the right design specialists for the task.
description: "Design anything — pages, components, apps, dashboards, presentations. Assembles the right design specialists for the task." argument-hint: "[design task description]" 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 `$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):
mcp__stitch__get_screen(name, projectId, screenId) → wait for screenMetadata.status === "COMPLETE"
5. Download the HTML:
curl -L "[htmlCode.downloadUrl]" -o stitch-proto.html
6. Use `stitch-proto.html` as the base for Step 5 (Build the Implementation) — apply brand tokens, responsive polish, and framework conversion on top. Note: "Stitch quick proto used as visual baseline."
If Stitch MCP is unavailable, skip silently and proceed with Claude's native HTML generation.
Read `${CLAUDE_PLUGIN_ROOT}/skills/design/settings.local.md` if it exists — apply any configured brand defaults, framework preferences, or quality settings.
Determine from the user's request:
Your agency's design brain. Always on, always yours. The Naksha design team, inside your terminal — 26 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'…