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, original, 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).

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.

agentmods
npx agentmods add skills/figueroaignacio/ignaciofigueroa.dev/tailwind-css-patterns
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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.00062 $0.01504
Opus 5 $0.00031 $0.00752
Sonnet 5 $0.00012 $0.00301
Haiku 4.5 $0.00006 $0.00150

Measured 5d ago against content hash 77492644ccf5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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.

.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. 5d 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 (5 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 1,504 once invoked, about $0.0003 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

setup-slack-channel

Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet — setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setuprequired, sits…

CopilotKit/CopilotKit · 206 tokens

copilotkit-channels

Use for the CODE half of a managed Intelligence Channel with Slack or Microsoft Teams: customising the Channel a CLI-scaffolded project already ships, or — for a project the CLI did not generate — writing the Channel declaration, the long-running host, and the awaited activation call. Teams provider setup is in scope…

CopilotKit/CopilotKit · 112 tokens

notion-to-blog

Transfer a blog post from Notion to the Wasp blog. Fetches content, downloads and optimizes images, and creates a properly formatted MDX file.

wasp-lang/wasp · 37 tokens

channels-setup

Use when a developer wants to build their first CopilotKit Channels agent and get it answering in Slack or Microsoft Teams — "set up a channel", "connect my agent to Slack", "get my agent into Teams", or starting from nothing and wanting a working channel end to end. Covers the whole path: inspecting or scaffolding…

CopilotKit/CopilotKit · 147 tokens

welcome

Introduce yourself to a newly connected channel. Triggered automatically when a channel is first wired. Send a friendly greeting and brief overview of what you can do.

nanocoai/nanoclaw · 33 tokens

add-teams

Add Microsoft Teams channel integration via Chat SDK.

nanocoai/nanoclaw · 13 tokens