Sandbox
@dominikmartn/hue

Design system skill for Claude Code and Codex

Hue is a skill that turns a brand signal into a design system an agent can apply while building UI. It works with Claude Code and Codex, and the repo includes validation, reference templates, and example outputs that show the generated system in practice.

829 stars66 forksJavaScriptUpdated 3mo ago
Who it's for

Builders who want their agent to generate UI that stays on brand.

What it delivers

You can have your agent build interfaces that match the same brand rules every time.

What it does

Brand-to-system generation

Learns from a URL, name, or screenshot and turns the input into a design language.

Cross-agent support

Works in Claude Code and Codex with install paths for both.

Design tokens and components

Generates color tokens, typography, spacing, components, light and dark mode, hero stage recipes, and icon kit choices.

Validation gate

`scripts/validate.mjs` checks generated skills for YAML syntax, token usage, contrast, placeholders, frontmatter, and font rules.

Example brand outputs

`examples/` contains multiple brand systems and rendered HTML files showing the range of output.

Reference templates

`references/` includes templates for tokens, components, landing pages, previews, backgrounds, and app screens.

How to get it

  1. 1Run
    git clone https://github.com/dominikmartn/hue ~/.claude/skills/hue
  2. 2Run
    git clone https://github.com/dominikmartn/hue ~/.agents/skills/hue
  3. 3alternative codex path (cli installer compatible)
    git clone https://github.com/dominikmartn/hue "${CODEX_HOME:-$HOME/.codex}/skills/hue"

README

hue

an open-source skill that learns any brand from a url, name, or screenshot and turns it into a complete design system. works on claude code and codex. install it once, and every component your ai assistant builds after that matches your brand.

see it in action: hueapp.io

what you get

a full design language as an ai coding skill — color tokens, typography, spacing, components, light + dark mode, hero stage recipes, icon kit selection. opinionated enough that two different sessions using the generated skill produce visually consistent output.

install

claude code

git clone https://github.com/dominikmartn/hue ~/.claude/skills/hue

codex

git clone https://github.com/dominikmartn/hue ~/.agents/skills/hue

alternative codex path (cli installer compatible):

git clone https://github.com/dominikmartn/hue "${CODEX_HOME:-$HOME/.codex}/skills/hue"

then in any session say something like:

  • "make a design skill from cursor.com"
  • "create a design language inspired by raycast"
  • "generate a hue skill from this screenshot"

the assistant picks up the trigger and walks through the analysis.

validation

every generated skill gets gated through scripts/validate.mjs before it ships:

node scripts/validate.mjs <path-to-generated-skill-folder>

it checks yaml syntax, orphan css selectors, undefined var(--token) usages, leftover placeholders, em-dashes, the SKILL.md frontmatter contract, wcag contrast on the core text/background pairs, and ai-default display fonts. exit code 1 on any error.

examples

seventeen brands live in examples/ showing the range of output hue produces. sixteen are fictional one-shots, one is real (meadow ↦ the mymind-design skill).

brandcharacter
atlasivory engineering, classical maritime charts
aurispremium audio, monochrome dark
drifthot pink fashion commerce
fizzy2k pop photo-sharing, candy chrome
halcyoncool teal sculptural glass
kilndark fired earth, molten terracotta
ledgernewsprint editorial, financial broadsheet
meadowwarm cream editorial (real, from mymind-design)
orivionluminous red-violet glow
oxidebrutalist mono compute protocol
prismcyberpunk holographic shader engine
relayswiss transit, departure board precision
ridgeslate emerald dev platform
solventwarm amber generative shader
stintmuted violet productivity
thrivesage green wellness, light mode
velvetnoir editorial fragrance house

each has a design-model.yaml + landing-page.html. ridge and stint also ship an app-screen.html. halcyon ships a full component-library.html. open them in a browser to see the system rendered.

license

MIT. fork it, remix it, build your own.

Files in the repo

Repository payload8 top-level entries
  • docs
  • examples
  • references
  • scripts
  • .gitignore
  • LICENSE
  • README.md
  • SKILL.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k