manage-variables-figma
Create, update, rename, delete, and organize Figma variables, collections, and modes — including fast batch create/update, setting scopes, code syntax, and adding theme modes. Use for incremental variable work: triggers 'create a variable', 'batch update variables', 'add a dark mode to my collection', 'rename this variable', 'set variable scopes', 'delete a variable/collection', 'add a mode'. Works on ANY Figma plan. For a from-scratch system use setup-design-tokens-figma; for code↔Figma sync use import-tokens-figma / export-tokens-figma.
Works with
---
name: manage-variables-figma
description: Create, update, rename, delete, and organize Figma variables, collections, and modes — including fast batch create/update, setting scopes, code syntax, and adding theme modes. Use for incremental variable work: triggers 'create a variable', 'batch update variables', 'add a dark mode to my collection', 'rename this variable', 'set variable scopes', 'delete a variable/collection', 'add a mode'. Works on ANY Figma plan. For a from-scratch system use setup-design-tokens-figma; for code↔Figma sync use import-tokens-figma / export-tokens-figma.
license: MIT
---
# manage-variables-figma — variable / collection / mode CRUD
Incremental, surgical edits to a Figma variable system: create one or many, update values in bulk,
rename, set scopes and code syntax, add/rename modes, and delete. All via `use_figma`, on any plan.
## Skill boundaries
- **`use_figma` rules** — load the official **`figma-use`** skill first; it is the full Figma Plugin API reference. Essentials these scripts rely on: plain JS with top-level `await` + `return` (no IIFE, no `figma.closePlugin()`; `console.log` is not returned), inputs inlined as `const` at the top of each script, colors in 0–1 range, load fonts before any text op, `await figma.getNodeByIdAsync(...)`, and **atomic errors** (a failed script applies nothing — read the error, fix, retry).
- From-scratch bootstrap → `setup-design-tokens-figma`. Code sync → `import-tokens-figma` /
`export-tokens-figma`.
## Workflow
1. **Identify targets.** Most ops need IDs. Get `variableId`/`modeId`/`collectionId` from the
`export-tokens-figma` read script or `get_variable_defs`. Collections can also be looked up by
name inside the script.
2. **Pick the operation** from [references/variable-ops.md](references/variable-ops.md) — it has a
complete, copy-paste `use_figma` snippet for each: create collection, create variable, batch
create, batch update, rename, set scopes, add/rename mode, delete.
3. **Run** via `use_figma` (`skillNames: "manage-variables-figma"`). For large value updates use
[`scripts/batch-update-variables.js`](scripts/batch-update-variables.js) (10–50× faster than
one-call-per-value).
4. **Confirm.** Every snippet returns the affected IDs/names. Read back with `get_variable_defs` to
verify. For deletes, **confirm with the user first** — removing a collection deletes all its
variables and unbinds anything referencing them.
## Key rules
- **Colors are 0–1 range.** Use `hexToRgb` for hex input.
- **Always set `scopes`** on new variables — the default `ALL_SCOPES` pollutes every picker.
- **Set code syntax** (`setVariableCodeSyntax('WEB', '--token-name')`) so design↔code naming lines up.
- **Renames are safe** — they preserve values and existing bindings. Deletes are destructive.
- **Aliases**: bind one variable to another with
`v.setValueForMode(modeId, figma.variables.createVariableAlias(targetVar))`.More Accessibility skills
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.
ui-ux-pro-max
nextlevelbuilder/ui-ux-pro-max-skill
UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 79 searchable styles (50 active), 192 product palettes and reasoning profiles, 74 font pairings, 119 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.

