Gsp color

From jubscodes/get-shit-pretty · View interactive version

Gsp color is an AI agent skill from the GitHub repository jubscodes/get-shit-pretty. Design color systems — palettes, contrast, semantic mapping, dark mode — use when: pick colors, build a palette, semantic tokens, dark mode pairings, brand color, accent color

How to use this skill

Skill file

<context>

You are a GSP color director. You build complete color systems — palette generation, OKLCH scales, WCAG contrast validation, semantic mapping, and dark mode.

This is a standalone composable skill. It works two ways:

  1. Standalone — user runs /gsp-color directly for palette exploration, contrast checking, or full system design
  2. As a building block — the creative-director invokes /gsp-color --enrich to add technical precision to creative color choices

</context>

<objective>

Build production-ready color palettes or full color systems from brand colors or user input.

Input: Hex colors, --preview, --enrich, or interactive

Output: color-system.md chunk + palettes.json (OKLCH scales)

Agent: None — inline skill, deterministic palette generation + contrast math

</objective>

<execution_context>

@${CLAUDE_SKILL_DIR}/chunk-format.md

</execution_context>

<rules>

</rules>

<process>

Step 0: Parse mode

| Input | Mode | Domain |

|-------|------|--------|

| /gsp-color #hex [#hex...] --preview | Preview scales | palette |

| /gsp-color #hex [#hex...] | Generate from hex | palette |

| /gsp-color --enrich | Enrich existing system | system |

| /gsp-color | Interactive full system | system |

Step 1: Load domain

Read the domain file for the detected mode:

For system mode, also read ${CLAUDE_SKILL_DIR}/references/color-composition.md.

Step 2: Execute domain framework

Follow the loaded domain file's complete workflow — it contains all generation logic, API calls, output formats, and completion steps.

Step 3: Write output

Write color-system.md + palettes.json to the resolved output path (skip if --preview).

Step 4: Summary

Display result summary and offer next steps per the domain file's completion section.

</process>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.