Transforms Brand DNA artefacts (docs/02-guidelines/inspiration/brand_guidelines.md, design_tokens.json, prompt_library.json) into Tailwind-ready design system config (CSS variables + Tailwind preset) for a web app and a marketing site. Use when wiring tokens into Tailwind, setting up light/dark mode, or generating reusable presets and component recipes.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Default inputs (source of truth):
docs/02-guidelines/inspiration/brand_guidelines.mddocs/02-guidelines/inspiration/design_tokens.jsondocs/02-guidelines/inspiration/prompt_library.jsonOutputs (when executing this skill):
tokens.css (CSS variables for light/dark)tailwind.preset.ts (shared Tailwind preset using CSS variables)tailwind.config.ts snippets for:
component-recipes.md (Tailwind class recipes + interaction states)See:
references/output-contract.mdreferences/templates.mdreferences/semantic-token-derivation.mdOptional helper:
scripts/generate_pack.ts can generate tokens.css + tailwind.preset.ts directly from design_tokens.json.Ask at most 4. Reply format: 1a 2a 3a 4a or defaults.
tailwind.preset.ts + tokens.css) (Recommended)@theme in CSS).dark) (Recommended)prefers-color-scheme)If the user says “proceed with defaults”, proceed with 1a 2a 3a 4a.
Use:
interface-design to define:
baseline-ui to prevent generic output and enforce constraintsdesign_tokens.json and extract composite_tokens as the base tokens.composite_tokens.colour.themes.dark as the dark override for colors.brand_guidelines.md as intent checks (don’t contradict it).prompt_library.json to keep naming/voice consistent when writing docs and recipes.--*-foreground tokens (text/icon color on filled backgrounds) by contrast checks.--border, --ring, and a small surface set (--card, --muted) as derived blends.Details: references/semantic-token-derivation.md.
Use tailwind-css-patterns for best-practice Tailwind setup.
Use templates in references/templates.md. Ensure:
darkMode: ["class"] (unless user picked otherwise)colors map to CSS variables with alpha supportUse:
composition-patterns to propose scalable component variants (avoid boolean prop explosions)interaction-design for hover/focus/active/disabled patterns and timingfixing-accessibility to ensure keyboard/focus behavior is coveredOutput component-recipes.md with recipes for:
Use:
frontend-design to define marketing composition rules that still use the same tokensfixing-metadata to propose theme-color and OG defaults derived from tokens (do not implement unless asked)This skill is done when it produces the outputs in references/output-contract.md and the preset can be dropped into a Tailwind project with light/dark mode working.
:root and .dark blocks exist--primary-foreground etc meet AA for normal text where usedrgb(var(--token) / <alpha-value>))prefers-reduced-motionmarchatton/agent-skills
a0eadb2
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.