Workflow shape
- Start session and open target doc.
- Apply a deterministic operation envelope.
- Validate manifest/layers.
- Export outputs.
- Cleanup temporary layers.
Recommended transaction pattern
Avoid common quality failures
- Always set text style explicitly after
createTextLayer. - Use
maxWidth/maxHeightwhen typography must stay within frame. - Use overlap avoidance when foreground text can collide with images.
- Keep cleanup ops (
deleteLayer) in every test/design pass.
Examples in repository
examples/real-world/blog-wireframe-date-nav.jsonexamples/real-world/instagram-reels-beach-coffee-3-variants.jsonexamples/real-world/instagram-reels-beach-coffee-3-variants-pass2.json