Audit a Figma file for off-system colors and styles
Wann einsetzen: The team's file has drifted from the design tokens and you want to find the strays.
Voraussetzungen
- Figma plugin imported via manifest — Figma → Plugins → Development → Import from manifest
- Running
bun run socket— From the repo; opens the WebSocket
Ablauf
-
ConnectConnect to Figma, channel abc123 (copy from the plugin UI).✓ Kopiert→ Connected; document name shown
-
Scan for off-system fillsScan all nodes for fill colors that aren't in our 12 brand tokens. List node paths.✓ Kopiert→ List of drift instances
-
ReportGroup by nearest frame and summarize. Suggest which token each stray should be.✓ Kopiert→ Actionable cleanup list
Ergebnis: A file you can hand to a designer with concrete fixes.
Fallstricke
- Channel ID rotates if you restart the plugin — Always copy fresh from the plugin panel; stale IDs silently time out