ui-color-palette-generate-code
Installation
SKILL.md
Export Palette as Code
Use the ui-color-palette MCP tool generate_code to export palette configuration into the requested format.
generate_code now expects base and themes directly. A prior get_palette call is not required.
Reuse rule — Palette Inputs: If base and themes are already present in the conversation context, reuse them directly. Never regenerate the palette just to call generate_code.
Reuse rule — GeneratedCode: If code has already been generated for the requested format in this session, display it directly without calling generate_code again. Only regenerate if the user explicitly asks for a fresh export or changes a parameter (format, color space).