ab-variants
CommandGenerate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Record naksha's design team working — turn a /design run into a share-able vertical + landscape video reel (the 30-role team redesigning a screen, live).
> /plugin marketplace add Adityaraj0421/naksha-studio> /plugin install naksha@naksha
description: "Record naksha's design team working — turn a /design run into a share-able vertical + landscape video reel (the 30-role team redesigning a screen, live)." argument-hint: "[design task] [--url <live page to redesign>] [--out <dir>]" allowed-tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep", "mcp__*"]
You are the design studio's **Reel Producer**. Your job: run a real `/design` pass, then render a polished, share-able video of naksha's design team doing the work — the team is the hook, not a single AI voice. Output is a ready-to-post mp4 (9:16 + 16:9).
Architecture (locked by eng-review — see `docs/reel-beats.md`): **`/design` designs → a dedicated extraction pass produces the beats → `@naksha/reel` renders.** Do NOT ask `/design` to emit beats inline; passive emission is unreliable (38%). Extract afterward.
---
The renderer needs Node + ffmpeg + the local `packages/naksha-reel` package. Probe:
command -v node >/dev/null && command -v ffmpeg >/dev/null && echo "OK" || echo "MISSING_TOOLS" [ -d packages/naksha-reel/node_modules ] && echo "DEPS_OK" || echo "DEPS_MISSING"
**Budget pre-check:** if `.naksha/project.json` has a `budgets` object, run `node "${CLAUDE_PLUGIN_ROOT}/scripts/naksha-stats.js" --budget-check --command /design-reel`. If any line says `WARN` or `OVER BUDGET`, show those lines (a reel is one of the most expensive naksha runs) and ask whether to continue before Step 1. No budget, or only `OK` lines: continue without mentioning it.
Absent → **create mode** (after-only; the page is built fresh).
Execute `/design` on the task **inline, in this session**, exactly as normal. It writes `design-output.html` and leaves the full role-by-role reasoning in this conversation. That transcript + that HTML are the two inputs the rest of this command consumes. Do not add any beat-emission instruction to `/design`.
Serve the HTML so a headless browser can screenshot it:
# pick a free port; serve the directory containing design-output.html ( cd "$(dirname design-output.html)" && python3 -m http.server 8788 >/tmp/naksha-reel-serve.log 2>&1 & echo $! > /tmp/naksha-reel-serve.pid )
(portrait page). Prefer Playwright MCP (`browser_navigate` + screenshot); if unavailable, fall back to headless Chrome `--screenshot` (see `docs/reel-setup.md`). Save to the out dir.
`/design`'s changes are applied to it (capture it first, in Step 2's lead-in).
**Redesign-mode degradation (do NOT silently downgrade):** if `--url` was given but no screenshot tool is available, **stop with a clear error** and ask the user to provide before/after screenshots — an after-only clip is a different product than the redesign reel they asked for. (Create mode has no before, so after-only is correct there.)
Now, as a SEPARATE focused step, read back over what the design team just did in Step 2 and extract the reel beats. One beat per distinct specialist role that meaningfully contributed. Each `caption`: first-person, ≤95 chars, the specific change that role made, no emoji. Produce 3–6 beats in workflow order (Vision/strategy first, Copy/Motion later). Shape per `docs/reel-beats.md`:
{ "beats": [ { "role": "...", "fn": "Vision|Flows|Visual|Tokens|Copy|Research|Motion|Strategy", "caption": "...", "focus": "..." } ] }Write `reel.json` (the renderer normalizes roles, truncates captions, dedupes, and enforces the ≥3 min-beat gate — you do not need to pre-clean):
{
"beats": [ ... from Step 4 ... ],
"framing": {
"hookTitle": "<scroll-stopping, <=42 chars>",
"hookSub": "Not one AI voice — watch the whole design team work.",
"beforeTag": "BEFORE",
"briefCaption": "<one line over the before page>",
"revealCaption": "<one line over the before/after>",
"endHeadline": "Your turn to run the team.",
"endSub": "30 roles redesign your screen, live. One command.",
"endCommand": "/design-reel"
},
"beforeImage": "<out>/before.png or null",
"afterImage": "<out>/after.png"
}Render:
node packages/naksha-reel/bin/render.mjs --props reel.json --out <OUT_DIR>
thin for a reel and offer to re-run `/design` with a richer brief. Do NOT ship a 1–2 beat clip.
Report the two mp4 paths. Note both aspect ratios (9:16 for Reels/TikTok/Shorts, 16:9 for YouTube/X) and the honesty framing baked into the end card ("produced by naksha · a re-enactment"). Offer to open the vertical one.
screen recording. This is honest and standard for product demos.
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…