Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

figma-performance-tuning

Skill by jeremylongshore

Optimizes Figma REST API performance with caching, partial fetches, batched node requests, and connection reuse. It is for developers building Figma integrations that run into slow responses or heavy bandwidth use.

  • Score 79
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install figma-performance-tuning

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-performance-tuning ~/.claude/skills/figma-performance-tuning

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install figma-performance-tuning in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives guidance and code for speeding up calls to the Figma REST API. It covers reducing payload size with the depth parameter and the nodes endpoint, caching file metadata and image URLs with time-based expiry, and invalidating the cache when a webhook reports a file update.

The skill also shows how to batch node fetches in groups of about 50 IDs and how to reuse HTTP connections to api.figma.com using an undici agent. It includes curl commands for measuring payload size and response time. The skill is written for developers who already have a working Figma API integration and know which endpoints they call and how often.

Written from the project's SKILL.md and checked against it.

What it can do

  • Reduce payload sizeUses the depth parameter and the nodes endpoint to fetch less data from large files.
  • Response cachingCaches file metadata for 5 minutes and image URLs for 1 day using an LRU cache.
  • Webhook-driven cache invalidationClears and refreshes cached file data when a Figma webhook reports an update.
  • Batch node fetchesRequests multiple node IDs per call, in batches of about 50, to reduce request count.
  • Connection reuseKeeps HTTP connections to api.figma.com alive with a pooled undici agent.

What you need

  • Figma personal access token
  • Working Figma API integration
  • Node.js 18 or later
  • lru-cache package
  • undici package

Try asking

  • Help me cut the payload size of my Figma file fetches using depth=1.
  • Add an LRU cache for Figma file metadata with a 5 minute TTL.
  • Batch my Figma node requests into groups of 50 IDs.

Good to know

  • Figma image URLs expire after 30 days, so the image cache TTL should stay under 24 hours.
  • Batch sizes of about 50 to 100 node IDs are described as the practical maximum.
  • The connection reuse example uses a @ts-ignore comment for the dispatcher option.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/figma-performance-tuning/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEdit

  • SKILL.md7 KB
  • references/batch-node-fetches.md1 KB
  • references/connection-reuse.md806 B
  • references/errors.md694 B
  • references/reduce-payload-size.md1 KB
Show all 7 files
  • references/response-caching.md2 KB
  • references/webhook-driven-cache-invalidation.md800 B

Alternatives to figma-performance-tuning

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

figma-performance-tuning: common questions

Does this skill make Figma API calls faster?

The skill describes techniques to reduce payload size, cache responses, batch requests, and reuse connections. It includes example measurements showing a depth=1 request was much smaller and faster than a full file request in one sample.

How does the cache know when a Figma file changed?

The skill recommends using Figma webhooks, such as FILE_UPDATE, to invalidate the cached file data. It refers to the figma-webhooks-events skill for full webhook setup.

Where is cost optimization covered?

The source says cost optimization is covered by the figma-cost-tuning skill.

How do I install figma-performance-tuning?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is figma-performance-tuning free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is figma-performance-tuning safe to use?

It scores 79 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-performance-tuning?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

figma-performance-tuning Install

Add to stack

Loading.