tailwind-design-system

tailwind-design-system is a skill for Claude Code, Codex from LeahyCC/claude-skills. It costs 217 tokens per session (2,801 once invoked), scanned A, original, MIT.

A guide for building shared design rules and reusable interface components with Tailwind CSS version 4. Tailwind CSS is a tool that generates website styles from class names.

In plain words
What is it for?
It helps set up design tokens, color palettes, dark mode, brands, density options, component APIs, accessibility checks, and automated checks for a shared design system.
Why use it?
Large projects can develop inconsistent colors, spacing, themes, and component behavior when each team works separately. This guide helps keep those choices defined in one system and checks such things as color contrast and unused older styles.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps set up design tokens, color palettes, dark mode, brands, density options, component APIs, accessibility checks, and automated checks for a shared design system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leahycc/claude-skills/tailwind-design-system
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LeahyCC/claude-skills --skill tailwind-design-system
Clone the repo
git clone --depth 1 https://github.com/LeahyCC/claude-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin tailwind-design-system — /plugin install tailwind-design-system after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tailwind-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/leahycc/claude-skills/tailwind-design-system/github.svg)](https://agentmods.dev/skills/leahycc/claude-skills/tailwind-design-system)
Your own site
<a href="https://agentmods.dev/skills/leahycc/claude-skills/tailwind-design-system"><img src="https://agentmods.dev/badge/skills/leahycc/claude-skills/tailwind-design-system/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tailwind-design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/leahycc/claude-skills/tailwind-design-system"><img src="https://agentmods.dev/badge/skills/leahycc/claude-skills/tailwind-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00217 $0.02801
Opus 5.5 $0.00087 $0.01120
Sonnet 5.5 $0.00043 $0.00560
Haiku 4.5 $0.00022 $0.00280

Measured 1mo ago against content hash 421694c15601, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tailwind-design-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/audit-classes.mjs, scripts/check-contrast.mjs, scripts/inspect.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tailwind-design-system/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tailwind design system

How to build a design system on Tailwind CSS v4 that many teams and many apps can use for years: one place to change a value, themes that swap at runtime, components that carry their own accessibility, and machines that stop drift. Checked against Tailwind 4.3.3. If inspect.mjs shows a newer version, check its changelog before relying on version-specific notes here.

The system is the tokens and the rules, not the components. Components are the easy part to copy. What makes a system hold at scale is a closed set of semantic tokens, and lint and CI that make going around them harder than using them.

Measure, never assume. Contrast is computed, classes are compiled, versions are read from the repo. Sources and check dates: SOURCES.md.

Procedure

  1. Run node scripts/inspect.mjs from the repo root. It prints the installed Tailwind and related versions, every CSS entry with its @source lines, @theme blocks, dark variant and token counts, surfaces without a foreground token, and v3 leftovers. Work from that, not from memory.
  2. Find the task in the table below and read that resource.
  3. New system: copy templates/theme.css, then change values, not structure.
  4. Make the change.
  5. Verify, and report each result:
    • The app or Storybook builds.
    • node scripts/check-contrast.mjs <theme files> passes, after any token change.
    • The Tailwind lint config passes, or node scripts/audit-classes.mjs <dirs> shows counts did not rise.
tokens (DTCG JSON, optional)
   │ generate
   ▼
theme.css ── primitives    :root            --palette-*       never classes
          ── semantic      :root, dark,     --primary         swapped per theme
                           brand blocks
          ── utility map   @theme inline    --color-primary   the public classes
          ── scales        @theme           --text-sm         closed with --*: initial
          ── @source "./components"         the package says where its classes live
   │ @import "@acme/ui/theme.css"
   ▼
app.css  @import "tailwindcss";  one Tailwind build per app
   │
   ▼
lint + audit budgets + contrast + visual and a11y tests in CI

Read the full file on GitHub · 126 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 126 lines · 217 tokens per session scan A 421694c15601

Subscribe to this mod's changes

tailwind-design-system is a skill published in the GitHub repository LeahyCC/claude-skills (4 stars, last pushed today), licensed MIT. It adds 217 tokens to every session and 2,801 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.

Related

tailwind-design-system compared with skills from other repositories

tailwind-design-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tailwind-design-systemLeahyCC/claude-skillsSkill4todayMITA217Claude Code, Codex
accessibilityericrisco/rsc-harnessSkill6825d agoMITA86Claude Code, Codex
a11y-plannerzivtech/accessibility-skillsSkill163d agoGPL-3.0A60Claude Code, Codex
Accessibility Audit HelperNotysoty/openagentskillsSkill93mo agoMITA23Claude Code, Codex
color-contrast-auditorcuriositech/windags-skillsSkill213d agononeA117Claude Code
web-a11y-cssklovaaxel/web-a11y-agent-skillsSkill57mo agoMITA48Claude Code, Codex
wes-bos-sick-picksboserup/wes-bos-sick-picksSkill25mo agoMITA140Claude Code