Skip to main
maudeMDCC/00
Design commands

/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).

PropertyValue
Command/design:screenshot
Categorydaily
Argument hint[--screen|--element <id> | --selector <css> | --full | --all-screens] [--area <n>]
Sourceplugins/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

snippet
/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/&lt;slug>/screenshots/&lt;NNN>-&lt;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.

On this page