
This generates a complete design token system from a brand brief: primitive color ramps in OKLCH, semantic mappings for light and dark modes, type scales, spacing, and motion, all exported as DTCG JSON and a single theme.css. It runs WCAG contrast validation automatically and enforces the three-tier token architecture (primitive, semantic, component) so you never hardcode colors again. Use it when you need a themeable foundation before building screens, or when you're tired of inconsistent palettes and want one source of truth. The output is verifiable (it includes Python scripts for contrast and reference checking), though the brand feel still needs a human eye. It's opinionated about structure but that's the point.
$ npx -y skills add plugin87/ux-ui-agent-skills --skill brandkit --agent claude-codeInstalls into .claude/skills of the current project.
Step 0: is the kit here? This skill reads files from the kit. Check once:
ls ${CLAUDE_SKILL_DIR}/../../../tokens >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSINGOnKIT_MISSINGonly the skill folders were installed, which is whatnpx skills adddoes. Say so plainly, point the user atnpx ux-ui-agent-skills initor the plugin install, and stop. Do not guess the contents of a file you could not open.
Stand up the foundation (one token system everything renders from) before any screen. Get this right and every page stays consistent and themeable from one place.
${CLAUDE_SKILL_DIR}/../../../taste/design-taste.md → Brief Inference). Pick an anchoring archetype from ${CLAUDE_SKILL_DIR}/../../../taste/aesthetic-systems.md.${CLAUDE_SKILL_DIR}/../../../.claude/rules/tokens-and-color.md → Color Generation.action.primary/-hover/destructive, text.{primary,secondary,on-action,link}, surface.{page,card,raised}, border.{default,strong}, feedback.{success,warning,error,info}), and the dark overrides (designed, not inverted).${CLAUDE_SKILL_DIR}/../../../tokens/motion.json-style durations/easings.${CLAUDE_SKILL_DIR}/../../../tokens/*.json (3-tier) + a single theme.css (the one shared source, [data-theme="dark"] overrides). Optionally feed the token-build pipeline (token-build skill) for other platforms.python3 ${CLAUDE_SKILL_DIR}/../../../scripts/validate_tokens.py: valid JSON, all aliases resolve.python3 ${CLAUDE_SKILL_DIR}/../../../scripts/validate_contrast.py: required text/action/border pairs pass WCAG AA in light AND dark; border.strong ≥ 3:1.python3 ${CLAUDE_SKILL_DIR}/../../../scripts/validate_theme_refs.py: every component var(--…) resolves to the theme.Output is a verified token foundation: the measurable part is provable (run
npm run verify). Brand "feel" still benefits from a human review against${CLAUDE_SKILL_DIR}/../../../taste/design-taste.md.
Sponsors