/design:export
Export the active canvas — PNG / PDF / SVG / HTML / PPTX / MP4 / GIF / WebM / Canva handoff bundle / project ZIP. Thin slash wrapper over `POST /_api/export` (same engine as the ⌘E UI dialog).
| Property | Value |
|---|---|
| Command | /design:export |
| Category | daily (daily) |
| Argument hint | <png|pdf|svg|html|pptx|mp4|gif|webm|canva|zip> [--scope selection|artboard|canvas-as-separate|project-raw] [--out <path>] [--option key=value] |
| Source | plugins/design/commands/export.md |
Description
Export the active canvas — PNG / PDF / SVG / HTML / PPTX / MP4 / GIF / WebM / Canva handoff bundle / project ZIP. Thin slash wrapper over POST /_api/export (same engine as the ⌘E UI dialog).
Invocation
/design:export <png|pdf|svg|html|pptx|mp4|gif|webm|canva|zip> [--scope selection|artboard|canvas-as-separate|project-raw] [--out <path>] [--option key=value]Summary
Sends a request to the running dev-server (POST /_api/export) with the same payload the ⌘E dialog inside the canvas sends. The server writes the file and this slash command pulls it down to disk (default cwd, or --out <path>).
Source of truth
/design:edit
Iterate on the active canvas — Claude reads the file you have open in the browser and applies feedback IN PLACE. Default: after the edit, auto-runs the critic panel; add --perfect [N] for N auto-fix iterations, or --no-critic to skip. --opt-out=<scope> overrides the scope from the sidecar for this iteration.
/design:generate
Generate media with your own AI provider key (BYOK — Google/Nano Banana image; ElevenLabs audio + Veo video in later phases) and land it on the canvas. Image v1. The key is resolved server-side; this verb never handles it. Default output = splice the produced content-addressed asset into the active canvas.