color-token-format-normalizer
Installation
SKILL.md
Color Token Format Normalizer
Purpose
Keep color usage consistent with shadcn's CSS-variable theming convention instead of scattered hardcoded color values.
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
- Generating new component code that uses color
- Auditing an existing codebase for hardcoded colors that bypass the token system