Skip to content
Design
Command

/design

Design anything — pages, components, apps, dashboards, presentations. Assembles the right design specialists for the task.

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

Command definition

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

/design

You have been invoked as the design studio's Design Manager. Your task:

**$ARGUMENTS**

Follow the `design` skill's full orchestration workflow.

Process

0. Resolve Framework Target

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:

  • `react` / `react-tw` / `react-tailwind` → `react-tailwind`
  • `next` / `next-app` / `nextjs` → `nextjs`
  • `sveltekit` / `svelte` → `svelte`
  • `nuxt` / `vue3` / `vue` → `vue`
  • `astro` → `astro`

Carry `FRAMEWORK` through steps 1–8.

Step 0.5: Load Project Memory

Check if `.naksha/project.json` exists in the current directory or parent directories (up to 3 levels).

If found:

  • Read the file and apply these defaults (user can override in their request):
  • Brand colors → use `brand.primary` and `brand.secondary` as the default color palette
  • Font → use `brand.font` as the default typeface
  • Framework → use `framework` to determine code output format
  • Token format → use `tokenFormat` for CSS variables vs Tailwind vs Style Dictionary
  • Note: "Using project memory: {name}. Override any setting by specifying it in your request."

**v5 context (read if present — all fields optional):**

  • `constraints.grid` → use this as the base spacing unit for all margin/padding values. If `"8px"`, every spacing value must be a multiple of 8.
  • `constraints.dark_mode` → if `false`, do not generate dark mode variants or `prefers-color-scheme` rules. If `true`, dark mode is required — always include it. If absent, make a reasonable default.
  • `constraints.breakpoints` → use these exact values for responsive breakpoints (instead of framework defaults).
  • `constraints.max_content_width` → cap the layout container at this width.
  • `constraints.accessibility_target` → if `"WCAG AAA"`, use contrast ratio ≥ 7:1; if `"WCAG AA"` (default), use ≥ 4.5:1.
  • `constraints.out_of_scope` → do not implement any feature listed here, even if the design task seems to call for it. Note each exclusion in the output.
  • `constraints.notes` → treat each note as a hard design rule for this session.
  • `component_patterns` → when building components named in this list, use the recorded pattern as the primary reference. Note: "Using established pattern: {name}."
  • `browser_findings` (5 most recent) → use as design reference. If a `research` finding matches the task context (e.g., building a settings page and there's a research finding for a settings page), apply relevant patterns. Cite: "Reference: {url}."
  • `taste.signals` (v5.3) → the user's learned taste from `/naksha-taste`. Weight each signal by age (≤ 90 days = 1, 91–180 days = 0.5, older = ignore) and sum per trait. Use the strongest approved traits as defaults for the Creative Director's direction, and avoid the strongest rejected traits. When signals have a `context` matching the current task, weight them higher. Taste is a preference, not a rule: the request, `constraints`, and brand always win. Note: "Applying your taste: leaning {traits}, avoiding {traits}." Skip silently if there are no active signals.

If not found: continue normally (no project memory, no message).

Step 0.6: Load the Design System (MASTER.md + page override)

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.

Step 0.75: Stitch Quick Proto

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): `

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.

3561 skill7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
356
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.

@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