setup-tailwindcss
Installation
SKILL.md
Setup Tailwind CSS (Vite, Next.js)
Scope
- Only handle Vite and Next.js.
- Assume the project already exists (no project initialization steps).
- Follow the official Tailwind CSS v4 install flow for each platform.
Decision
- If the project is Vite, follow the Vite steps.
- If the project is Next.js, follow the Next.js steps.
- If the project is neither, ask the user to confirm the framework.
Vite (official plugin)
-
Ensure you are in the project root.
-
Install Tailwind CSS (latest) and the Vite plugin: