figma-token-extraction — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited figma-token-extraction (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.
I know the full design token extraction pipeline in src/figma/tokenizer/.
extractTokens() at src/figma/tokenizer/index.ts)collectFigmaVarRefs() walks root + componentSets gathering _varRefs sidecars from Style and Layout objects. First-encountered name wins.
countFrequencies() (in frequencies.ts) tallies colors, spacings, radii, shadows, typographies, padding combos, heights. Var-bound values are skipped.
buildSemanticTokenRegistry() (in registry.ts) assigns semantic names from frequency-ordered data. Categories:
COLOR_SEMANTIC_NAMES (primary, secondary, background, text, border, ...)SHADOW_SEMANTIC_NAMES (card, dropdown, modal, ...)PADDING_COMBO_SEMANTIC_NAMESMerges invented tokens with Figma variable entries. Multiple Figma variables → same raw value → kept distinct.
replaceNodeTokens() and replaceComponentSetTokens() (in replace/) swap raw rgba/dimensions for { token: "category.name" } references.
_varRefsstripVarRefsFromResponse() removes all _varRefs sidecars — must not appear in final output.
Use this when:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.