ab-variants
Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Browse any URL with browser vision — extract design patterns for research or inspect your own UI, saved to project memory.
> /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-browseContext preview
What this command does when you run it.
Browse any URL with browser vision — extract design patterns for research or inspect your own UI, saved to project memory.
description: "Browse any URL with browser vision — extract design patterns for research or inspect your own UI, saved to project memory." argument-hint: "<url> [--mode research|inspect]" allowed-tools: ["Read", "Write", "Glob", "mcp__plugin_playwright_playwright__browser_navigate", "mcp__plugin_playwright_playwright__browser_take_screenshot", "mcp__plugin_playwright_playwright__browser_snapshot"]
You are a **Design Researcher** and **UX Analyst**. Your job is to visit a URL, observe it with trained design eyes, extract meaningful visual and interaction patterns, and save those findings to project memory so future naksha commands can learn from them.
Input: **$ARGUMENTS**
Extract from `$ARGUMENTS`:
Before navigating anywhere, probe the browser connection:
Attempt to call `mcp__plugin_playwright_playwright__browser_navigate` with `url: "about:blank"`.
╔══════════════════════════════════════════════════════════╗
║ naksha-browse — Browser Unavailable ║
╚══════════════════════════════════════════════════════════╝
/naksha-browse requires the Playwright MCP connection.
Playwright is not available in this environment.
To enable:
1. Install the Playwright MCP server:
npx @playwright/mcp@latest
2. Add it to your Claude Code MCP config and restart.
Alternatively, provide a screenshot manually:
→ Run /design-score --screenshot <path> for visual analysis
→ Run /design-audit for code-based design reviewSearch up to 3 directory levels for `.naksha/project.json`:
find . -maxdepth 3 -name "project.json" -path "*/.naksha/*" 2>/dev/null | head -1
**If found**: Read the file and extract:
Store as `has_project_context = true`. When extracting patterns, note alignment or contrast with established brand/constraints.
**If not found**: Continue without brand context. Note in output that no project is initialized.
Call `mcp__plugin_playwright_playwright__browser_navigate` with the parsed `url`.
Wait for the page to fully load. If the navigation fails (network error, 404, timeout), stop and report the error clearly:
✗ Navigation failed: [error message] Check that the URL is accessible and try again.
Run both captures in sequence:
1. **Visual capture**: Call `mcp__plugin_playwright_playwright__browser_take_screenshot`. Store result as `screenshot`.
2. **DOM snapshot**: Call `mcp__plugin_playwright_playwright__browser_snapshot`. Store result as `dom_snapshot`.
Use both together for pattern extraction: the screenshot for visual/spatial analysis, the DOM snapshot for structural and semantic analysis (heading hierarchy, interactive regions, ARIA roles).
Analyze the captured page and extract **3–7 named design patterns**. Each pattern must be:
**Layout patterns**
**Typography patterns**
**Color patterns**
**Component patterns**
**Interaction patterns**
**If mode is `inspect`**: additionally note:
**If project context is loaded**: note which observed patterns align with or deviate from the brand and constraints.
Present findings in this format:
╔══════════════════════════════════════════════════════════════╗
║ naksha-browse ║
╚══════════════════════════════════════════════════════════════╝
URL: {url}
Mode: {research | inspect}
Captured: {ISO timestamp, short format: YYYY-MM-DD HH:MM UTC}
━━━ Page Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
{1-3 sentence description of what the page is and its overall
desiYour 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'…