refactor_design_structure
Refactor canvas design structure by renaming semantic layers, normalizing 8pt spacing, and flattening redundant wrappers, with dry-run preview.
Instructions
Safely refactors canvas structure (semantic layer renaming, 8pt spacing normalization, flattening redundant wrappers) with dry-run support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, returns projected refactor changes without modifying canvas. | |
| fileId | No | Optional target file ID. | |
| strategy | Yes | Refactoring strategy. | |
| artboardId | Yes | Target artboard ID to refactor. |