astrodeck: Skill for Claude Code

.claude/skills/tailwind/SKILL.md

tailwind is a skill for Claude Code from holger1411/astrodeck. It costs 30 tokens per session (792 once invoked), scanned A, original, MIT.

A set of rules for using Tailwind CSS, a tool for styling web pages with reusable class names. It covers color tokens, dark mode, and Tailwind’s newer CSS-based setup.

In plain words
What is it for?
Use it when writing or reviewing CSS classes, changing colors, editing global styles, or checking for hardcoded colors and inline styles.
Why use it?
It helps prevent inconsistent colors, inline styling, and outdated configuration from entering the project.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is holger1411/astrodeck's own configuration. It tells Claude Code how to work on astrodeck itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything astrodeck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to holger1411/astrodeck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/holger1411/astrodeck/main/.claude/skills/tailwind/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/holger1411/astrodeck

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/holger1411/astrodeck/tailwind"><img src="https://agentmods.dev/badge/skills/holger1411/astrodeck/tailwind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 792 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00030 $0.00792
Opus 5.5 $0.00012 $0.00317
Sonnet 5.5 $0.00006 $0.00158
Haiku 4.5 $0.00003 $0.00079

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

Security

Grade A, and why

tailwind 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 2mo 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.

.claude/skills/tailwind/SKILL.md · 98 lines

How it starts

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

Tailwind CSS Skill

Canonical Sources

This skill references the following globals — read them BEFORE starting work:

  • system/globals/colors.md — OKLCH palette, token table, color semantics
  • system/globals/effects.md — Border radius, shadows, card pattern

Domain

Tailwind v4 Expertise, @theme Directive, OKLCH, Utilities, Dark Mode

KPIs

Metric Target Measurement
Hardcoded Colors 0 npm run check:kpis
Inline Styles 0 npm run check:kpis
tailwind.config.mjs must not exist npm run check:kpis

npm run check:kpis (.claude/scripts/check-kpis.mjs) is the single source of truth for these checks — do not re-implement them with ad-hoc greps. The convention guard hook additionally warns when a change introduces hardcoded colors or inline styles.

Rules

Tailwind v4 Setup

AstroDeck uses Tailwind CSS v4 via @tailwindcss/vite (NOT @astrojs/tailwind).

  • No tailwind.config.mjs — config lives in CSS
  • @theme directive for token registration
  • .dark class for dark mode overrides

@theme vs .dark

/* Token registration (Tailwind recognizes these as utilities) */
@theme {
  --color-primary: oklch(11.2% 0.0079 286.75);
  --color-primary-foreground: oklch(100% 0 0);
}

/* Dark mode overrides (only change values, no new tokens) */
.dark {
  --color-primary: oklch(100% 0 0);
  --color-primary-foreground: oklch(11.41% 0.0079 286.75);
}

Dark Mode Pattern

Do NOT control colors with dark: prefix. Use CSS variables that automatically override in .dark:

<!-- Wrong -->
<div class="bg-white dark:bg-gray-900 text-black dark:text-white">

<!-- Correct -->
<div class="bg-background text-foreground">

Utility Patterns

/* Responsive (mobile-first) */
text-base md:text-lg lg:text-xl

/* Hover/Focus states */
hover:bg-primary/90 focus:ring-2 focus:ring-ring

/* Transitions */
transition-colors duration-200

/* Dark mode (automatic via CSS variables) */
bg-background text-foreground  /* works in both modes */

Read the full file on GitHub · 98 lines

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. 2mo ago First seen · 98 lines · 30 tokens per session scan A 69887c5d13fa

Subscribe to this mod's changes

tailwind is a skill published in the GitHub repository holger1411/astrodeck (81 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 792 once invoked, about $0.0001 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-30.

Related

tailwind compared with skills from other repositories

tailwind next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tailwindholger1411/astrodeckSkill812mo agoMITA30Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
open-design-setupcompozy/compozySkill2.8ktodayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.1ktodayMITA104Claude Code
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex