
Tailwindcss4
Guides an agent to style Nuxt and Vue UIs with Tailwind CSS 4 utilities and @theme tokens
Tailwindcss4 is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 20
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Tailwindcss4
This skill steers an AI coding agent toward utility-first styling for Nuxt and Vue projects that use Tailwind CSS 4 through the @tailwindcss/vite plugin. It sets rules such as preferring utility classes in templates over inline styles and scoped CSS, defining brand colors and fonts as design tokens in a CSS @theme block, and extracting repeated class clusters into components rather than long @apply blocks.
The skill includes a decision guide for common styling needs, a Nuxt 4 setup example with the Vite plugin and a main stylesheet, and a short checklist the agent can run before finishing. It also points to a separate reference file for moving a Tailwind 3 project to version 4, and notes that the agent should confirm the exact version from the repository lockfile.
It expects a Nuxt or Vue project and works with bun for installing Tailwind packages. Migration from the older @nuxtjs/tailwindcss module and tailwind.config.js is covered as part of that reference.
When your agent uses it
Use when styling Nuxt or Vue UI, migrating from Tailwind 3, configuring @tailwindcss/vite, writing utility classes, or tempted to add custom CSS or inline styles.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (3 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the nuxt-modern-dev plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add pstuart/pstuart
/plugin install nuxt-modern-dev@pstuartOr copy only this skill to ~/.claude/skills/tailwindcss4:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/tailwindcss4 &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/tailwindcss4" ~/.claude/skills/tailwindcss4 &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/tailwindcss4 inside it instead.
Copy the skill folder to ~/.agents/skills/tailwindcss4 to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/tailwindcss4 &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/tailwindcss4" ~/.agents/skills/tailwindcss4 &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/tailwindcss4 inside it instead.
Copy the skill folder to ~/.cursor/skills/tailwindcss4 to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/tailwindcss4 &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/tailwindcss4" ~/.cursor/skills/tailwindcss4 &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/tailwindcss4 inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/pstuart/pstuart.git --path plugins/nuxt-modern-dev/skills/tailwindcss4Or copy the folder to ~/.gemini/skills/tailwindcss4 yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/tailwindcss4:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/tailwindcss4 &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/tailwindcss4" ~/.copilot/skills/tailwindcss4 &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/tailwindcss4 inside it instead.
Get the folder:
git clone --depth 1 https://github.com/pstuart/pstuart.gitThen copy pstuart/plugins/nuxt-modern-dev/skills/tailwindcss4 into your agent's skills folder as tailwindcss4. Agents that support SKILL.md read one folder per skill.
What it does
- Utility-first styling rules
- Directs the agent to express layout, color and spacing with Tailwind classes instead of inline or scoped styles.
- Design tokens with @theme
- Shows how to define brand colors and fonts in a CSS @theme block instead of a JavaScript config.
- Nuxt 4 Vite setup
- Provides the nuxt.config and stylesheet pattern for wiring the @tailwindcss/vite plugin into Nuxt.
- Component extraction guidance
- Advises turning a repeated cluster of utility classes into a component rather than building an @apply system.
- Tailwind 3 migration reference
- Links to a separate guide for moving a project from Tailwind 3 to version 4.
- Pre-finish styling checklist
- Gives a short list of checks for inline styles, the Vite plugin and token usage before work is complete.
Good for
- Style a Nuxt component with Tailwind utility classes
- Set up @tailwindcss/vite in a Nuxt 4 project
- Define brand colors and fonts in a Tailwind @theme block
- Migrate a Nuxt project from Tailwind 3 to Tailwind 4
- Refactor repeated button or card classes into a reusable component
Tailwindcss4 FAQ
What does the skill need to be installed?
The skill's examples use bun to add tailwindcss and @tailwindcss/vite as dev dependencies, and it targets Nuxt or Vue projects.
Does Tailwindcss4 run any scripts?
No scripts are included. It is a set of instructions plus one reference file for migration.
Which Tailwind version does Tailwindcss4 assume?
It assumes Tailwind 4.x via @tailwindcss/vite and tells the agent to confirm the exact version from the repository lockfile.
Does Tailwindcss4 replace the @nuxtjs/tailwindcss module?
Yes, the skill says to use the @tailwindcss/vite plugin instead of the @nuxtjs/tailwindcss module, which it associates with the Tailwind 3 path.
How do I install Tailwindcss4 in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/tailwindcss4 to use it in all your projects, or to .claude/skills/tailwindcss4 in one project. Or install the nuxt-modern-dev plugin, which includes it: /plugin marketplace add pstuart/pstuart, then /plugin install nuxt-modern-dev@pstuart.
Does Tailwindcss4 run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Tailwindcss4?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Tailwindcss4?
The closest alternatives to Tailwindcss4 are Nuxt4 frontend, Tailwind vite assets, Nuxt, Craft site and Web quality.
Where this comes from
- Description: from the skill's own SKILL.md.
More from pstuart/pstuart

Reports git state, activity and build evidence across every project in a folder
- Open source
- 20 GitHub stars
- Developer tools

Checks web pages against WCAG 2.1 AA contrast, labels, keyboard and ARIA rules
- Open source
- 20 GitHub stars
- Developer tools

Guides an AI agent through building and reviewing Nuxt 4 apps with the app/ layout
- Open source
- 20 GitHub stars
- Developer tools

Walks an agent through a web application security audit checklist and report
- Open source
- 20 GitHub stars
- Security

Guides an agent to write and review strict TypeScript in Vue, Nuxt and Node code
- Open source
- 20 GitHub stars
- Developer tools

Guides an agent to write Vue 3 components and composables with the Composition API
- Open source
- 20 GitHub stars
- Developer tools




