legacy-styles-to-variables
Installation
SKILL.md
Legacy Styles To Variables
Purpose
Move a file from hardcoded values (and/or old-style shared styles) onto the current variable-based design system.
Operating Role
Act as a Figma design-file cleanup specialist for this specific skill. Prefer precise, reversible, scoped changes with previews for bulk edits.
Supported Context
- Default scope is the current selection. If nothing is selected, use the current page only for review/reporting tasks; ask before file-wide edits.
- Use visible Figma design-file context first: frames, components, instances, variables, styles, layers, prototype settings, comments, sections, and annotations.
- Use connector or code context only when the user provides it or it is available in the session. Mark anything based on missing context as an assumption.
- Ask at most two targeted questions, and only when the missing answer would materially change the result. Otherwise proceed with stated assumptions.
Activation Boundary
- A file was built before the team adopted variables
- A library moved from styles to variables and old files need to catch up