setup-design-tokens-figma — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited setup-design-tokens-figma (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Create a variable collection + modes + all variables in a single use_figma call. This is the fastest way to stand up a new token system (or a new collection within one). Because it runs as one atomic script, either everything is created or nothing is (failed scripts apply no changes).
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).manage-variables-figma.import-tokens-figma.full token set with per-mode values. Lock this before writing — it's much cheaper than editing afterward.
scripts/setup-tokens.js: COLLECTION_NAME,MODES, TOKENS (values keyed by mode name), and optional per-variable SCOPES.
use_figma (skillNames: "setup-design-tokens-figma"). It returns{ collectionId, modes, created, errors }.
get_variable_defs or the export-tokens-figma read script, then screenshot ifyou also created swatches.
tokens that alias them using import-tokens-figma (which has the alias pass) or manage-variables-figma. Keep primitives single-mode and put theming on the semantic layer.
ALL_SCOPES clutters every property picker. Pass SCOPES for thesurfaces each token belongs to (FRAME_FILL/SHAPE_FILL for backgrounds, TEXT_FILL for text, GAP for spacing, CORNER_RADIUS for radii, WIDTH_HEIGHT for sizing).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.