/major-ai-skills:figmafrom major-ai-skills
Build Figma plugins, export selected frames, audit components, and map variables to design tokens using the Plugin and REST APIs.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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).
┌─────────────────────────────────────────────────────────────┐
│ Plugin: figma.* sandbox (mutate live file) │
│ REST: X-Figma-Token → files / images / variables │
│ CI: cache file JSON; batch node IDs; respect tier limits │
└─────────────────────────────────────────────────────────────┘
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.
GET /v1/files/:key, GET /v1/images/:key?ids=&format=png&scale=2.FIGMA_TOKEN only; Plugin uses figma.clientStorage for non-secret prefs; declare networkAccess in manifest.json for REST from UI iframe if needed.modeId → platform theme; stable semantic names (color.bg.default), not raw node IDs in CSS.scale, format, svg_outline / svg_include_id flags; same file version (version field from file API) for golden diffs.node.findAllWithCriteria — avoid hard-coded 1:2 paths that break on reorder.async function exportSelectionPng2x() {
const frames = figma.currentPage.selection.filter(
(n): n is FrameNode => n.type === "FRAME"
);
if (!frames.length) {
figma.notify("Select frames.");
return;
}
for (const frame of frames) {
const bytes = await frame.exportAsync({
format: "PNG",
constraint: { type: "SCALE", value: 2 },
});
figma.ui.postMessage({ type: "PNG", name: frame.name, bytes });
}
}
curl -s -H "X-Figma-Token: $FIGMA_TOKEN" \
"https://api.figma.com/v1/images/${FILE_KEY}?ids=${NODE_IDS}&format=png&scale=2"
On 429, sleep Retry-After header or 60s; retry max 5.
| 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 |
MANDATORY: Never commit PATs. Chunk REST exports. Pin file
versionfor deterministic asset CI. Prefer Variables for tokens over hard-coded fills.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization.Other plugins' skills for the same job
/act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.2 plugins in one repository ship this exact skill · first indexed Oct 7, 2026