tailwind-utility-classes

tailwind-utility-classes is a skill for Claude Code from punkadillo/figma-code-composer. It costs 38 tokens per session (2,730 once invoked), scanned A, original, MIT.

A reference for Tailwind CSS utility classes, which are small classes for controlling layout, spacing, text, colours, and visual effects.

In plain words
What is it for?
Use it to style buttons, cards, grids, flexbox layouts, typography, spacing, and other web components.
Why use it?
It helps you build interface styles directly in markup with consistent, composable rules.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to style buttons, cards, grids, flexbox layouts, typography, spacing, and other web components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/punkadillo/figma-code-composer/tailwind-utility-classes
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 punkadillo/figma-code-composer --skill tailwind-utility-classes
Clone the repo
git clone --depth 1 https://github.com/punkadillo/figma-code-composer

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-utility-classes

README.md
[![agentmods](https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/tailwind-utility-classes.svg)](https://agentmods.dev/skills/punkadillo/figma-code-composer/tailwind-utility-classes)
Your own site
<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/tailwind-utility-classes"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/tailwind-utility-classes.svg" alt="Measured on agentmods" 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 2,730 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.02730
Opus 5 $0.00019 $0.01365
Sonnet 5 $0.00008 $0.00546
Haiku 4.5 $0.00004 $0.00273

Measured 4d ago against content hash 4710d9cbf537, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

tailwind-utility-classes 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 4d 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.

.figma-pipeline/skills/tailwind-utility-classes/SKILL.md · 401 lines

How it starts

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

Tailwind CSS - Utility Classes

Tailwind CSS is a utility-first CSS framework that provides low-level utility classes to build custom designs without leaving your HTML.

Key Concepts

Utility-First Approach

Instead of writing custom CSS, compose designs using pre-built utility classes:

<!-- Traditional CSS -->
<style>
  .btn {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
  }
</style>
<button class="btn">Click me</button>

<!-- Tailwind utility-first -->
<button class="bg-blue-500 text-white px-4 py-2 rounded">
  Click me
</button>

Core Utility Categories

Layout
  • Display: block, inline-block, flex, grid, hidden
  • Position: static, relative, absolute, fixed, sticky
  • Flexbox: flex-row, flex-col, justify-center, items-center, gap-4
  • Grid: grid-cols-3, grid-rows-2, col-span-2, row-span-1
Spacing
  • Padding: p-4, px-2, py-6, pt-8, pr-3, pb-2, pl-1
  • Margin: m-4, mx-auto, my-6, -mt-4 (negative margins)
  • Space Between: space-x-4, space-y-2
Typography
  • Font Family: font-sans, font-serif, font-mono
  • Font Size: text-xs, text-sm, text-base, text-lg, text-xl, text-2xl, text-3xl
  • Font Weight: font-thin, font-normal, font-medium, font-semibold, font-bold
  • Text Color: text-gray-900, text-blue-500, text-red-600
  • Text Alignment: text-left, text-center, text-right, text-justify
  • Line Height: leading-none, leading-tight, leading-normal, leading-relaxed
Colors & Backgrounds
  • Background Color: bg-white, bg-gray-100, bg-blue-500
  • Background Gradient: bg-gradient-to-r from-blue-500 to-purple-600
  • Opacity: opacity-0, opacity-50, opacity-100
Borders & Shadows
  • Border: border, border-2, border-t, border-gray-300
  • Border Radius: rounded, rounded-lg, rounded-full, rounded-none
  • Box Shadow: shadow-sm, shadow, shadow-md, shadow-lg, shadow-xl
  • Ring: ring-2, ring-blue-500, ring-offset-2

Read the full file on GitHub · 401 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. 4d ago First seen · 401 lines · 38 tokens per session scan A 4710d9cbf537

Subscribe to this mod's changes

tailwind-utility-classes is a skill published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 19d ago), licensed MIT. It adds 38 tokens to every session and 2,730 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-09-03.

Related

Other skills, from other repositories

mcp-host-styling-integration

Integrates MCP App UI with host theming system. Applies host CSS variables, handles onhostcontextchanged, safe area insets, display mode detection, and fullscreen configuration.

a5c-ai/babysitter · 44 tokens

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens

moai-ref-ui-polish

UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies…

modu-ai/moai-adk · 98 tokens

ui-first-builder

Creates production-ready UI immediately from any description. Generates complete pages, components, and realistic mock data in FIRST response. Uses Next.js 16 + Tailwind + shadcn/ui. Never asks questions - infers everything from context. Triggers: UI creation, page building, component generation, build interface…

wasintoh/toh-framework · 75 tokens

component-design

Apply a coherent visual system, responsive behavior, interaction states, and accessibility to Kun components.

KunAgent/Kun · 21 tokens

kirby-performance-and-media

Improves Kirby performance and media delivery (cache tuning, CDN, responsive images, lazy loading). Use when optimizing page speed, caching, or image handling.

bnomei/kirby-mcp · 37 tokens