figma-hello-world
Skill by jeremylongshore
Walks developers through a first Figma REST API call that fetches a file and inspects its node tree. Aimed at anyone starting a Figma integration, testing API connectivity, or learning the document structure.
Install figma-hello-world
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/figma-hello-world ~/.claude/skills/figma-hello-worldRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/figma-hello-world ~/.gemini/antigravity-cli/skills/figma-hello-worldAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The figma-hello-world skill walks through a first Figma REST API call. It fetches a file's metadata and document tree using a file key from the Figma URL and a FIGMA_PAT token sent in the X-Figma-Token header. The skill shows how to list pages, read the node tree, fetch specific nodes by ID, and count components and styles.
The skill is for developers starting a new Figma integration, testing API connectivity, or learning how Figma documents are structured. It provides curl and TypeScript examples and an error table covering 404, 403, 429 and empty document responses. It names figma-local-dev-loop as the next step.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch file metadataRetrieves the name, version and last modified time of a Figma file.
- List pagesLists page names from the file's document tree.
- Inspect top-level nodesPrints the type, name and ID of frames on the first page.
- Count components and stylesReports how many components and styles a file contains.
- Fetch specific nodesRetrieves only chosen nodes by ID, which the source says is faster for large files.
- Count nodesCounts the total number of nodes in a file using jq.
- Get thumbnail URLReturns the thumbnailUrl field for a Figma file.
What you need
- Completed figma-install-auth setup
- A Figma personal access token in the FIGMA_PAT environment variable
- A Figma file key from the file URL
- curl and jq for the shell examples
- Node.js for the TypeScript example
Try asking
- Fetch my Figma file and list its pages and top-level frames.
- Count the total number of nodes in this Figma file.
- Get the thumbnail URL for my Figma file.
Good to know
- Requests to files the token cannot access return 403.
- Rate limited requests return 429, and the source says to honor the Retry-After header.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/figma-hello-world/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(curl:*)Bash(node:*)Bash(npx:*)
-
SKILL.md5 KB -
references/errors.md692 B -
references/examples.md653 B -
references/fetch-a-file.md754 B -
references/fetch-specific-nodes.md894 B
Show all 7 files
-
references/typescript-hello-world.md2 KB -
references/understand-the-node-tree.md875 B
Alternatives to figma-hello-world
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
figma-hello-world: common questions
Where do I find the Figma file key?
The source says the file key is in the URL, in the form figma.com/design/<FILE_KEY>/. The skill expects it in the FIGMA_FILE_KEY variable.
What is in the Figma node tree?
The source describes typed nodes such as DOCUMENT, CANVAS, FRAME, TEXT, COMPONENT, INSTANCE and SECTION, arranged as a tree of layers and objects.
What should I do if the API returns a 429 error?
The source says to honor the Retry-After header in the response. It lists 429 as a rate limit error.
How do I install figma-hello-world?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is figma-hello-world free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is figma-hello-world safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to figma-hello-world?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
