understand-figma

Analyze a Figma file via REST API and generate an interactive design knowledge graph with pages, screens, components, and tokens.

90.9k|7.8k|Updated Mar 15, 2026
Ready to run
npx skills add https://github.com/Lum1104/Understand-Anything --skill understand-figma-lum1104
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: understand-figma
Source: https://github.com/Lum1104/Understand-Anything/tree/main/understand-anything-plugin/skills/understand-figma
Command: npx skills add https://github.com/Lum1104/Understand-Anything --skill understand-figma-lum1104

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @understand-anything/core, and includes scripts (resource) components.

What problem does it solve? Design systems and complex Figma files are difficult to navigate, search, and understand. This Skill transforms a Figma file into an interactive knowledge graph that makes design structure, component relationships, and design tokens discoverable and queryable. ## Core Features & Use Cases - Automated Figma Scanning: Parse pages, screens, components, component sets, instances, and design tokens directly from Figma files via the REST API. - LLM-Enriched Analysis: Batch nodes through an AI analyzer to extract semantic meaning, relationships, and documentation. - Interactive Dashboard: Visualize the design graph with a kind:"design" dashboard showing structure, edges, layers, and guided tours. - Use Case: A design team with a large shared Figma system has 200+ screens and 50 component sets. Use this Skill to generate a searchable graph showing which screens use which components, where tokens are applied, and component dependency chains. ## Quick Start Analyze your Figma file by providing the file URL or key along with a valid Figma token, and the skill will output an interactive design knowledge graph accessible through the dashboard.

Frequently Asked Questions about understand-figma

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a Figma file and generate a design knowledge graph?▼

Provide a Figma file URL or key along with a valid Figma personal access token. The Skill fetches the file via the Figma REST API, parses all pages, screens, components, instances, and tokens, then passes batches through an LLM analyzer to enrich with semantic relationships before merging into a final knowledge graph.

What does the skill extract from a Figma file?▼

The Skill extracts pages, screens, component definitions, component sets, component instances, design tokens (colors, typography, spacing), and node relationships. It also captures screen thumbnails via pre-signed image URLs for dashboard preview.

Do I need a Figma personal access token to use this skill?▼

Yes. The Skill requires a read-only Figma personal access token set as the FIGMA_TOKEN environment variable. Create one at figma.com/settings. The token is never written to logs, the graph, or intermediate files—only transmitted in request headers.

Does the skill work offline or does it require API calls?▼

Unlike the base /understand Skill, this skill makes outbound calls to api.figma.com to fetch the design file, styles, and screen images. It is not fully offline, though once the graph is generated, the dashboard runs locally.

What happens if my Figma file hasn't changed since the last run?▼

The Skill detects if the Figma file version is unchanged and reports UP_TO_DATE, skipping the full re-scan and LLM re-analysis. It refreshes screen thumbnail URLs in-place to keep the dashboard working. Set UNDERSTAND_FIGMA_FORCE=1 to force a full rebuild.

What if the LLM analysis fails for some node batches?▼

The Skill logs a warning but continues—the base scan-manifest.json provides a solid foundation. Partial analysis is better than complete failure, so the final graph includes unanalyzed nodes alongside enriched ones.