tailwindcss-design

tailwindcss-design is a skill for Claude Code, Codex from anilcancakir/my-claude-code. It costs 121 tokens per session (2,448 once invoked), scanned A, original, MIT.

A set of Tailwind CSS implementation patterns based on Refactoring UI principles. Tailwind CSS is a system for styling web pages with small utility classes such as spacing, color, and responsive-layout classes.

In plain words
What is it for?
Use it when building or refining Tailwind layouts, components, typography, colors, spacing, responsive behavior, or dark mode.
Why use it?
It gives consistent guidance for choosing Tailwind classes and checking a project's existing brand colors. This helps prevent generic or mismatched styling decisions.

Skill for Claude CodeCodex

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

Good fit Use it when building or refining Tailwind layouts, components, typography, colors, spacing, responsive behavior, or dark mode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anilcancakir/my-claude-code/tailwindcss-design
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 anilcancakir/my-claude-code --skill tailwindcss-design
Clone the repo
git clone --depth 1 https://github.com/anilcancakir/my-claude-code

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 tailwindcss-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/anilcancakir/my-claude-code/tailwindcss-design/github.svg)](https://agentmods.dev/skills/anilcancakir/my-claude-code/tailwindcss-design)
Your own site
<a href="https://agentmods.dev/skills/anilcancakir/my-claude-code/tailwindcss-design"><img src="https://agentmods.dev/badge/skills/anilcancakir/my-claude-code/tailwindcss-design/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 tailwindcss-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/anilcancakir/my-claude-code/tailwindcss-design"><img src="https://agentmods.dev/badge/skills/anilcancakir/my-claude-code/tailwindcss-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,448 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.00121 $0.02448
Opus 5.5 $0.00048 $0.00979
Sonnet 5.5 $0.00024 $0.00490
Haiku 4.5 $0.00012 $0.00245

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

Security

Grade A, and why

tailwindcss-design 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.

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/tailwindcss-design/SKILL.md · 300 lines

How it starts

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

TailwindCSS Design Patterns

TailwindCSS implementation companion for web-design-mastery skill. Translates Refactoring UI principles into Tailwind utility classes.

Prerequisite: This skill provides Tailwind-specific syntax. For design theory and decision-making, reference web-design-mastery skill.


⚠️ CRITICAL: Project Brand Colors First

ALWAYS check tailwind.config.js for custom colors before using generic colors.

If the project defines primary, secondary, brand, or similar custom colors, USE THEM:

// tailwind.config.js
colors: {
  primary: { 50: '...', 500: '...', 900: '...' },
  secondary: { ... },
  brand: { ... }
}

Priority order:

  1. Project-defined colors (primary, secondary, brand, accent)
  2. Generic Tailwind colors (zinc, gray, slate) as fallback only

Usage examples with project colors:

<!-- ✅ CORRECT: Use project colors -->
<button class="bg-primary-600 hover:bg-primary-700 text-white">
<a class="text-primary-600 hover:text-primary-700">
<div class="border-primary-500 bg-primary-50">
<input class="focus:border-primary-500 focus:ring-primary-500">

<!-- Active/selected states -->
<nav class="bg-primary-50 text-primary-700">

<!-- ❌ AVOID when project colors exist -->
<button class="bg-blue-600">  <!-- Generic, ignores brand -->
<button class="bg-zinc-900">  <!-- Only if no primary defined -->

Rules:

  • Primary = main CTAs, active states, links, focus rings
  • Secondary = alternative actions, supporting elements
  • Brand/Accent = highlights, decorative elements
  • Neutral (zinc/gray) = structure, text, borders only

Spacing Classes (4px Grid)

Token Size Classes Use Case
1 4px gap-1, p-1, m-1 Micro gaps
2 8px gap-2, p-2, m-2 Tight, within components
3 12px gap-3, p-3, m-3 Related elements
4 16px gap-4, p-4, m-4 Standard padding
6 24px gap-6, p-6, m-6 Between sections
8 32px gap-8, p-8, m-8 Major separation
12 48px gap-12, p-12 Large gaps
16 64px gap-16, py-16 Hero spacing

Read the full file on GitHub · 300 lines

Files

What ships with it

3 files 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. 1mo ago First seen · 300 lines · 121 tokens per session scan A 929cc70f19b9

Subscribe to this mod's changes

tailwindcss-design is a skill published in the GitHub repository anilcancakir/my-claude-code (5 stars, last pushed 8mo ago), licensed MIT. It adds 121 tokens to every session and 2,448 once invoked, about $0.0005 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-08-31.

Related

Other skills, from other repositories

powergrid-theme

Create or update a PowerGrid v7 theme using the Theme abstract class, per-section token methods (layout/header/table/footer/cols/tabs plus filter/editable/toggleable), config themeoverrides, or ArrayTheme.

Power-Components/livewire-powergrid · 49 tokens

upgrade-theme-v6-to-v7

Migrates a v6 Theme class to the v7 architecture: a tiny struct() plus per-section token methods (layout/header/table/footer/cols/tabs + filter/editable/toggleable) with parentTheme inheritance.

Power-Components/livewire-powergrid · 52 tokens

ui-web

Web UI - glassmorphism, Tailwind, dark mode, accessibility.

alinaqi/maggy · 17 tokens

frontend-ui-ux-system

A company-level guide for designing web interfaces and user experiences. It covers visual styles, design tokens (named values for colors, spacing, and typography), layout, interaction, accessibility, motion, and review checks.

hashgraph-online/awesome-codex-plugins · 60 tokens

accessibility

Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…

ericrisco/rsc-harness · 86 tokens

ring:validating-ux-completeness

Validating that UX specifications are complete before technical design: a read-only checklist over wireframes, states, responsive behavior, accessibility, and component-library alignment, emitting a DESIGN VALIDATED / NEEDS REVISION verdict to design-validation.md. Standalone utility — run after a product-designer…

LerianStudio/ring · 113 tokens