figma_preview_plan
Validate a design plan against your cached design system without touching Figma. Returns a plan ID and summary, or errors with suggestions to fix and preview again.
Instructions
Validate a Design Plan (Design DSL JSON) with Zod, resolve every component/variant/property/token against the cached Design System, and return a planId + human-readable summary WITHOUT touching Figma. Invalid plans or unresolved components return structured errors with suggestions — fix the plan and preview again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | DesignPlan object: { name, screens: DesignNode[], target?, screenGap? }. See the figma-design skill for the DSL. |