arrange-component-set-figma — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited arrange-component-set-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.
Reorganize the variants inside a COMPONENT_SET into a tidy matrix: it parses each variant's properties (Size=md, State=hover), uses one property for columns and the rest for rows, centers each variant in a grid cell, and wraps everything in a white container frame with a title, left-edge row labels, and top column headers. The result is the kind of variant sheet you'd show in design-system docs.
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).analyze-component-set-figma.MCP's get_design_context / get_metadata (read-only) do not cover.
COMPONENT_SET_ID from selection, search, or a pasted id. (You canalso leave the constant blank and select the set on the canvas — the script falls back to the current selection.)
(usually State); everything else becomes rows. Override with const COLUMN_PROPERTY.
scripts/arrange-component-set.js via use_figma(skillNames: "arrange-component-set-figma"). Adjust GAP / CELL_PADDING constants if needed.
containerId, the (re-created)componentSetId, and the grid shape (rows/columns, labels). Variants are centered per cell.
frame (#9747FF, dashed [10,5], inside stroke). Old labels/containers from a previous run are removed first, so re-running is idempotent.
cols × (cell+gap). Variants are positioned by matching their parsed property values to the row/column index.
well in auto-layout) and aligned to each row's vertical center / each column's horizontal center.
Inter Regular + Inter Semi Bold for labels — if Inter isn'tavailable in the file, swap the family in the loadFontAsync calls.
properties are preserved, but the node id of the set changes (returned as componentSetId).
Multi-axis sets generate every row combination (cartesian product of the non-column properties).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.