Append new PHP code statements to an existing method while correctly handling nested constructs like arrow functions and computed properties. Specify file, method, and code; optionally provide TypeScript types for variables.
Retrieve full DSL data from MasterGo designs by fileId and layerId or short link. Use as fallback when getDesignSections fails; returns raw data for parsing and code generation.
Fetch Code Connect hints (documentation links, component key, name, description) for Figma components or instances. Provide node IDs or scan the current page to find them.
Transform images into realistic embroidery effects for logos, artwork, or product designs. Use this tool to prepare designs for embroidery mockups and print-on-demand products.
Execute JavaScript code to create or modify Figma designs, providing direct programmatic control over nodes, layouts, styles, and component properties.
Convert a complex method into a method object class whose __call__ holds the method body, with the original method delegating to it. Preview changes first; set apply=true to write.
Locate the function, method, or class that contains a given line number in a file. Supports nesting depth to retrieve parent definitions for better code navigation.
Retrieves design context for a Figma node and generates reference code, assets, a screenshot, and variables for design-to-code workflows, adapting to React, HTML, Flutter, or SwiftUI projects.
Run JavaScript against the Figma plugin API to create or edit designs in the file open in Figma Desktop, then return node IDs and screenshots for verification.
Measure text layout height, line count, and overflow without a browser. Verify content fits fixed containers or max-line constraints before generating designs or code.
Execute JavaScript to create or modify Figma designs via async figma methods for frames, styles, variables, components, and prototypes. Call figma_docs first to avoid hardcoded colors, broken layouts.
Review local Figma bridge call history to diagnose timed-out, dropped, or late plugin responses after restarts, with filters for method, file, and unsettled outcomes.
Imports a live webpage's visible DOM into the same semantic graph as Figma designs, capturing CSS values, font links, and element roles for audits, code generation, and change tracking.
Download icons, illustrations, and image fills from Figma designs into a local folder so generated code can reference them. Supports plugin and REST sources.
Read a Figma design from a URL or file key through the Figma REST API, returning a code-oriented spec for a selected node or a file outline to choose frames.