TL;DR
Load before substantial UI work. Brief, incumbent system, and visitor/surface mode win over catalogs. Palettes and font pairings are optional after a color strategy and composition thesis exist. Do not add two micro-interactions by default.
Activation
- Activate for UI, frontend, styling, component, or marketing-surface work.
- Activate on
$design or when the user asks for a distinctive or balanced visual result.
- Auto-load with
creative-director, creative-designer, ui-ux-designer, or frontend-specialist when the task is visual.
- Pair with
codex-design-md for DESIGN.md. Pair with codex-ui-ux-design for flows. Pair with codex-creative-direction when the prompt is a new or redesign surface.
Skip the full studio when the change is a one-line CSS fix, copy tweak, or backend-only work.
Decision order
- Read product facts and visual authority (
PRODUCT.md, DESIGN.md, incumbent tokens).
- Choose surface mode and change mode from
references/grammar.md.
- Write a one-sentence composition thesis.
- Only then choose type, color strategy, imagery, and motion purpose.
- Optional: consult
palettes.md / typography.md if no incumbent tokens exist.
- Check
references/anti-slop.md and references/composition.md before code.
Hard rules
- Do not always pick a palette preset or always add two micro-interactions.
- Do not use default bootstrap blue/purple or generic white card stacks unless the incumbent system already does.
- Do not invent product claims to fill a layout.
- Substantial UI work needs desktop and mobile evidence in one review pass.
Reference Files
references/grammar.md — surface mode, change mode, color strategy, originality.
references/composition.md — hierarchy, grouping, rhythm, optical alignment, density, reflow, focus, contrast, states, reduced motion.
references/color-material.md — strategy before hex; one material model.
references/typography.md — optional pairings after strategy is chosen.
references/palettes.md — optional catalogs after color strategy is chosen.
references/patterns.md — optional layout primitives.
references/motion.md — purpose-first motion.
references/layout-adaptation.md — desktop plus mobile in one pass.
references/imagery.md — asset provenance and icon grammar.
references/anti-slop.md — mechanical slop categories.
references/anti-patterns.md — additional developer-UI mistakes.
references/micro-interactions.md — optional snippets after purpose is chosen.
references/trends.md — fit heuristics, not year-dated fashion.
1---2name: codex-design-system3description: Use for UI, frontend, styling, landing page, or component work; applies grammar (surface mode, change mode, composition, motion) instead of mandatory palettes.4---56## TL;DR7Load before substantial UI work. Brief, incumbent system, and visitor/surface mode win over catalogs. Palettes and font pairings are optional after a color strategy and composition thesis exist. Do not add two micro-interactions by default.89## Activation101. Activate for UI, frontend, styling, component, or marketing-surface work.112. Activate on `$design` or when the user asks for a distinctive or balanced visual result.123. Auto-load with `creative-director`, `creative-designer`, `ui-ux-designer`, or `frontend-specialist` when the task is visual.134. Pair with `codex-design-md` for `DESIGN.md`. Pair with `codex-ui-ux-design` for flows. Pair with `codex-creative-direction` when the prompt is a new or redesign surface.1415Skip the full studio when the change is a one-line CSS fix, copy tweak, or backend-only work.1617## Decision order181. Read product facts and visual authority (`PRODUCT.md`, `DESIGN.md`, incumbent tokens).192. Choose surface mode and change mode from `references/grammar.md`.203. Write a one-sentence composition thesis.214. Only then choose type, color strategy, imagery, and motion purpose.225. Optional: consult `palettes.md` / `typography.md` if no incumbent tokens exist.236. Check `references/anti-slop.md` and `references/composition.md` before code.2425## Hard rules26- Do not always pick a palette preset or always add two micro-interactions.27- Do not use default bootstrap blue/purple or generic white card stacks unless the incumbent system already does.28- Do not invent product claims to fill a layout.29- Substantial UI work needs desktop and mobile evidence in one review pass.3031## Reference Files32- `references/grammar.md` — surface mode, change mode, color strategy, originality.33- `references/composition.md` — hierarchy, grouping, rhythm, optical alignment, density, reflow, focus, contrast, states, reduced motion.34- `references/color-material.md` — strategy before hex; one material model.35- `references/typography.md` — optional pairings after strategy is chosen.36- `references/palettes.md` — optional catalogs after color strategy is chosen.37- `references/patterns.md` — optional layout primitives.38- `references/motion.md` — purpose-first motion.39- `references/layout-adaptation.md` — desktop plus mobile in one pass.40- `references/imagery.md` — asset provenance and icon grammar.41- `references/anti-slop.md` — mechanical slop categories.42- `references/anti-patterns.md` — additional developer-UI mistakes.43- `references/micro-interactions.md` — optional snippets after purpose is chosen.44- `references/trends.md` — fit heuristics, not year-dated fashion.