tailwind-css-patterns

tailwind-css-patterns is a skill for Claude Code from figueroaignacio/ignaciofigueroa.dev. It costs 62 tokens per session (1,504 once invoked), scanned A, a copy of tailwind-css-patterns, MIT.

A reference for styling interfaces with Tailwind CSS, a framework that applies small reusable style classes directly in markup. It covers responsive layouts, typography, colors, dark mode, components, accessibility, and CSS performance.

In plain words
What is it for?
Use it when styling React, Vue, or Svelte components, building grids and design systems, adding dark mode, or improving responsive CSS.
Why use it?
It reduces the need to invent CSS patterns for common interface problems. It helps keep layouts consistent across phones, tablets, and desktop screens.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when styling React, Vue, or Svelte components, building grids and design systems, adding dark mode, or improving responsive CSS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns
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 figueroaignacio/ignaciofigueroa.dev --skill tailwind-css-patterns
Clone the repo
git clone --depth 1 https://github.com/figueroaignacio/ignaciofigueroa.dev

Made for: Claude Code.

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-css-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns/github.svg)](https://agentmods.dev/skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns)
Your own site
<a href="https://agentmods.dev/skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns"><img src="https://agentmods.dev/badge/skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns/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-css-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns"><img src="https://agentmods.dev/badge/skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,504 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 100% copy Near-identical to another mod 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.00062 $0.01504
Opus 5.5 $0.00025 $0.00602
Sonnet 5.5 $0.00012 $0.00301
Haiku 4.5 $0.00006 $0.00150

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

Security

Grade A, and why

tailwind-css-patterns 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.

Origin

This is a copy

100% identical to tailwind-css-patterns — 21 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/tailwind-css-patterns/SKILL.md · 154 lines

How it starts

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

Tailwind CSS Development Patterns

Expert guide for building modern, responsive user interfaces with Tailwind CSS utility-first framework. Covers v4.1+ features including CSS-first configuration, custom utilities, and enhanced developer experience.

Overview

Provides actionable patterns for responsive, accessible UIs with Tailwind CSS v4.1+. Covers utility composition, dark mode, component patterns, and performance optimization.

When to Use

  • Styling React/Vue/Svelte components
  • Building responsive layouts and grids
  • Implementing design systems
  • Adding dark mode support
  • Optimizing CSS workflow

Quick Reference

Responsive Breakpoints

Prefix Min Width Description
sm: 640px Small screens
md: 768px Tablets
lg: 1024px Desktops
xl: 1280px Large screens
2xl: 1536px Extra large

Common Patterns

<!-- Center content -->
<div class="flex items-center justify-center min-h-screen">Content</div>

<!-- Responsive grid -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
  <!-- Items -->
</div>

<!-- Card component -->
<div class="bg-white rounded-lg shadow-lg p-6">
  <h3 class="text-xl font-bold">Title</h3>
  <p class="text-gray-600">Description</p>
</div>

Instructions

  1. Start Mobile-First: Write base styles for mobile, add responsive prefixes (sm:, md:, lg:) for larger screens
  2. Use Design Tokens: Leverage Tailwind's spacing, color, and typography scales
  3. Compose Utilities: Combine multiple utilities for complex styles
  4. Extract Components: Create reusable component classes for repeated patterns
  5. Configure Theme: Customize design tokens in tailwind.config.js or using @theme
  6. Verify Changes: Test at each breakpoint using DevTools responsive mode. Check for visual regressions and accessibility issues before committing.

Examples

Responsive Card Component

Read the full file on GitHub · 154 lines

Files

What ships with it

8 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 · 154 lines · 62 tokens per session scan A 77492644ccf5

Subscribe to this mod's changes

tailwind-css-patterns is a skill published in the GitHub repository figueroaignacio/ignaciofigueroa.dev (6 stars, last pushed 7d ago), licensed MIT. It adds 62 tokens to every session and 1,504 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to tailwind-css-patterns, differing in 21 lines, and is treated as a copy.

Related

Other skills, from other repositories

making_pages

Templates and rules for interactive pages beside the chat: plans with approvals, checklists, dashboards, comparisons, forms and small tools.

siddsachar/row-bot · 29 tokens

pages_guide

Guidance for making interactive pages beside the chat with pagecreate, pageupdate and pageread.

siddsachar/row-bot · 23 tokens

audit-accessibility

Unified accessibility auditing workflow across static analysis, runtime testing, ARIA patterns, keyboard navigation, and color contrast. Use this skill whenever the user mentions accessibility, a11y, WCAG, ARIA roles, axe tests, screen readers, focus management, keyboard navigation, color contrast, or wants to audit…

NVIDIA/elements · 98 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

PM-Shawn/Abu-Cowork · 64 tokens

anthropic-web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

davekilleen/Dex · 66 tokens

design-taste-frontend

Anti-slop frontend direction for landing pages, portfolios, editorial pages, and design-forward redesigns. Use after reading the brief to infer a fitting visual system, preserve existing product constraints, and run a strict pre-flight audit.

Amery2010/open-builder · 51 tokens