Agent skill

Figma use_figma Plugin API Rules

by warpdotdev in warpdotdev/warp

Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

AGPL-3.0Auto-check passedFrontend & Design

Install Figma use_figma Plugin API Rules

skills CLI
$ npx skills add warpdotdev/warp --skill figma-use -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install warpdotdev/warp figma-use --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/warpdotdev/warp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/bundled/mcp_skills/figma/figma-use .claude/skills/figma-use && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
figma-use
GitHub stars
65k
Used in
4 other repos
Token cost
~4.4k tokens
SKILL.md length
1,992 words
Files
21 (incl. references)
Skills in repo
46
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

  • Works in 10 steps: Critical Rules → Page Rules (Critical) → return Is Your Output Channel → …
  • Creating or editing nodes, components or variants in a Figma file from code
  • SKILL.md covers 1. Critical Rules, 2. Page Rules (Critical), 3. return Is Your Output Channel and 4. Editor Mode, plus 6 more sections
  • Runs TypeScript scripts from its folder

What it does

Load this skill before every `use_figma` call. That MCP tool runs JavaScript inside a Figma file through the Plugin API, and the skill sets out the rules that avoid common failures. Typical uses are creating, editing or deleting nodes, setting up variables and tokens, building components and variants, adjusting auto-layout and fills, binding variables to properties and inspecting file structure. Calls should pass `skillNames: 'figma-use'`, a logging parameter that does not change execution.

The critical rules say to send data back with `return` (the value is JSON-serialized automatically), to write plain JavaScript with top-level `await` instead of wrapping code in an async function, and not to call `figma.closePlugin()`. `figma.notify()` throws, `console.log()` output is not returned, and `getPluginData()` and `setPluginData()` are unsupported in favor of the shared plugin data methods. The agent greps a large typings file for the API surface rather than loading it, starts design-system work from a guide, and loads the figma-generate-design skill for building full screens. Reference files cover components, variables, text and effect styles, gotchas and recovery.

When your agent uses it

  • Creating or editing nodes, components or variants in a Figma file from code
  • Setting up Figma variables or design tokens programmatically
  • Binding variables to properties or changing auto-layout and fills
  • Inspecting a Figma file's structure through JavaScript

Example prompts

  • “Create a button component with primary and secondary variants in this Figma file.”
  • “Set up color variables for light and dark modes and bind them to the card frames.”
  • “List every top-level frame in this file with its auto-layout settings.”

Requirements

  • The `use_figma` tool from a Figma MCP server
  • A Figma file to work in

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Critical Rules
  2. Page Rules (Critical)
  3. return Is Your Output Channel
  4. Editor Mode
  5. Incremental Workflow (How to Avoid Bugs)
  6. Error Recovery & Self-Correction
  7. Pre-Flight Checklist
  8. Discover Conventions Before Creating
  9. Reference Docs
  10. Snippet examples

What it can do on your machine

Read from SKILL.md and the folder at commit 325d4d4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Figma use_figma Plugin API Rules loads about 4.4k tokens when it runs, and up to ~159k if it reads all its reference files. Until then it costs about 139 tokens; SKILL.md has 1,992 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~139
When it runs · the whole SKILL.md, loaded when a task matches
~4.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~159k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from warpdotdev/warp at commit 325d4d4, republished under its AGPL-3.0 licence (© warpdotdev). 1,992 words, ~4,438 tokens.

Download SKILL.mdSave it as .claude/skills/figma-use/SKILL.md (or your agent's skills folder). This skill also uses 20 other files; get the full folder from GitHub.
name
figma-use
description
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.
disable-model-invocation
false

use_figma — Figma Plugin API Skill

Use use_figma MCP to execute JavaScript in Figma files via the Plugin API. All detailed reference docs live in references/.

Always pass skillNames: "figma-use" when calling use_figma. This is a logging parameter used to track skill usage — it does not affect execution.

If the task involves building or updating a full page, screen, or multi-section layout in Figma from code, also load figma-generate-design. It provides the workflow for discovering design system components via search_design_system, importing them, and assembling screens incrementally. Both skills work together: this one for the API rules, that one for the screen-building workflow.

Before anything, load plugin-api-standalone.index.md to understand what is possible. When you are asked to write plugin API code, use this context to grep plugin-api-standalone.d.ts for relevant types, methods, and properties. This is the definitive source of truth for the API surface. It is a large typings file, so do not load it all at once, grep for relevant sections as needed.

IMPORTANT: Whenever you work with design systems, start with working-with-design-systems/wwds.md to understand the key concepts, processes, and guidelines for working with design systems in Figma. Then load the more specific references for components, variables, text styles, and effect styles as needed.

1. Critical Rules

  1. Use return to send data back. The return value is JSON-serialized automatically (objects, arrays, strings, numbers). Do NOT call figma.closePlugin() or wrap code in an async IIFE — this is handled for you.
  2. Write plain JavaScript with top-level await and return. Code is automatically wrapped in an async context. Do NOT wrap in (async () => { ... })().
  3. figma.notify() throws "not implemented" — never use it 3a. getPluginData() / setPluginData() are not supported in use_figma — do not use them. Use getSharedPluginData() / setSharedPluginData() instead (these ARE supported), or track node IDs by returning them and passing them to subsequent calls.
  4. console.log() is NOT returned — use return for output
  5. Work incrementally in small steps. Break large operations into multiple use_figma calls. Validate after each step. This is the single most important practice for avoiding bugs.
  6. Colors are 0–1 range (not 0–255): {r: 1, g: 0, b: 0} = red
  7. Fills/strokes are read-only arrays — clone, modify, reassign
  8. Font MUST be loaded before any text operation: await figma.loadFontAsync({family, style})
  9. Pages load incrementally — use await figma.setCurrentPageAsync(page) to switch pages and load their content (see Page Rules below)
  10. setBoundVariableForPaint returns a NEW paint — must capture and reassign
  11. createVariable accepts collection object or ID string (object preferred)
  12. layoutSizingHorizontal/Vertical = 'FILL' MUST be set AFTER parent.appendChild(child) — setting before append throws. Same applies to 'HUG' on non-auto-layout nodes.
  13. Position new top-level nodes away from (0,0). Nodes appended directly to the page default to (0,0). Scan figma.currentPage.children to find a clear position (e.g., to the right of the rightmost node). This only applies to page-level nodes — nodes nested inside other frames or auto-layout containers are positioned by their parent. See Gotchas.
  14. On use_figma error, STOP. Do NOT immediately retry. Failed scripts are atomic — if a script errors, it is not executed at all and no changes are made to the file. Read the error message carefully, fix the script, then retry. See Error Recovery.
  15. MUST return ALL created/mutated node IDs. Whenever a script creates new nodes or mutates existing ones on the canvas, collect every affected node ID and return them in a structured object (e.g. return { createdNodeIds: [...], mutatedNodeIds: [...] }). This is essential for subsequent calls to reference, validate, or clean up those nodes.
  16. Always set variable.scopes explicitly when creating variables. The default ALL_SCOPES pollutes every property picker — almost never what you want. Use specific scopes like ["FRAME_FILL", "SHAPE_FILL"] for backgrounds, ["TEXT_FILL"] for text colors, ["GAP"] for spacing, etc. See variable-patterns.md for the full list.
  17. await every Promise. Never leave a Promise unawaited — unawaited async calls (e.g. figma.loadFontAsync(...) without await, or figma.setCurrentPageAsync(page) without await) will fire-and-forget, causing silent failures or race conditions. The script may return before the async operation completes, leading to missing data or half-applied changes.

For detailed WRONG/CORRECT examples of each rule, see Gotchas & Common Mistakes.

2. Page Rules (Critical)

Page context resets between use_figma calls — figma.currentPage starts on the first page each time.

Switching pages

Use await figma.setCurrentPageAsync(page) to switch pages and load their content. The sync setter figma.currentPage = page throws an error in use_figma runtimes.

js
// Switch to a specific page (loads its content)
const targetPage = figma.root.children.find((p) => p.name === "My Page");
await figma.setCurrentPageAsync(targetPage);
// targetPage.children is now populated

// Iterate over all pages
for (const page of figma.root.children) {
  await figma.setCurrentPageAsync(page);
  // page.children is now loaded — read or modify them here
}
Across script runs

figma.currentPage resets to the first page at the start of each use_figma call. If your workflow spans multiple calls and targets a non-default page, call await figma.setCurrentPageAsync(page) at the start of each invocation.

You can call use_figma multiple times to incrementally build on the file state, or to retrieve information before writing another script. For example, write a script to get metadata about existing nodes, return that data, then use it in a subsequent script to modify those nodes.

3. return Is Your Output Channel

The agent sees ONLY the value you return. Everything else is invisible.

  • Returning IDs (CRITICAL): Every script that creates or mutates canvas nodes MUST return all affected node IDs — e.g. return { createdNodeIds: [...], mutatedNodeIds: [...] }. This is a hard requirement, not optional.
  • Progress reporting: return { createdNodeIds: [...], count: 5, errors: [] }
  • Error info: Thrown errors are automatically captured and returned — just let them propagate or throw explicitly.
  • console.log() output is never returned to the agent
  • Always return actionable data (IDs, counts, status) so subsequent calls can reference created objects

4. Editor Mode

use_figma works in design mode (editorType "figma", the default). FigJam ("figjam") has a different set of available node types — most design nodes are blocked there.

Available in design mode: Rectangle, Frame, Component, Text, Ellipse, Star, Line, Vector, Polygon, BooleanOperation, Slice, Page, Section, TextPath.

Blocked in design mode: Sticky, Connector, ShapeWithText, CodeBlock, Slide, SlideRow, Webpage.

5. Incremental Workflow (How to Avoid Bugs)

The most common cause of bugs is trying to do too much in a single use_figma call. Work in small steps and validate after each one.

The pattern
  1. Inspect first. Before creating anything, run a read-only use_figma to discover what already exists in the file — pages, components, variables, naming conventions. Match what's there.
  2. Do one thing per call. Create variables in one call, create components in the next, compose layouts in another. Don't try to build an entire screen in one script.
  3. Return IDs from every call. Always return created node IDs, variable IDs, collection IDs as objects (e.g. return { createdNodeIds: [...] }). You'll need these as inputs to subsequent calls.
  4. Validate after each step. Use get_metadata to verify structure (counts, names, hierarchy, positions). Use get_screenshot after major milestones to catch visual issues.
  5. Fix before moving on. If validation reveals a problem, fix it before proceeding to the next step. Don't build on a broken foundation.
Suggested step order for complex tasks
Step 1: Inspect file — discover existing pages, components, variables, conventions
Step 2: Create tokens/variables (if needed)
       → validate with get_metadata
Step 3: Create individual components
       → validate with get_metadata + get_screenshot
Step 4: Compose layouts from component instances
       → validate with get_screenshot
Step 5: Final verification
What to validate at each step
After...Check with get_metadataCheck with get_screenshot
Creating variablesCollection count, variable count, mode names—
Creating componentsChild count, variant names, property definitionsVariants visible, not collapsed, grid readable
Binding variablesNode properties reflect bindingsColors/tokens resolved correctly
Composing layoutsInstance nodes have mainComponent, hierarchy correctNo cropped/clipped text, no overlapping elements, correct spacing
Show full SKILL.md (817 more words)Show less

6. Error Recovery & Self-Correction

use_figma is atomic — failed scripts do not execute. If a script errors, no changes are made to the file. The file remains in the same state as before the call. This means there are no partial nodes, no orphaned elements from the failed script, and retrying after a fix is safe.

When use_figma returns an error
  1. STOP. Do not immediately fix the code and retry.
  2. Read the error message carefully. Understand exactly what went wrong — wrong API usage, missing font, invalid property value, etc.
  3. If the error is unclear, call get_metadata or get_screenshot to understand the current file state.
  4. Fix the script based on the error message.
  5. Retry the corrected script.
Common self-correction patterns
Error messageLikely causeHow to fix
"not implemented"Used figma.notify()Remove it — use return for output
"node must be an auto-layout frame..."Set FILL/HUG before appending to auto-layout parentMove appendChild before layoutSizingX = 'FILL'
"Setting figma.currentPage is not supported"Used sync page setterUse await figma.setCurrentPageAsync(page)
Property value out of rangeColor channel > 1 (used 0–255 instead of 0–1)Divide by 255
"Cannot read properties of null"Node doesn't exist (wrong ID, wrong page)Check page context, verify ID
Script hangs / no responseInfinite loop or unresolved promiseCheck for while(true) or missing await; ensure code terminates
"The node with id X does not exist"Parent instance was implicitly detached by a child detachInstance(), changing IDsRe-discover nodes by traversal from a stable (non-instance) parent frame
When the script succeeds but the result looks wrong
  1. Call get_metadata to check structural correctness (hierarchy, counts, positions).
  2. Call get_screenshot to check visual correctness. Look closely for cropped/clipped text (line heights cutting off content) and overlapping elements — these are common and easy to miss.
  3. Identify the discrepancy — is it structural (wrong hierarchy, missing nodes) or visual (wrong colors, broken layout, clipped content)?
  4. Write a targeted fix script that modifies only the broken parts — don't recreate everything.

For the full validation workflow, see Validation & Error Recovery.

7. Pre-Flight Checklist

Before submitting ANY use_figma call, verify:

  • Code uses return to send data back (NOT figma.closePlugin())
  • Code is NOT wrapped in an async IIFE (auto-wrapped for you)
  • return value includes structured data with actionable info (IDs, counts)
  • NO usage of figma.notify() anywhere
  • NO usage of console.log() as output (use return instead)
  • All colors use 0–1 range (not 0–255)
  • Fills/strokes are reassigned as new arrays (not mutated in place)
  • Page switches use await figma.setCurrentPageAsync(page) (sync setter throws)
  • layoutSizingVertical/Horizontal = 'FILL' is set AFTER parent.appendChild(child)
  • loadFontAsync() called BEFORE any text property changes
  • lineHeight/letterSpacing use {unit, value} format (not bare numbers)
  • resize() is called BEFORE setting sizing modes (resize resets them to FIXED)
  • For multi-step workflows: IDs from previous calls are passed as string literals (not variables)
  • New top-level nodes are positioned away from (0,0) to avoid overlapping existing content
  • ALL created/mutated node IDs are collected and included in the return value
  • Every async call (loadFontAsync, setCurrentPageAsync, importComponentByKeyAsync, etc.) is awaited — no fire-and-forget Promises

8. Discover Conventions Before Creating

Always inspect the Figma file before creating anything. Different files use different naming conventions, variable structures, and component patterns. Your code should match what's already there, not impose new conventions.

When in doubt about any convention (naming, scoping, structure), check the Figma file first, then the user's codebase. Only fall back to common patterns when neither exists.

Quick inspection scripts

List all pages and top-level nodes:

js
const pages = figma.root.children.map(p => `${p.name} id=${p.id} children=${p.children.length}`);
return pages.join('\n');

List existing components across all pages:

js
const results = [];
for (const page of figma.root.children) {
  await figma.setCurrentPageAsync(page);
  page.findAll(n => {
    if (n.type === 'COMPONENT' || n.type === 'COMPONENT_SET')
      results.push(`[${page.name}] ${n.name} (${n.type}) id=${n.id}`);
    return false;
  });
}
return results.join('\n');

List existing variable collections and their conventions:

js
const collections = await figma.variables.getLocalVariableCollectionsAsync();
const results = collections.map(c => ({
  name: c.name, id: c.id,
  varCount: c.variableIds.length,
  modes: c.modes.map(m => m.name)
}));
return results;

9. Reference Docs

Load these as needed based on what your task involves:

DocWhen to loadWhat it covers
gotchas.mdBefore any use_figmaEvery known pitfall with WRONG/CORRECT code examples
common-patterns.mdNeed working code examplesScript scaffolds: shapes, text, auto-layout, variables, components, multi-step workflows
plugin-api-patterns.mdCreating/editing nodesFills, strokes, Auto Layout, effects, grouping, cloning, styles
api-reference.mdNeed exact API surfaceNode creation, variables API, core properties, what works and what doesn't
validation-and-recovery.mdMulti-step writes or error recoveryget_metadata vs get_screenshot workflow, mandatory error recovery steps
component-patterns.mdCreating components/variantscombineAsVariants, component properties, INSTANCE_SWAP, variant layout, discovering existing components, metadata traversal
variable-patterns.mdCreating/binding variablesCollections, modes, scopes, aliasing, binding patterns, discovering existing variables
text-style-patterns.mdCreating/applying text stylesType ramps, font probing, listing styles, applying styles to nodes
effect-style-patterns.mdCreating/applying effect stylesDrop shadows, listing styles, applying styles to nodes
plugin-api-standalone.index.mdNeed to understand the full API surfaceIndex of all types, methods, and properties in the Plugin API
plugin-api-standalone.d.tsNeed exact type signaturesFull typings file — grep for specific symbols, don't load all at once

10. Snippet examples

You will see snippets throughout documentation here. These snippets contain useful plugin API code that can be repurposed. Use them as is, or as starter code as you go. If there are key concepts that are best documented as generic snippets, call them out and write to disk so you can reuse in the future.

© warpdotdev, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 20 other files (references) in resources/bundled/mcp_skills/figma/figma-use of warpdotdev/warp.

  • SKILL.md
  • references/api-reference.md
  • references/common-patterns.md
  • references/component-patterns.md
  • references/effect-style-patterns.md
  • references/gotchas.md
  • references/plugin-api-patterns.md
  • references/plugin-api-standalone.d.ts
  • references/plugin-api-standalone.index.md
  • references/text-style-patterns.md
  • references/validation-and-recovery.md
  • references/variable-patterns.md
  • references/working-with-design-systems/wwds-components--creating.md
  • references/working-with-design-systems/wwds-components--using.md
  • references/working-with-design-systems/wwds-components.md
  • references/working-with-design-systems/wwds-effect-styles.md
  • references/working-with-design-systems/wwds-text-styles.md
  • references/working-with-design-systems/wwds-variables--creating.md
  • references/working-with-design-systems/wwds-variables--using.md
  • … and 2 more

Open the folder on GitHubat commit 325d4d4

Used in 4 other repositories

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in warpdotdev/warp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Figma use_figma Plugin API Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Figma use_figma Plugin API Rules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Figma use_figma Plugin API Rules this skillwarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma Design Inspectorasgeirtj/system_prompts_leaks69k—~936Automated safety check: PassCC0-1.0
AnyDesignuxKero/anydesign215—~1.5kAutomated safety check: PassMIT
AnyDesign Design Analyzeravelikiy/great_cto1031 repos~3.2kAutomated safety check: PassMIT
Build Figmacursor/plugins10k—~961Automated safety check: PassNone
Figma Codegenawdr74100/figwright982—~4.2kAutomated safety check: PassMIT

Similar skills

  • Figma Design Inspector

    asgeirtj/system_prompts_leaks

    Inspects Figma designs through the figma CLI and Figma's MCP server to read variants, spacing, tokens and layouts and to extract assets for implementation.

    69k GitHub stars~936 tokensUpdated today
    Frontend & DesignAuto-check passed
  • AnyDesign

    uxKero/anydesign

    Extracts the design of a screenshot, website URL or Figma file into a design.md of tokens, components, layout and brand rules, or copies one element into element.md.

    215 GitHub stars~1.5k tokensUpdated 23 days ago
    Frontend & DesignAuto-check passed
  • AnyDesign Design Analyzer

    avelikiy/great_cto

    Analyzes a screenshot, website or Figma file and writes a `design.md` with its token system, component inventory and reconstruction notes, or an `element.md` for one element.

    103 GitHub starsUsed in 1 repo~3.2k tokens
    Frontend & DesignAuto-check passed
  • Build Figma

    cursor/plugins

    Official

    Guides an agent through turning a Figma node into production UI with the repo's own components, then checks the result visually before finishing.

    10k GitHub stars~961 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Figma Codegen

    awdr74100/figwright

    Generate framework-aware code from a Figma design. An agent skill from awdr74100/figwright.

    982 GitHub stars~4.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Tsh Implementing Frontend

    TheSoftwareHouse/copilot-collections

    Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.

    284 GitHub stars~2.6k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from warpdotdev/warp

All 46 skills in this repo
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Auto-check passed
  • Warp Factory Files

    warpdotdev/warp

    Authors and edits file-based Warp software factory definitions rooted at factory.yaml, covering agents, automations, scorers and webhooks, and validates them before a pull request.

    65k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Figma Design to Code

    warpdotdev/warp

    Turns a Figma frame or component into production code that matches the design, using the Figma MCP server and the project's own design system.

    65k GitHub starsUsed in 4 repos~2.9k tokens
    Auto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Creates project-specific design system rules from your codebase so coding agents implement Figma designs with your components, naming and tokens.

    65k GitHub starsUsed in 3 repos~4.6k tokens
    Auto-check passed
  • Maps published Figma components to their code implementations with Code Connect, using the Figma MCP suggestion and mapping tools.

    65k GitHub starsUsed in 2 repos~4.2k tokens
    Auto-check passed

Questions about Figma use_figma Plugin API Rules

What does Figma use_figma Plugin API Rules do?

Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures. Load this skill before every `use_figma` call. That MCP tool runs JavaScript inside a Figma file through the Plugin API, and the skill sets out the rules that avoid common failures.

When should I use Figma use_figma Plugin API Rules?

Figma use_figma Plugin API Rules fits situations like: creating or editing nodes, components or variants in a Figma file from code; setting up Figma variables or design tokens programmatically; binding variables to properties or changing auto-layout and fills; inspecting a Figma file's structure through JavaScript.

How do I install Figma use_figma Plugin API Rules in Claude Code?

Run `npx skills add warpdotdev/warp --skill figma-use -a claude-code`. Or copy the skill folder (resources/bundled/mcp_skills/figma/figma-use in warpdotdev/warp) into .claude/skills/figma-use in your project. Claude Code loads it when a task matches its description.

How do I install Figma use_figma Plugin API Rules in Codex?

Run `npx skills add warpdotdev/warp --skill figma-use -a codex`. Or copy the skill folder (resources/bundled/mcp_skills/figma/figma-use in warpdotdev/warp) into .agents/skills/figma-use in your project. Codex loads it when a task matches its description.

Can I use Figma use_figma Plugin API Rules in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add warpdotdev/warp --skill figma-use -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/figma-use, .gemini/skills/figma-use, .github/skills/figma-use and .opencode/skills/figma-use in your project.

What does Figma use_figma Plugin API Rules need to run?

Going by SKILL.md and its folder, Figma use_figma Plugin API Rules needs TypeScript for the scripts in its folder. Our summary lists: The `use_figma` tool from a Figma MCP server; A Figma file to work in.

Does Figma use_figma Plugin API Rules access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Figma use_figma Plugin API Rules safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Figma use_figma Plugin API Rules use?

Figma use_figma Plugin API Rules is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Figma use_figma Plugin API Rules use?

About 4.4k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 155k tokens, read only when the agent opens those files.

What are the alternatives to Figma use_figma Plugin API Rules?

Skills that share tags, products or a category with Figma use_figma Plugin API Rules: Figma Design Inspector (asgeirtj/system_prompts_leaks, 69k stars), AnyDesign (uxKero/anydesign, 215 stars), AnyDesign Design Analyzer (avelikiy/great_cto, 103 stars) and Build Figma (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Figma use_figma Plugin API Rules?

warpdotdev (a GitHub organization) maintains it in warpdotdev/warp, which has 65,395 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 8, 2026.

Source: warpdotdev/warp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.