figma-rename-layers — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited figma-rename-layers (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.
Turn a page full of Frame 1, Group 7, Rectangle 12 into a clean, self-describing layer tree. The skill reads what is actually in each layer and names it accordingly, so the Layers panel reads like a table of contents.
A designer says something like:
For the current page, it looks at every top-level frame and walks down into its children. For each layer it can describe, it picks a name from, in order of preference:
usually the heading/label).
Button).Names are written in readable Title Case (Profile Card, Primary Button, Hero Image). Anything it can't describe better than its generic type is left untouched — no churn for a plain divider rectangle.
a generic/default name (Frame 12, Group 3, Rectangle 1, …) get renamed. A layer the designer already named (CTA Button) is left alone. Set overwriteNamed: true to rename everything.
time), and each chunk is committed as a single undo step via figma.commitUndo(). On a huge page the designer can undo one batch at a time instead of one giant action. Tune with batchSize.
If a designer asks for a specific simultaneous-rename count (e.g. "do 200 at a time"), pass that as batchSize.figma-useis the mandatory prerequisite for any use_figma call.
scripts/rename-layers.js viause_figma. It returns a summary { renamed, candidates, page } and shows a Figma toast.
renameLayersOnCurrentPage({ batchSize: 200, overwriteNamed: false }).
Use the ready-to-paste plugin in scripts/standalone-plugin/. No build step, no tokens, no placeholders — see that folder's notes for the three-click install.
Figma ships an AI "Rename layers" command in the editor. It is excellent for nuanced, ambiguous layers — but it lives in the UI only and cannot be called from the Plugin API, so this skill's script can't invoke it. When the heuristic output isn't good enough for a tricky section, point the designer to the manual flow in references/figma-ai-rename-fallback.md.
component and usually can't/shouldn't be renamed).
name.references/naming-heuristics.md — exactlyhow a name is chosen, the generic-name regex, and how to extend it.
— when and how to use Figma's native AI rename instead.
examples/before-after.md — a worked example.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.