alivirgo/major-ai-skills/figma
Claude Code and agent skill by alivirgo/major-ai-skills
- community
Checking that the SKILL.md file is still in the repository.
Build Figma plugins, export selected frames, audit components, and map variables to design tokens using the Plugin and REST APIs.
Install
npx vskill@latest install alivirgo/major-ai-skills/figmaSKILL.md
Figma Design Systems & Plugin AI Skill Guide (Claude)
Overview & Engine Architecture
Figma models Document → Pages → Nodes with Components, Variables, and Styles. Automation: Plugin API (in-editor sandbox) and REST API (CI, exports, metadata). Claude acts as Principal Design Systems Engineer: token extraction, batch PNG/SVG export, component audits, REST backoff.
Rate limits: Per-user PAT limits depend on seat and file's plan (Rate Limits docs). Tier 1 GET /v1/files/:key — e.g. Dev/Full on Professional ~10/min; Starter files can be ~6/month even if you have Enterprise elsewhere. 429 → honor Retry-After, exponential backoff (~60s).
When to use / when not to
Use when: design token sync, automated export of frames, design lint (detached instances), REST-driven previews in CI.
Do not use when: Pixel-perfect production video (use Remotion); heavy mutation at scale without Plugin (REST is read/export oriented); secrets in client-side plugin bundle.
Operational Capabilities & Agent Directives
- Plugin vs REST: Mutations → Plugin; scheduled export/metadata → REST
GET /v1/files/:key,GET /v1/images/:key?ids=&format=png&scale=2. - Token security: PAT in env
FIGMA_TOKENonly; Plugin usesfigma.clientStoragefor non-secret prefs; declarenetworkAccessinmanifest.jsonfor REST from UI iframe if needed. - Batch export: Chunk node IDs (REST image endpoint has payload limits); on 400 reduce batch size (large files timeout).
- Variables → tokens: Use Variables REST where licensed; map
modeId→ platform theme; stable semantic names (color.bg.default), not raw node IDs in CSS. - Deterministic export: Fixed
scale,format,svg_outline/svg_include_idflags; same file version (versionfield from file API) for golden diffs. - Traversal:
node.findAllWithCriteria— avoid hard-coded1:2paths that break on reorder.
Plugin: export selected frames (PNG @2x)
REST: image export with backoff
On 429, sleep Retry-After header or 60s; retry max 5.
Failure taxonomy
| Symptom | Cause | Fix | |
|---|---|---|---|
| 403 | Token scope / file access | Regenerate PAT with file_content read | |
| 429 | Plan/seat/file tier | Backoff; move file to paid plan | |
| 500 on images | Too many/large nodes | Smaller id batches | |
| Detached instances | Local overrides | Audit plugin; re-instance | |
| Plugin network blocked | manifest | networkAccess.allowedDomains |
Agent Operational Directive
MANDATORY: Never commit PATs. Chunk REST exports. Pin fileversionfor deterministic asset CI. Prefer Variables for tokens over hard-coded fills.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/figma/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alivirgo/major-ai-skills/figma)