tailwind-v4-design-system

tailwind-v4-design-system is a skill for Claude Code, Codex from 2428424081cn/Skill-mcp. It costs 38 tokens per session (411 once invoked), scanned A, original, MIT.

A guide to building design systems with Tailwind CSS v4, a tool for styling websites with reusable classes. It explains CSS-based theme variables, OKLCH colors, and container queries, which let components respond to their own container size.

In plain words
What is it for?
Use it when defining a Tailwind v4 theme or building reusable responsive components. It covers `@theme` variables and layouts that change based on the width of their parent container.
Why use it?
It helps developers adapt older Tailwind configuration habits to version 4 and create components that behave well in different layouts. It also provides a consistent place for colors, fonts, and corner styles.

Skill for Claude CodeCodex

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

Good fit Use it when defining a Tailwind v4 theme or building reusable responsive components. It covers @theme variables and layouts that change based on the width of their parent container.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/2428424081cn/skill-mcp/tailwind-v4-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 2428424081cn/Skill-mcp --skill tailwind-v4-design-system
Clone the repo
git clone --depth 1 https://github.com/2428424081cn/Skill-mcp

Made for: Claude Code, Codex.

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-v4-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/tailwind-v4-design-system/github.svg)](https://agentmods.dev/skills/2428424081cn/skill-mcp/tailwind-v4-design-system)
Your own site
<a href="https://agentmods.dev/skills/2428424081cn/skill-mcp/tailwind-v4-design-system"><img src="https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/tailwind-v4-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-v4-design-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/2428424081cn/skill-mcp/tailwind-v4-design-system"><img src="https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/tailwind-v4-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 411 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.00038 $0.00411
Opus 5 $0.00019 $0.00205
Sonnet 5 $0.00008 $0.00082
Haiku 4.5 $0.00004 $0.00041

Measured 10d ago against content hash e9afe7ab2a51, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tailwind-v4-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 10d ago.

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/frontend/tailwind-v4-design-system/SKILL.md · 39 lines

What it actually says

TailwindCSS v4 设计系统与现代 CSS 规范

1. Tailwind v4 核心架构变更

  • 移除 tailwind.config.js:Tailwind v4 完全转向纯 CSS 原生配置。
  • @theme 指令:所有主题变量直接定义在 app.css@theme 块内。
  • OKLCH 色彩空间:全面推荐使用 OKLCH 色彩空间,具备更自然的人眼感知均匀性。
@import "tailwindcss";

@theme {
  --color-primary-50: oklch(0.97 0.02 260);
  --color-primary-500: oklch(0.55 0.22 260);
  --color-primary-900: oklch(0.25 0.15 260);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

2. 容器查询 (Container Queries)

现代响应式组件不应仅依赖屏幕宽度(Viewport),而应依赖自身父容器尺寸:

<div class="@container">
  <div class="flex flex-col @sm:flex-row @lg:grid @lg:grid-cols-3">
    <!-- 当父容器宽度 > 400px 时横排,> 768px 时网格 -->
  </div>
</div>
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 39 lines · 38 tokens per session scan A e9afe7ab2a51

Subscribe to this mod's changes

tailwind-v4-design-system is a skill published in the GitHub repository 2428424081cn/Skill-mcp (1 stars, last pushed 17d ago), licensed MIT. It adds 38 tokens to every session and 411 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens