3 results for tag "figma-use"
Mandatory prerequisite skill for the `use_figma` MCP tool β documents Figma Plugin API critical rules (use `return`, no `figma.closePlugin()`, no `figma.notify()`, `getSharedPluginData` only, 0β1 color range, always `loadFontAsync` before text, clone-modify-reassign for read-only fills/strokes, work incrementally) to prevent common hard-to-debug failures.
Mandatory prerequisite skill for every use_figma MCP call β teaches how to execute JavaScript in Figma files via the Plugin API with `return` (not figma.closePlugin), top-level await, font loading rules, color ranges, and how to grep the plugin-api typings for methods and properties.