ui-color-palette-generate-code
Export palette configuration as code or design tokens via the generate_code MCP tool using base and themes.
Skill by a-ng-d
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/a-ng-d-ui-color-palette-generate-code
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, design, frontend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ui-color-palette-generate-code
What's inside
- Skill name
ui-color-palette-generate-code- Description
- Export palette configuration as code or design tokens via the generate_code MCP tool using base and themes. Supports CSS, SCSS, Less, Tailwind v3/v4, SwiftUI, UIKit, Compose, Android resources, DTCG, Style Dictionary, CSV, and more.
- License
- MIT
- Instructions
- 59 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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). --- ## Tool — `generate_code` | Parameter | Type | Required | Description | | --------- | ---- | -------- | ----------- | | `base` | object | Yes | Base palette configuration | | `themes` | array | Yes | Theme configurations (light/dark or other modes) | | `format` | enum | No | Output format (default: `css`) | | `colorSpace` | enum | No | Color space for output values (default: `RGB`) | ### `format` values | Value | Description | `colorSpace` used? | | ----- | ----------- | ------------------ | | `css` | CSS custom properties | Yes | | `scss` | SCSS variables | Yes | | `less` | Less variables | Yes | | `tailwind-v3` | Tailwind CSS v3 config | No | | `tailwind-v4` | Tailwind CSS v4 `@theme` block | No | | `swift-ui` | SwiftUI `Color` extensions | No | | `ui-kit` | UIKit `UIColor` extensions | No | | `compose` | Jetpack Compose constants | No | | `resources` | Android XML color resources | No | | `csv` | CSV spreadsheet | No | | `native-tokens` | Native JSON token format | No | | `dtcg-tokens` | DTCG JSON | Yes | | `style-dictionary-v3` | Style Dictionary v3 | No | | `universal-json` | Universal JSON flat key/value | No | `colorSpace` applies only to `css`, `scss`, `less`, and `dtcg-tokens`. Values: `RGB` · `LCH` · `OKLCH` · `LAB` · `OKLAB` · `HSL` · `HSLUV` · `HSV` · `CMYK` · `HEX` · `P3` --- ## Workflow 1. Ask which `format` (and `colorSpace` if applicable) if not already specified. 2. Confirm `base` and `themes` are available. If missing, ask for them or recover them from prior palette configuration context. 3. Call `generate_code` with `base`, `themes`, and chosen parameters. 4. **Do not read or analyze the returned code.** Present it directly in a fenced code block as returned by the tool. Do not parse, summarize, or reason over its content — the output can be very large. 5. Offer to write it to a file or open a PR via `gh-cli` / `gitlab-cli-skills`. **Format hints**: prefer `tailwind-v4` over v3 for new projects — prefer `dtcg-tokens` for token interoperability. Delegate this skill to **`palette-codegen`** for multi-format or normalized projection workflows. - **`palette-codegen`** — validates `base` and `themes`, selects the right projection, and generates code in the requested format
From a-ng-d/claude-ui-color-palette, MIT.
More from a-ng-d/claude-ui-color-palette
- 0.499score
ui-color-palette-sketch
a-ng-d
Entry point for UI Color Palette workflows targeting Sketch.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ui-color-palette-penpot
a-ng-d
Entry point for UI Color Palette workflows targeting Penpot.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ui-color-palette-framer
a-ng-d
Entry point for UI Color Palette workflows targeting Framer.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-generate-semantic-code
a-ng-d
Generate semantic code files alongside primitives by passing a color system configuration to generate_code.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-audit-palette
a-ng-d
Audit color pairs for contrast compliance against WCAG 2.1 and APCA standards.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-build-color-system
a-ng-d
Define a semantic color system taxonomy and resolve bindings against a palette using get_color_system.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-manage-palettes
a-ng-d
Browse, publish, share, update, and delete palettes on the UI Color Palette platform.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-scale-palette
a-ng-d
Build a full color palette from source colors.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
ui-color-palette-figma
a-ng-d
Entry point for UI Color Palette workflows targeting Figma.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
ui-color-palette-generate-source-colors
a-ng-d
Generate source colors to seed a palette.
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
gitlab-cli-skills
a-ng-d
Comprehensive GitLab CLI (glab) command reference and workflows for all GitLab operations via terminal.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
ui-color-palette-help
a-ng-d
Display a quick-start guide and list all available commands.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 9, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- ui-color-palette.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from a-ng-d
- 0.499score
ui-color-palette-framer
a-ng-d
Entry point for UI Color Palette workflows targeting Framer.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ui-color-palette-sketch
a-ng-d
Entry point for UI Color Palette workflows targeting Sketch.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ui-color-palette-penpot
a-ng-d
Entry point for UI Color Palette workflows targeting Penpot.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-generate-semantic-code
a-ng-d
Generate semantic code files alongside primitives by passing a color system configuration to generate_code.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-build-color-system
a-ng-d
Define a semantic color system taxonomy and resolve bindings against a palette using get_color_system.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ui-color-palette-audit-palette
a-ng-d
Audit color pairs for contrast compliance against WCAG 2.1 and APCA standards.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
ui-color-palette-generate-code skill. Agent Mart. https://agentmart.dev/skills/a-ng-d-ui-color-palette-generate-code (last updated 2026-10-24)