figma-raw-geometry
Installation
SKILL.md
Use the Figma REST API as a measurement source. Return numeric measurements with field provenance and keep implementation assumptions separate from fetched values. A screenshot describes one rendered state; the node JSON exposes the state's geometry, transforms, visibility, and layer opacity.
1. Define the states and targets
Collect:
- the file key, decoded from the Figma URL;
- the containing frame or component-set id;
- every target state or variant id;
- the target layer mapping for each state; and
- the ordered prototype edges when reconstructing animation.