Strict frontend design guardrails for building modern, minimal-visual-noise, airy, non-generic app UIs. Use whenever creating or changing frontend UI, React components, shadcn/ui themes, Tailwind styles, app layouts, or first-version product screens. This skill complements vertical/domain skills like CPQ, CRM, and similar app builders: follow the selected domain skill's workflow and layout requirements, then enforce this skill's shared visual rules for brand-aware theming, generous spacing, typo
frontend-design is a strict visual-design guardrail skill for building modern, minimal-visual-noise, airy, non-generic application UIs. It is not a domain workflow skill; it complements vertical/domain skills (CPQ, CRM, trades, and similar app builders) by owning visual quality inside whatever product structure those skills require. It solves the problem of AI-generated UIs drifting toward generic SaaS defaults — purple accents, card-heavy dashboards, cramped spacing, and boilerplate admin shells — by enforcing a consistent set of brand-aware theming and layout rules.
The skill mandates a design pass before coding: read the active task, domain context, and any .tasks/domain.md to extract brand colors, company name, tone, terminology, and entities; read its two reference files (a shadcn/Tailwind setup-and-theming guide and a visual-style-references guide); then define design tokens (primary/secondary/accent, backgrounds, text, borders, radius, shadows, status colors, typography, generous spacing, cardless plan) and a design direction before building screens. Non-negotiables include brand-first color mapping, always-readable foregrounds targeting WCAG AA contrast, deriving readable foreground colors rather than reusing brand colors, using an actual logo when one exists, a light surface system that avoids using one flat white for every surface, distinct editable-input backgrounds, generous airy spacing carried into inner content, rounded modern controls, soft shadows, cardless defaults, and authored composition with deliberate negative space and vivid accent hierarchy. It closes with a pre-completion audit.
It targets frontend developers and designers building product screens with React, shadcn/ui, and Tailwind who want polished, brand-aware, non-generic UIs. It is purely advisory design guidance — rules, token roles, and style references — with no executable or risky behavior, making it entirely benign.
Enforcing shared visual-design rules — brand-aware theming, generous spacing, typography, contrast, roundedness, shadows, surface hierarchy, cardless and no-sidebar defaults — whenever creating or changing frontend UI, React components, shadcn/ui themes, Tailwind styles, or first-version product screens.
It complements them. Domain skills own required product structure, terminology, workflows, and output views; this skill enforces visual quality inside that structure and fills in visual decisions wherever the domain skill leaves room, rather than falling back to a generic admin shell.
Read the task, domain context, and .tasks/domain.md for brand inputs; read both frontend-design reference files; produce a design pass (vision, first-version features, design tokens, design direction) before coding; configure CSS variables and shadcn/Tailwind theme tokens; build screens with those tokens; then run a pre-completion audit and revise.
Map the brand/accent color to primary actions, active nav, selected state, focus, and links, but choose foreground/text colors separately for legibility, deriving readable foregrounds rather than reusing brand colors, and target WCAG AA minimums of 4.5:1 for normal text and 3:1 for large text and icons. Avoid defaulting to generic purple or blue.
Not using the same white for body, app frame, cards, popovers, inputs, and controls: a tinted page background, a lighter app canvas, distinct navigation chrome (often a blurred translucent bar), and editable inputs on near-white/light-tinted backgrounds in light mode (near-black in dark mode) so controls read as editable against the canvas.
Quick Setup:
.claude/skills/Repository
customware-ai/skills