Skip to content
Design
Command

/design-review

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

From plugin
naksha
35470 skills7 agents70 commands9 hooks
> /plugin marketplace add Adityaraj0421/naksha-studio
> /plugin install naksha@naksha

Command definition

design-review.md
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__*"]

/design-review

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

Target: **$ARGUMENTS**

The user will provide one of:

  • **A screenshot or image file** (`.png`, `.jpg`, `.gif`, `.webp`) → **Visual AI Critique Mode** (see Section A)
  • **A Figma URL** (contains `figma.com`) → screenshot it, then run Visual AI Critique + code audit
  • **An HTML file path** → read it and run Code-Level Audit (Section B)
  • **A running preview server** → take a screenshot for Visual AI Critique, then inspect code
  • **"current preview"** → inspect whatever is currently being previewed

**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.

---

Step 0: Load Project Constraints

Search up to 3 directory levels for `.naksha/project.json`. If found, extract **v5 fields** to use as audit criteria throughout this review:

  • `constraints.grid` → the expected base spacing unit. Flag any spacing value in the design that is NOT a multiple of this unit (e.g., if grid is `"8px"`, flag `13px`, `22px`, `7px` margins).
  • `constraints.dark_mode` → if `false` and the design includes dark mode styles (`prefers-color-scheme: dark`, `[data-theme="dark"]`, etc.), flag as **constraint violation**: "Dark mode was explicitly ruled out."
  • `constraints.breakpoints` → the expected responsive breakpoints. Flag missing breakpoints or breakpoints at unexpected values.
  • `constraints.max_content_width` → if any layout container exceeds this value, flag it.
  • `constraints.accessibility_target` → sets the required contrast threshold. `"WCAG AAA"` requires 7:1; `"WCAG AA"` requires 4.5:1. Use instead of the default 4.5:1 if `"WCAG AAA"` is set.
  • `constraints.out_of_scope` → if the design implements something in this list (e.g., dark mode was out-of-scope but is present), flag as a scope violation.
  • `constraints.notes` → treat each note as an expected design rule. Check for violations.
  • `component_patterns` → for any component named in this list, check whether the implementation matches the recorded pattern (background, border, radius, padding, etc.). Flag mismatches as **pattern deviation**.
  • `browser_findings` (5 most recent) → use as reference context — these are research findings or prior visual captures. Reference them when relevant but do not penalize for deviating from external sites.

**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.

---

Step 0.5: Open the Coverage Ledger

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".

---

Section A: Visual AI Critique (Screenshot / Vision Mode)

Use this section when the input is an image file, a Figma URL, or a captured preview screenshot.

How to obtain the image

  • **Image file provided**: Read it directly using the Read tool (Claude is multimodal — it can analyze images)
  • **Figma URL**: Call `figma_get_component_image` or `figma_take_screenshot` to export the frame
  • **Preview server**: Call `preview_screenshot` to capture the current state
  • **"current preview"**: Call `preview_screenshot`

**Live

Read more
@adityaraj0421
Ships withnaksha

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.

3541 skill7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
354
Star history of Adityaraj0421/naksha-studio on GitHub, a chart by star-history.com

Other commands on naksha.

ab-variants

ab-variants

Command

Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…

@adityaraj0421@adityaraj0421Install Command
accessibility-audit

accessibility-audit

Command

Full WCAG AA accessibility audit on an HTML file — contrast ratios, keyboard navigation, semantic HTML, ARIA usage, touch…

@adityaraj0421@adityaraj0421Install Command
brand-kit

brand-kit

Command

Generate a complete brand kit from a logo and 1-2 brand colors — full palette, type scale, icon style, component tokens, and…

@adityaraj0421@adityaraj0421Install Command
brand-strategy

brand-strategy

Command

Define or audit a brand — positioning, visual identity system, voice and tone, and brand architecture.

@adityaraj0421@adityaraj0421Install Command
chart-design

chart-design

Command

Design a chart or data visualization — selects the right chart type, applies accessible color palettes, adds annotations, and…

@adityaraj0421@adityaraj0421Install Command
competitive-audit

competitive-audit

Command

Capture a competitor website with Playwright and extract its color system, typography, layout patterns, and 'steal this'…

@adityaraj0421@adityaraj0421Install Command

More commands from other plugins.

od-contribute
Auto-invoked

od-contribute

Command

Open a first-contribution PR (or bug issue) on nexu-io/open-design — works for non-coders too.

open-designtoday108k
@nexu-io@nexu-ioInstall Command
design-deslop

design-deslop

Command

Strip the signatures that make a UI look AI-generated — flat hierarchy, no focal point, monotone layout, timid palettes, generic…

@dammyjay93@dammyjay93Install Command