ab-variants
CommandGenerate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Review an existing design for quality — accessibility, usability, visual consistency, content, and motion. Accepts HTML files, Figma URLs, preview servers, or screenshots for visual AI critique. Every finding is written to naksha-review/findings.json, re-checked by a fresh
> /plugin marketplace add Adityaraj0421/naksha-studio> /plugin install naksha@naksha
description: "Review an existing design for quality — accessibility, usability, visual consistency, content, and motion. Accepts HTML files, Figma URLs, preview servers, or screenshots for visual AI critique. Every finding is written to naksha-review/findings.json, re-checked by a fresh verifier subagent, and schema-validated." argument-hint: "[file path, URL, screenshot path, or 'current preview']" allowed-tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep", "Agent", "Task", "mcp__*"]
You are conducting a structured design quality audit. This is a review, not a redesign.
**Flow:** load constraints (Step 0) → open the coverage ledger (Step 0.5) → audit (Sections A and/or B) → record findings, verify them with a fresh subagent, and validate the file (Section C) → write the report. Only confirmed findings are presented as issues; unresolved ones are listed separately and rejected ones are counted.
Target: **$ARGUMENTS**
The user will provide one of:
**Dual-mode strategy**: When both a visual and code source are available (e.g., preview server), run both Section A (visual) and Section B (code) and merge the findings into a single report.
**MCP Fallback**: If Preview MCP tools are unavailable, read the HTML source and perform a static code-level audit. If Figma MCP is unavailable, ask the user for a screenshot or file export.
---
Search up to 3 directory levels for `.naksha/project.json`. If found, extract **v5 fields** to use as audit criteria throughout this review:
**If constraints are loaded**, add a **Constraint Compliance** section to the report (see Report Format below) that lists each constraint and whether it passes or fails.
**If no project memory found**: run the review without constraint context — this is fine, no message needed.
---
Before auditing, list the nine review dimensions and decide for each one whether you will check it or skip it. The ledger drives the audit: tick each dimension as the sections below cover it, and do not write the report until every dimension is either **checked** or **skipped with a reason**. It becomes the `coverage` block of `naksha-review/findings.json` (Section C).
| Dimension | What counts as checking it | |-----------|----------------------------| | `accessibility` | WCAG checks: contrast against the threshold, alt text, semantics and landmarks, ARIA, keyboard order, touch targets | | `visual_hierarchy` | Section A principles 1, 2, 5 and 6 (hierarchy, alignment, proximity, balance) and the anti-pattern check | | `typography` | Type scale, line length, line height, weight use | | `color` | Palette discipline, semantic color use, surface layers, brand color use | | `spacing` | Spacing values against the grid (`constraints.grid` if set), rhythm between sections | | `content` | Section B4: labels, error messages, placeholder text, tone | | `interaction_states` | Focus, hover, active, disabled, loading and error states; feedback and error-prevention heuristics; Section B5 motion | | `responsive` | Viewport meta, breakpoints, a second viewport, `constraints.breakpoints` and `max_content_width` | | `tokens` | Hardcoded values that should be tokens, `component_patterns` deviations |
Typical skips: a single screenshot cannot show `interaction_states` or `tokens` ("no source code"); one viewport cannot show `responsive` behavior unless the source has media queries you can read. Write the real reason, not "N/A".
---
Use this section when the input is an image file, a Figma URL, or a captured preview screenshot.
**Live
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…