/naksha:design-reel [design task] [--url <live page to redesign>] [--out <dir>]from naksha
Records a live /design session and renders it as a shareable vertical + landscape video reel showing the full design team workflow. Requires Node, ffmpeg, and the naksha-reel package.
Ships in naksha. Installing the plugin adds it to Claude Code.
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"
MISSING_TOOLS → stop. Tell the user to install Node 18+ and ffmpeg; point to docs/reel-setup.md and /naksha-doctor.DEPS_MISSING → run once: (cd packages/naksha-reel && npm install). This is the one-time, opt-in install; naksha core stays zero-build.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.
--url <page>: a running page to redesign → redesign mode (real before + after wipe).
Absent → create mode (after-only; the page is built fresh).--out <dir>: output dir (default ./naksha-reels).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.
file:// is blocked for headless capture)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 )
http://localhost:8788/design-output.html at 900×1340
(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.--url the SAME way, BEFORE
/design's changes are applied to it (capture it first, in Step 2's lead-in).kill "$(cat /tmp/naksha-reel-serve.pid)" 2>/dev/null.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>
reel-9x16.mp4 + reel-16x9.mp4 are in the out dir./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.
.naksha/memory.md exists, append [{ISO}] /design-reel: reel for "{task}" ({N} beats).Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
design-reel, video-production, design-team, screen-recording
7-day visitors to each command page
70 commands in this plugin
/ab-variants/ab-variantsGenerate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy variations./accessibility-audit/accessibility-auditFull WCAG AA accessibility audit on an HTML file — contrast ratios, keyboard navigation, semantic HTML, ARIA usage, touch targets, and label associations./brand-kit/brand-kitGenerate a complete brand kit from a logo and 1-2 brand colors — full palette, type scale, icon style, component tokens, and Figma styles.npx claudepluginhub adityaraj0421/naksha-studio --plugin nakshaOther plugins' commands for the same job