ui-color-palette-build-color-system
Define a semantic color system taxonomy and resolve bindings against a palette using get_color_system.
Skill by a-ng-d
Chalk Labs
Need help deploying ui-color-palette-build-color-system?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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-build-color-system
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: design
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-build-color-system
What's inside
- Skill name
ui-color-palette-build-color-system- Description
- Define a semantic color system taxonomy and resolve bindings against a palette using get_color_system. Use when the user wants to map semantic token names (role, prominence, state…) to primitive color shades. Produces a SystemData object for use in semantic code generation or design tool deployment.
- License
- MIT
- Instructions
- 189 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Build Color System
Use the **ui-color-palette** MCP tool `get_color_system` to resolve a semantic token taxonomy against a generated palette and produce a `SystemData` object.
Semantic code export from the system is handled by `ui-color-palette-generate-semantic-code`.
---
## Pre-flight — Check session state
Before asking any questions, check the conversation context for existing slots.
### If `SystemData` is already in context
Show a summary (token count, bound / unbound / excluded). Ask: reuse, rebuild, or adjust bindings.
### If `SystemConfiguration` is already in context
Skip Step 0. Call `get_color_system` directly with the existing `base`, `themes`, and `system` values.
### If `PaletteData` or `base` + `themes` are already in context
Skip the palette questions in Step 0.
---
## Step 0 — Gather parameters
Do not call the tool until all required answers are collected.
### Required
**1. Palette inputs** — confirm `base` and `themes` are available. If not, run `ui-color-palette-scale-palette` first.
**2. Taxonomy groups** — ask for the semantic dimensions that structure the token names.
Each group has an `id`, a `name`, and `members` (each with `id` and `name`). The system generates the **cartesian product** of all groups: 2 groups × 3 members each = 6 tokens; 3 groups × 3 members = 27 tokens.
Common patterns:
| Pattern | Groups | Typical members |
| ------- | ------ | --------------- |
| Role × State | `role`, `state` | brand / neutral / danger ; default / hover / active / disabled |
| Role × Prominence × State | `role`, `prominence`, `state` | — ; default / subtle / strong ; — |
| Surface × Content | `surface`, `content` | background / border ; primary / secondary / inverse |
**3. Theme strategy** — before defining bindings, confirm which strategy the user wants:
| Strategy | Description | `overrides` in bindings |
| -------- | ----------- | ----------------------- |
| **A — Primitive modes** *(recommended)* | Themes handled at the primitive level. Semantic tokens use a single binding. `get_palette` already carries the correct per-theme values at each shade stop. | Almost never — only for deliberate per-theme shade deviations |
| **B — Semantic modes** | Themes handled at the semantic level. Each token has an explicit binding per theme via `overrides`. Semantic variable collection has one mode per theme. | Expected on most tokens that differ across themes |
Record the strategy before defining bindings. It determines the binding format and how the semantic collection will be structured in design tools.
**4. Bindings** (iterative — start with the most important ones) — map token paths to primitive shade refs.
Format: `[memberId, memberId, …] → colorId:shadeName` (e.g. `[brand, default] → blue:500`).
Optional per-binding fields:
| Field | Description |
| ----- | ----------- |
| `description` | Optional label for the token |
| `overrides` | Per-theme alternative ref: `{ themeId: "colorId:shadeName" }` — use for Strategy B, or for deliberate deviations in Strategy A |
| `isExcluded` | `true` → token stays in SystemData but is skipped during code generation |
---
## Step 1 — Call `get_color_system`
**Tool**: `get_color_system`
| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `base` | object | Yes | `BaseConfiguration` — same schema as `get_palette` |
| `themes` | array | Yes | Array of `ThemeConfiguration` objects |
| `system` | object | Yes | `SystemConfiguration` — schema + optional bindings |
### `system.schema`
| Field | Type | Description |
| ----- | ---- | ----------- |
| `groups` | array | Ordered list of taxonomy groups (order defines the path depth) |
Each group:
| Field | Type | Description |
| ----- | ---- | ----------- |
| `id` | string | Group identifier (e.g. `"role"`) |
| `name` | string | Display name (e.g. `"Role"`) |
| `members` | array | List of `{ id: string, name: string }` |
### `system.bindings` (optional)
Each binding:
| Field | Type | Description |
| ----- | ---- | ----------- |
| `path` | `string[]` | Ordered member ids (one per group), e.g. `["brand", "default"]` |
| `description` | string | Optional token description |
| `ref` | string | Default primitive ref: `"colorId:shadeName"` (e.g. `"blue:500"`) |
| `overrides` | `Record<string, string>` | Per-theme overrides: `{ themeId: "colorId:shadeName" }` |
| `isExcluded` | boolean | `true` → present in SystemData, excluded from code generation |
**Returns**: a `SystemData` object with `schema`, `tokens`, and `type: "system"`.
Each token in `tokens`:
| Field | Description |
| ----- | ----------- |
| `path` | Member id path (e.g. `["brand", "default"]`) |
| `pathNames` | Display name path (e.g. `["Brand", "Default"]`) |
| `description` | Optional description from the binding |
| `isExcluded` | Whether excluded from code generation |
| `refs` | `{ themeId, shadeId }[]` — `shadeId` is `"themeId:colorId:shadeName"` or `null` if unbound |
---From a-ng-d/claude-ui-color-palette, MIT.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 5, 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
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ui-color-palette-build-color-system running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ui-color-palette-build-color-system skill. Agent Mart. https://agentmart.dev/skills/a-ng-d-ui-color-palette-build-color-system (last updated 2026-10-24)