/design:screenshot
Capture screenshot aktivního canvasu — full, jednoho screenu, elementu, nebo všech screens v smyčce. Wrapper přes `dev-server/bin/screenshot.sh` (agent-browser primárně, playwright fallback).
| Property | Value |
|---|---|
| Command | /design:screenshot |
| Category | daily |
| Argument hint | [--screen|--element <id> | --selector <css> | --full | --all-screens] [--area <n>] |
| Source | plugins/design/commands/screenshot.md |
Description
Capture screenshot aktivního canvasu — full, jednoho screenu, elementu, nebo všech screens v smyčce. Wrapper přes dev-server/bin/screenshot.sh (agent-browser primárně, playwright fallback).
Invocation
/design:screenshot [--screen|--element <id> | --selector <css> | --full | --all-screens] [--area <n>]Summary
Otevře aktivní canvas (_active.json) přes server URL (ne file://), zachytí screenshot, uloží do .design/_history/<slug>/screenshots/<NNN>-<area>.png (gitignored).
Source of truth
This page is auto-generated from the command's frontmatter. The exact prompt Claude runs — including directives, edge-case handling, and tool-routing logic — lives in the source file:
plugins/design/commands/screenshot.md → read it for the full behavior.
/design:rollback
Vrať poslední snapshot aktivního canvasu (undo poslední /design:edit). --steps N pro víc kroků zpět.
/design:init
One-time project-level environment init for the design plugin. Detects missing dependencies (node ≥ 20, git, agent-browser, maude), prints install hints for soft deps, offers to run /init for CLAUDE.md and /flow:init for .ai/, and writes a skeleton .design/config.json. Does NOT create a design system — use /design:setup-ds <name> for that. Mirrors /flow:init.