This is a comprehensive guide for working with Tailwind CSS v4's new CSS-first configuration system. It covers the shift away from JavaScript config files to using directives like @theme and @utility directly in your CSS. You get practical patterns for component variants with tailwind-variants, ESLint rules specific to v4, and references for handling animations with tw-animate-css. The skill emphasizes checking your project's theme tokens before reaching for arbitrary values and includes debugging tips for common v4 gotchas like gradient syntax changes. Honestly feels more like a well-organized reference doc than an interactive skill, but if you're migrating to v4 or building component libraries, having all these patterns and breaking changes in one place beats hunting through official docs.

skills.sh installs
3K
GitHub stars
104
last updated
Aug 21, 2026

Install

$ npx -y skills add paulrberg/agent-skills --skill tailwind-css --agent claude-code

Installs into .claude/skills of the current project.

Files

Tailwind CSS

Follow the installed Tailwind version and the repository's tokens, components, class-merging utility, CSS entrypoint, and nearby UI. They take precedence over this skill. Do not add packages, change integration, or migrate versions without a request and local need.

Routing

Do not apply v4 syntax to an older installation. Preserve responsive, interaction, accessible, and dark-mode behavior. Do not redesign beyond the request.

Completion

Define the intended visual and state change. Reuse local conventions. Keep classes statically discoverable.

Sponsors

Details

Repository
github.com/paulrberg/agent-skills
Categories
Frontend Development, AI & Agent Building, Debugging
First seen
May 16, 2026

More from paulrberg/agent-skills

All 19
1hyf0 avatarvue-jsx-best-practiceshyf0/vue-skillsvue jsx best practices2Kskills.sh installs
2affaan-m avatarui-to-vueaffaan-m/everything-claude-codeui to vue1.7Kskills.sh installs
3hyva-themes avatarhyva-compile-tailwind-csshyva-themes/hyva-ai-toolsCompile Tailwind CSS for Hyvä themes in Magento 2. Use when the user wants to build styles, generate CSS, compile Tailwind, run Tailwind, or create production/d1.3Kskills.sh installs
4hyva-themes avatarhyva-ui-componenthyva-themes/hyva-ai-toolsApply Hyva UI template-based components to a Hyvä theme. This skill should be used when the user wants to add, install, or apply a Hyva UI component (such as he1.3Kskills.sh installs
5sickn33 avatarreact-ui-patternssickn33/antigravity-awesome-skillsreact ui patterns1.2Kskills.sh installs
6syncfusion avatarsyncfusion-react-diagramsyncfusion/react-ui-components-skillsCreate and customize visual diagrams in React using Syncfusion Diagrams. Trigger for requests involving React component setup, nodes and connectors, flowcharts,746skills.sh installs