Repository navigation
kit 1.0.0
- Read tools:
read_outline,read_frame_text,read_search,
read_comments,read_structure,read_styles,read_render. - File snapshots cached on disk per version; renders cached per version.
- Answers paged at 20,000 characters with an
offsetto continue. - Bridge to the "kit bridge" Figma plugin over a loopback WebSocket
(ports 7380–7389),read_bridgestatus andkit pluginto install the plugin. - Write tools through the plugin:
write_props(texts, paints, effects,
auto layout, styles, component properties),write_create(nested trees in
one call),delete_nodes,exec_run; each call is one undo step in Figma. write_commentposts comments and replies through the REST API.read_renderexports live through the plugin when it runs in the file.- Reads made before Figma's API shows a plugin edit are flagged as stale.
- An outdated plugin is refused with instructions to update it.
read_bridgelists the selected nodes, so "what I selected" can be read or
edited by id.read_stylesincludes local variables with a value per mode, read through
the plugin (Figma's REST variables API needs an Enterprise plan).- Images from a file path or URL as node fills (
imageprop); kit reads them,
since the plugin has no file or network access. - Mixed text styles with
textRanges(by substring or character range). write_createbuilds components and variant sets;component: trueturns
an existing node into a component.select: trueselects the created or changed nodes and brings them into view.
Install or update: npx -y @redfoxxo/kit@1 picks up 1.x releases. Setup for each client is in the README.