Tooluck logoTooluck
SKILL.md

understand-figma

Agent skill fromEgonex-AI/Understand-Anything

Analyze a Figma file via the Figma REST API and generate an interactive design knowledge graph (pages, screens, components, component sets, instances, design tokens) with a kind:"design" dashboard.

How to install understand-figma

install understand-figma
# install the Understand-Anything pack with the skills CLI
npx skills add Egonex-AI/Understand-Anything

# or add only this skill to Claude Code: copy the folder

understand-anything-plugin/skills/understand-figma/

# into

~/.claude/skills/understand-figma/ (all projects)

.claude/skills/understand-figma/ (one project)

understand-anything-plugin/skills/understand-figma/SKILL.md

MITFull file
1# /understand-figma
2
3Analyzes a Figma file and produces an interactive design knowledge graph in the existing dashboard.
4
5## Prerequisites
6
7- **`FIGMA_TOKEN`** environment variable — a Figma personal access token (create one at https://www.figma.com/settings). If it is missing, STOP and tell the user:
8 > Set a Figma token first: create one at figma.com/settings, then `export FIGMA_TOKEN=<token>`.
9- Node ≥ 22, pnpm ≥ 10.
10
11> **Security:** the token is read only from the environment and travels only in the `X-Figma-Token` request header. Never write it to the graph, `meta.json`, logs, or intermediate files. This skill makes outbound calls to `api.figma.com` — unlike `/understand`, it is not fully offline. Tell the user this once.
12
13## Phase 0 — Pre-flight
14
151. Parse `$ARGUMENTS` for a Figma URL or bare file key (the non-flag token) and an optional `--language <lang>`.
162. Resolve `PROJECT_ROOT` to the current working directory. **Resolve the data directory `$UA_DIR`** once and reuse it for every read and write below: `UA_DIR="$PROJECT_ROOT/$([ -d "$PROJECT_ROOT/.understand-anything" ] && echo .understand-anything || echo .ua)"` — the legacy `.understand-anything/` when it already exists, otherwise the new `.ua/`. Because each phase may run in a fresh shell, carry `$UA_DIR` forward like `$PROJECT_ROOT`, re-resolving it with the same line if a later command block needs it.
17…

Excerpt shown under the repository's MIT license.

More skills in Understand-Anything

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates