ab-variants
Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Run all naksha quality checks and report the plugin's health status.
> /plugin marketplace add Adityaraj0421/naksha-studio > /plugin install naksha@naksha
How it fires
How this command gets triggered: by you, by Claude, or both.
/naksha-doctorContext preview
What this command does when you run it.
Run all naksha quality checks and report the plugin's health status.
description: "Run all naksha quality checks and report the plugin's health status." argument-hint: "[--fix]" allowed-tools: ["Bash", "Read", "Glob", "mcp__plugin_playwright_playwright__browser_navigate", "mcp__figma-console__figma_get_status", "mcp__stitch__list_projects"]
Run a full health check of the naksha plugin — structural validation, metadata consistency, behavioral smoke, and legacy branding guard. Report each check as ✅ PASS or ❌ FAIL with specific remediation for any failures.
Use `Glob` to find `meta/stats.json` — the directory containing it is the plugin root. All scripts are in `scripts/` relative to that root. Change to that directory before running scripts.
Run each script separately so results can be attributed individually. Capture output and exit code for each:
node scripts/validate-structure.js 2>&1
bash scripts/verify-metadata.sh 2>&1
bash scripts/behavioral-smoke.sh 2>&1
bash scripts/guard-legacy-branding.sh 2>&1
Probe the two primary MCP integrations that naksha commands depend on. These checks are **informational** — they reveal whether MCP-dependent commands will work in the current environment. MCP unavailability does not make the plugin unhealthy; it means certain commands will operate in fallback mode.
**Playwright MCP:** Attempt to call `mcp__plugin_playwright_playwright__browser_navigate` with `url: "about:blank"`.
**Figma MCP:** Attempt to call `mcp__figma-console__figma_get_status`.
**Stitch MCP:** Attempt to call `mcp__stitch__list_projects`.
Record all three results for inclusion in the health report.
Look for `.naksha/project.json` in the current directory and up to 3 parent directories.
Record this result for the health report. This check is **informational** — v4 projects are valid, they just lack v5 memory features.
Probe the toolchain `/design-reel` needs to render video. **Informational** — its absence does not make the plugin unhealthy; it means `/design-reel` is unavailable until set up.
command -v node >/dev/null 2>&1 && echo "node $(node -v)" || echo "node MISSING" command -v ffmpeg >/dev/null 2>&1 && echo "ffmpeg OK" || echo "ffmpeg MISSING" [ -d packages/naksha-reel/node_modules ] && echo "reel-deps INSTALLED" || echo "reel-deps NOT_INSTALLED"
`npm install` in `packages/naksha-reel`, done automatically on first `/design-reel` run).
When not `READY`, add this line to the report's Note section: `Note: /design-reel requires Node + ffmpeg + packages/naksha-reel. See docs/reel-setup.md.`
Parse each script's output and exit code. Present results in this format when all quality checks pass:
╔═══════════════════════════════════════╗
║ naksha doctor ║
╚═══════════════════════════════════════╝
✅ validate-structure 8/8 checks passed
✅ verify-metadata all counts consistent
✅ behavioral-smoke fixtures passing
✅ guard-legacy-branding no banned strings found
──────────────────────────────────────
MCPs playwright ✅ AVAILABLE
figma ✅ AVAILABLE
stitch ✅ AVAILABLE
──────────────────────────────────────
Memory schema ✅ v5 (project.json found)
──────────────────────────────────────
Reel toolchain ✅ READY (/design-reel)
──────────────────────────────────────
══════════════════════════════════════
Status: HEALTHY — 4/4 checks passed
══════════════════════════════════════Show the Reel row from the Step 2.7 result: `READY` → `✅ READY (/design-reel)`; `SETUP_NEEDED` → `⚠ setup needed — npm install runs on first /design-reel`; `UNAVAILABLE` → `❌ UNAVAILABLE — node/ffmpeg missing (see docs/reel-setup.md)`.
Show the Memory row based on Step 2.6 result:
When any quality check fails, show ❌ and a one-line summary. The HEALTHY/UNHEALTHY status and N/4 count is based on script checks only — MCP and memory availability are shown separately as environment probes:
╔═══════════════════════════════════════╗
║ naksha doctor ║
╚═══════════════════════════════════════╝
✅ validate-structure 8/8 checks passed
❌ verify-metadata FAIL — commands count mismatch
✅ behavioral-smoke fixtures passing
✅ guard-legacy-branding no banned strings found
──────────────────────────────────────
MCPs playwright ❌ UNAVAILABLE
figma ✅ AVAILABLE
stitch ✅ AVAILABLE
──────────────────────────────────────
Note: /design-compare, /competitive-audit require Playwright.
These commands will fall back to manual screenshot mode.
────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'…