Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Tailwind Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-tailwind-patterns)
---
name: tailwind-patterns
description: "Tailwind CSS at scale: tokens in config, component extraction, variants with cva, and avoiding class soup."
tags: [frontend, design]
---
# Tailwind Patterns
## When to use
- Tailwind projects
## Procedure
1. Put tokens in the theme
2. Extract repeated patterns into components
3. Use cva/tailwind-variants for variants
4. Sort classes with the prettier plugin
## Checklist
- [ ] No arbitrary values for tokens
## Anti-patterns
- Copy-pasting long class strings