figma_clone_screen_to_device
Clones a Figma screen to a target device dimension, preserving library instances, bound variables, and auto-layout. Use when only screen size changes within the same design system.
Instructions
⚠️ NARROW USE CASE — Device migration ONLY. Clone a Figma screen to a target device dimension, preserving library instances, bound variables, and auto-layout. USE ONLY WHEN: same design system + same layout structure + only screen size changes. DO NOT USE FOR: creating alternatives, variations, or new designs — these REQUIRE building from scratch with figma_execute following the generate-figma-screen SKILL Step 5 pattern (search_assets → instantiate_component → setBoundVariable → auto-layout FILL). Clone copies benchmark's EXISTING mistakes (hardcoded rectangles, missing token bindings, non-responsive layouts). Benchmark is INSPIRATION, not a copy source for variations. If the user says 'alternatif', 'varyasyon', 'farklı', 'yeni', 'tasarla' — USE figma_execute + Step 5, NOT this tool. Device presets: iPhone 17, iPhone 16 Pro Max, Android Compact, iPad Pro 11, Desktop, and more. Custom: 'WxH' format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figmaUrl | No | Figma file URL for routing. | |
| fileKey | No | Target a specific connected file. | |
| sourceNodeId | Yes | Node ID of the source screen to clone (e.g. '139:3407') | |
| targetDevice | Yes | Device preset name (e.g. 'iPhone 17', 'Android Compact') or custom 'WxH' (e.g. '1200x800') | |
| newName | No | Name for the cloned screen (default: source name + device suffix) | |
| targetParentId | No | Parent node to place the clone under (default: current page) | |
| position | No | Explicit position for the clone (default: auto-placed right of source) |