installskill

Skills / openai/skills

figma-use

Instructions for running JavaScript in a Figma file via use_figma to edit nodes and variables.

Pinned commit
49f948faa925Committed 2026-06-23
Files
29628 KB
License
None declared
Snapshot taken
2026-11-28
Description from the skill
**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.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install openai/skills skills/.curated/figma-use --agent claude-code --pin 49f948faa9258a0c61caceaf225e179651397431

gh picks the directory for the agent, names the folder after the source directory (figma-use), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read f000d36e453fa13afa731c920ebf7f9dee8da07c.

skills CLIpinned

$ npx skills add openai/skills@49f948faa9258a0c61caceaf225e179651397431 --skill figma-use -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/openai/skills.git "$tmp"
$ git -C "$tmp" checkout --quiet 49f948faa9258a0c61caceaf225e179651397431
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/.curated/figma-use" .claude/skills/figma-use

No extra tooling. Files land byte for byte as published in .claude/skills/figma-use, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/figma-use && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected3f7f4ad719d15ab07aed0fefc990b75bde4329b89a5d18a9cadb4447983db346

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 19Data · 6License · 1SKILL.md · 1Assets · 1Scripts · 11 binary files not scanned for patterns

Runs commandsNo match

Code that spawns other processes, or shell code blocks in the instructions.

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages1

Commands that pull and run third-party packages at use time.

1 in scripts · 0 in docs and other text files

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • developers.figma.com×284
  • help.figma.com×26
  • developer.mozilla.org×7
  • www.figma.com×7
  • www.w3.org×4
  • en.wikipedia.org×3
  • figma.com×3
  • github.com×3
  • picsum.photos×3
  • www.example.com×2
  • api.figma.com×1
  • example.com×1
  • learn.microsoft.com×1
  • mcp.figma.com×1
  • mynewssite.com×1
  • oreillymedia.github.io×1
  • raw.githubusercontent.com×1
  • sparanoid.com×1
  • static.figma.com×1
  • www.typescriptlang.org×1
  • www.youtube.com×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
3f7f4ad719d15ab07aed0fefc990b75bde4329b89a5d18a9cadb4447983db346
Git tree SHA
f000d36e453fa13afa731c920ebf7f9dee8da07c
PathKindSizeSHA-256
LICENSE.TXTLicense440 B36bdad8e8a43a282…
SKILL.mdSKILL.md17 KBafa9c4ae068a18b9…
agents/openai.yamlData452 B53af842ae4217081…
assets/figma-small.svgData818 B6a38267efbd872bb…
assets/figma.pngAssets1.6 KB4d16e1b19ae7bdac…
assets/icon.svgData964 B8936c5dcd619c41f…
maintainers.ymlData21 B9d6c60ca62ce0c75…
references/api-reference.mdDocs11 KB3d51cdcda1808bf4…
references/common-patterns.mdDocs16 KB8069dcd68f4f47a9…
references/component-patterns.mdDocs18 KB11fe8123490e1d26…
references/effect-style-patterns.mdDocs3.0 KBa751255dc4997b32…
references/gotchas.mdDocs23 KBd65095e7ac5cb3b6…
references/maintainers.ymlData418 B90651f82831e8a1f…
references/plugin-api-patterns.mdDocs12 KB39d1f8ed5837fc6a…
Show all files (29)

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
546limit 1,024 characters
SKILL.md body
230 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
LICENSE.TXT
Repository license
None declared

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.