Use this skill before making AGH visual decisions. AGH is dark-mode only, warm-dark, operator-first, and intentionally restrained.
Triggers
- Generating UI artifacts: HTML mocks, slides, prototypes, screenshots, or production code.
- Token, color, type, spacing, radius, icon, depth, or motion decisions.
- Reviewing AI-generated UI for AGH brand and design-system alignment.
Authority
packages/ui/src/tokens.css: canonical token source consumed by Tailwind v4.DESIGN.md: rationale, generated token tables, anti-patterns, and semantic component contracts.packages/ui/src/components/**/*.tsx: canonical production recipes.COPY.md: product voice, terms, and public claim rules.
Top-of-mind invariants
- Dark mode only; warm-dark surface ramp; one
--color-accenttarget per viewport. - Flat depth model; use
--shadow-overlayfor overlays and--shadow-highlightfor active rims. - Pull values from
--color-*,--text-*,--radius-*,--duration-*, and--shadow-*tokens; do not hardcode production hex or one-off sizes. <Eyebrow>is the only uppercase label contract; do not inline typography tuples for labels.- See
DESIGN.mdsection 10 for the anti-pattern list and lint/test guardrails.
Static HTML artifacts
Inline or import actual values from packages/ui/src/tokens.css. Mirror the class
structure and component anatomy in packages/ui/src/components where possible.
Keep artifacts dark, flat, and functional. Use literal CSS only to represent
exported token values; do not invent a parallel palette.
Production code
Edit the owning surface: web/, packages/ui/, or packages/site/. Consume
CSS variables and bare Tailwind v4 token utilities. If tokens.css or
packages/site/app/global.css changes, run make codegen and then
make codegen-check so DESIGN.md stays synchronized.