agentsclimarketplace

Read design strategy

Skill alvinindra/figma-mcp-rust/skills/read-design-strategy

Token-efficient reading of Figma files with the figma-mcp-rust tools. Use before inspecting any Figma design through this server, when choosing get_design_context detail levels, deduplicating repeated component instances, or drilling into nodes without dumping entire trees.From its SKILL.md

Install
npx -y skills add alvinindra/figma-mcp-rust --skill read-design-strategy

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 23 stars23 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, as published. Nobody here has run it

To effectively read a Figma design with figma-mcp-rust:

  1. Start with get_metadata to understand file name, pages, and current page
  2. Use get_pages to list all pages without loading their full trees
  3. Use get_design_context (depth=2, detail=compact) for a token-efficient summary of the current selection or page
    • detail=minimal: id/name/type/bounds only (~5% tokens)
    • detail=compact: + fills/strokes/opacity (~30% tokens)
    • detail=full: everything, default (100% tokens)
    • dedupe_components=true: INSTANCE nodes are collapsed to compact stubs (mainComponentId + componentProperties overrides); unique component structures are collected once in a top-level componentDefs map. Use this whenever the screen contains repeated component instances (e.g. card lists, table rows, nav items). Typical savings: 5-10x fewer tokens vs full serialization of repeated instances.
  4. For screens with many repeated components, the recommended reading flow is: a. get_design_context(depth=2, detail=minimal, dedupe_components=true) to see the instance layout and component IDs b. Inspect componentDefs in the response: one definition per unique component, not one per instance c. Read componentProperties on each instance stub for variant selections, text overrides, and boolean toggles d. Drill into specific instances with get_node only when an instance has unique overrides you need to inspect
  5. Use search_nodes to find nodes by name or type without dumping the entire tree
  6. Drill into specific nodes with get_node or get_nodes_info (prefer batch over single calls)
  7. For text-heavy components, use scan_text_nodes to collect all copy at once
  8. Use scan_nodes_by_types to find all FRAME/COMPONENT/INSTANCE nodes in a subtree
  9. Call get_styles and get_variable_defs once per session to understand the design system
  10. Call get_fonts to understand typography usage across the page at a glance
  11. Use get_viewport to see what the user is currently looking at in the canvas
  12. Use get_reactions to inspect prototype interactions on a node
  13. Call get_screenshot last and only when visual confirmation is needed, because it is expensive
  14. Node IDs use colon format (4029:12345), never hyphens
  15. get_local_components returns componentSets and variantProperties for variant-aware inspection

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.