tailwindcss-fundamentals-v4
Tailwind CSS v4.0 was released January 22, 2025, featuring a complete rewrite with a Rust-based engine, CSS-first configuration, and significant performance improvements.
Works with
3
total installs
3
this week
23
GitHub stars
0
upvotes
Install Skill
Run in your terminal
3
installs
3
this week
23
stars
Installation Guide
How to use tailwindcss-fundamentals-v4 on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your machine
- ›Node.js 16+ with npm — verify with
node --version - ›Active project directory where you want to add
tailwindcss-fundamentals-v4
Run the install command
Execute the skills CLI command in your project's root directory to begin installation:
Fetches tailwindcss-fundamentals-v4 from josiahsiegel/claude-plugin-marketplace and configures it for Cursor.
Select Cursor when prompted
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate tailwindcss-fundamentals-v4. Access via /tailwindcss-fundamentals-v4 in your agent's command palette.
Security Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Documentation
Tailwind CSS v4 Fundamentals (2025/2026)
Overview
Tailwind CSS v4.0 was released January 22, 2025, featuring a complete rewrite with a Rust-based engine, CSS-first configuration, and significant performance improvements.
Key Changes from v3
| Feature | v3 | v4 |
|---|---|---|
| Configuration | JavaScript (tailwind.config.js) | CSS-first (@theme directive) |
| Engine | Node.js | Rust (10x faster) |
| Color format | hex/rgb | OKLCH (perceptually uniform) |
| Plugins | JS files | @plugin directive |
| Custom utilities | JS config | @utility directive |
| PostCSS imports | postcss-import | Built-in |
| Autoprefixer | Required | Built-in |
| CSS nesting | postcss-nested | Built-in |
| Content detection | Explicit config | Automatic |
Installation
Vite Projects (Recommended)
npm install -D tailwindcss @tailwindcss/vite
// vite.config.js
import tailwindcss from '@tailwindcss/vite'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [tailwindcss()]
})
PostCSS Projects
npm install -D tailwindcss @tailwindcss/postcss
// postcss.config.mjs
export default {
plugins: {
'@tailwindcss/postcss': {}
}
}
CSS Entry Point
/* app.css - The only required CSS file */
@import "tailwindcss";
CSS-First Configuration
The @theme Directive
Replace tailwind.config.js with CSS-based configuration:
@import "tailwindcss";
@theme {
/* Colors using modern oklch */
--color-primary: oklch(0.6 0.2 250);
--color-secondary: oklch(0.7 0.15 180);
--color-accent: oklch(0.8 0.2 30);
/* Typography */
--font-display: "Satoshi", sans-serif;
--font-body: "Inter", sans-serif;
/* Custom spacing */
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 2rem;
--spacing-xl: 4rem;
/* Custom breakpoints */
--breakpoint-xs: 475px;
--breakpoint-3xl: 1920px;
}
Theme Variables Reference
| Category | Variable Pattern | Example |
|---|---|---|
| Colors | --color-* |
--color-brand-500 |
| Fonts | --font-* |
--font-heading |
| Spacing | --spacing-* |
--spacing-4 |
| Breakpoints | --breakpoint-* |
--breakpoint-3xl |
| Radius | --radius-* |
--radius-lg |
| Shadows | --shadow-* |
--shadow-xl |
| Animations | --animate-* |
--animate-fade-in |
| Easing | --ease-* |
--ease-bounce |
Disabling Defaults
@theme {
/* Start fresh - disable all default theme values */
--*: initial;
/* Define only what you need */
--spacing: 4px;
--font-body: Inter, sans-serif;
--color-primary: oklch(0.72 0.11 221.19);
--color-secondary: oklch(0.74 0.17 40.24);
}
Custom Utilities
Static Utilities
/* Define custom utility in CSS */
@utility content-auto {
content-visibility: auto;
}
@utility text-balance {
text-wrap: balance;
}
@utility scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
@utility scrollbar-hide::-webkit-scrollbar {
display: none;
}
Usage:
<div class="content-auto scrollbar-hide">
<h1 class="text-balance">Long headline that should balance nicely</h1>
</div>
Functional Utilities
/* Utility that accepts values */
@utility tab-* {
tab-size: --value(integer);
}
@utility text-shadow-* {
text-shadow: 0 0 --value([length]) currentColor;
}
/* With theme reference */
@utility gap-safe-* {
gap: max(--value(--spacing-*), env(safe-area-inset-bottom));
}
Usage:
<pre class="tab-4">Code with 4-space tabs</pre>
<h1 class="text-shadow-[2px]">Glowing text</h1>
<div class="gap-safe-4">Safe area aware gap</div>
Custom Variants
The @custom-variant Directive
/* Dark mode with selector */
@custom-variant dark (&:where(.dark, .dark *));
/* Custom state variants */
@custom-variant hocus (&:hover, &:focus);
@custom-variant group-hocus (:merge(.group):hover &, :merge(.group):focus &);
/* Data attribute variants */
@custom-variant data-loading (&[data-loading="true"]);
@custom-variant data-active (&[data-state="active"]);
/* Child selectors */
@custom-variant children (& > *);
@custom-variant not-first (& > *:not(:first-child));
Usage:
<button class="hocus:bg-blue-600">Hover or focus</button>
<div classList & Monetize Your Skill
Submit your Claude Code skill and start earning
Get started →Use Cases
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Steps
- 1Install skill using provided installation command
- 2Test with simple use case relevant to your work
- 3Evaluate output quality and relevance
- 4Iterate on prompts to improve results
- 5Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Related Skills
frontend-design
457anthropics/claude-code
premium-frontend-ui
178github/awesome-copilot
ui-animation
175mblode/agent-skills
high-end-visual-design
141leonxlnx/taste-skill
antigravity-design-expert
88sickn33/antigravity-awesome-skills
interior-design-expert
80erichowens/some_claude_skills
Reviews
- SShikha Mishra★★★★★Dec 28, 2024
Keeps context tight: tailwindcss-fundamentals-v4 is the kind of skill you can hand to a new teammate without a long onboarding doc.
- MMaya Sharma★★★★★Dec 24, 2024
tailwindcss-fundamentals-v4 is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- OOmar Torres★★★★★Dec 20, 2024
Solid pick for teams standardizing on skills: tailwindcss-fundamentals-v4 is focused, and the summary matches what you get after install.
- AAmelia Kim★★★★★Dec 8, 2024
tailwindcss-fundamentals-v4 has been reliable in day-to-day use. Documentation quality is above average for community skills.
- AAmelia Garcia★★★★★Nov 27, 2024
Keeps context tight: tailwindcss-fundamentals-v4 is the kind of skill you can hand to a new teammate without a long onboarding doc.
- NNia Martinez★★★★★Nov 23, 2024
We added tailwindcss-fundamentals-v4 from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- RRahul Santra★★★★★Nov 19, 2024
tailwindcss-fundamentals-v4 has been reliable in day-to-day use. Documentation quality is above average for community skills.
- OOmar Flores★★★★★Nov 19, 2024
tailwindcss-fundamentals-v4 fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- YYuki Ramirez★★★★★Nov 15, 2024
Solid pick for teams standardizing on skills: tailwindcss-fundamentals-v4 is focused, and the summary matches what you get after install.
- NNaina Martin★★★★★Nov 11, 2024
tailwindcss-fundamentals-v4 is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 62
Discussion
Comments — not star reviews- No comments yet — start the thread.