Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By TheBushidoCollectivev1.3.0Apache-2.0In 1 marketplace
Validates your Tailwind build after each Claude response, and gives Claude skills for utility classes, config and responsive layouts.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Validation and quality enforcement for Tailwind CSS projects with comprehensive utility-first CSS patterns and best practices.
tailwind.config.js is properly configuredThe validation hook runs automatically when you finish a conversation with Claude Code or when agents complete their work.
This plugin provides comprehensive skills for working with Tailwind CSS:
han plugin install tailwind
Once installed, this plugin automatically validates your Tailwind CSS code:
The validation hook checks:
tailwindcss to compile your CSStailwind.config.{js,ts,cjs,mjs}You can customize the validation behavior by modifying han-config.json:
{
"hooks": {
"build": {
"command": "npx -y tailwindcss -i ./src/input.css -o ./dist/output.css --minify",
"dirsWith": ["tailwind.config.js", "tailwind.config.ts"],
"ifChanged": ["**/*.{html,js,jsx,ts,tsx,vue,svelte}", "**/*.css"]
}
}
}
To temporarily disable validation:
# Disable all Han hooks globally
export HAN_DISABLE_HOOKS=true
Or remove the plugin from your Claude Code settings.
For the best experience, ensure your project has:
tailwind.config.js (or .ts, .cjs, .mjs) filepostcss.config.js)Example package.json:
{
"devDependencies": {
"tailwindcss": "^3.4.0",
"postcss": "^8.4.0",
"autoprefixer": "^10.4.0"
}
}
// tailwind.config.js
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
plugins: [],
}
// tailwind.config.js
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {},
},
plugins: [],
}
// tailwind.config.js
module.exports = {
content: [
'./index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
plugins: [],
}
This usually means your content paths in tailwind.config.js aren't configured correctly. Ensure your content array includes all files that use Tailwind classes:
module.exports = {
content: [
'./src/**/*.{js,jsx,ts,tsx}', // Include all source files
'./pages/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
],
}
Install Tailwind CSS in your project:
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init
If your Tailwind build is slow, you can adjust the timeout in hooks/hooks.json:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "han hook run tailwind build --fail-fast --cached",
"timeout": 300
}
]
}
]
}
}
When working with this plugin:
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub thebushidocollective/han --plugin tailwind