No slash command · from archon-os
Generates a cohesive OKLCH color-token system from one brand hue — primary, secondary, background, foreground, muted, border — with semantic light and dark modes, emitted as Tailwind v4 @theme or CSS variables.
Ships in archon-os. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AI-consumed reference. This skill produces tokens;
rules/agent/theme-consistency.mdenforces their use. Generator vs enforcer — do not restate OKLCH logic in the rule or token-usage rules here.
One hue drives the whole system. OKLCH keeps perceptual lightness constant across hues, so derived shades stay legible and dark mode is a lightness flip, not a re-pick.
--brand-hue)oklch(0.55 0.18 H) · primary-hover oklch(0.48 0.18 H)oklch(0.55 0.07 H) (same hue, low chroma)oklch(0.55 0.02 H) · border oklch(0.90 0.01 H)oklch(0.99 0.005 H) / oklch(0.20 0.02 H); dark = flip → oklch(0.16 0.02 H) / oklch(0.95 0.01 H).Keep chroma restrained (house style: one dominant hue + sharp accent, no rainbow).
@import "tailwindcss" / @theme in CSS, no tailwind.config.js colors) → emit an @theme block.tailwind.config.{js,ts} present) → emit CSS variables + reference them in theme.extend.colors.--brand-hue: 265Tailwind v4:
@theme {
--color-primary: oklch(0.55 0.18 265);
--color-primary-hover: oklch(0.48 0.18 265);
--color-secondary: oklch(0.55 0.07 265);
--color-muted: oklch(0.55 0.02 265);
--color-border: oklch(0.90 0.01 265);
--color-background: oklch(0.99 0.005 265);
--color-foreground: oklch(0.20 0.02 265);
}
CSS-variables fallback (v3 / no-Tailwind), with dark mode:
:root {
--brand-hue: 265;
--primary: oklch(0.55 0.18 var(--brand-hue));
--background: oklch(0.99 0.005 var(--brand-hue));
--foreground: oklch(0.20 0.02 var(--brand-hue));
--border: oklch(0.90 0.01 var(--brand-hue));
}
.dark {
--background: oklch(0.16 0.02 var(--brand-hue));
--foreground: oklch(0.95 0.01 var(--brand-hue));
--border: oklch(0.30 0.02 var(--brand-hue));
}
Change --brand-hue alone to re-skin the entire product.
After generating the token system, write it to .claude/design/design-system.md in the host project
(create .claude/design/ if absent) so it survives across sessions and later components conform to it —
don't re-derive fresh tokens every session. Fill the Brand (the --brand-hue + named hex values),
Type, and Spacing sections; set Source: generated. Merge, don't clobber, if the file already exists.
See rules/agent/design-system-persistence.md for the file contract.
See also: rules/agent/theme-consistency.md (enforces token usage), rules/agent/design-system-persistence.md (the SoT file), and the frontend-aesthetics skill (color hierarchy).
What SKILL.md sets; muted values are Claude Code's defaults
design system setup, brand color palette, OKLCH tokens, dark mode theming, generate CSS variables / Tailwind @theme, single-hue palette
Three short reads, in order
design-tokens, oklch, color-palette, dark-mode, tailwind-theme, design-system
45 skills in this plugin
/agent-detectorCRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens./api-designerDesigns RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs./bugfix-quickFast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return./chain-of-verificationDraft → generate verification questions → answer independently via tools → revise. Catches hallucinated facts in reports and reviews. MANDATORY for Phase 4 security/test claims. Paper: Dhuliawala et al. 2023./code-mapReverse-dependency lookup — "I am about to change this file, what breaks?" Use when assessing the blast radius of an edit, finding every importer of a module (including the ones that never name it), or checking what the startup code-map digest was derived from. Not for finding text: grep is better at that./code-reviewer8-aspect evidence-based code review/audit (security, correctness, compatibility, architecture, error handling, test gaps, type safety, simplicity) built on Google eng-practices, OWASP Top 10:2025, CWE Top 25, SemVer. Every finding needs file:line + a concrete failure scenario. Use when the user asks to review/audit code, check a PR, review before merge, in TDD Phase 4, via /check review or /run review.npx claudepluginhub nguyenthienthanh/archon --plugin archon-osOther plugins' skills for the same job