This is your first stop when Tailwind classes aren't showing up in the browser or your v3 to v4 migration breaks. It walks through the usual suspects: dynamic class concatenation that JIT can't detect, PostCSS plugin configuration for v4 (it's @tailwindcss/postcss now, not the old setup), content path issues, and specificity conflicts. The debugging checklist is solid for narrowing down whether it's a build problem, a cache problem, or you're just concatenating strings wrong. Honestly most Tailwind debugging comes down to "stop doing `text-${color}-500`" but this covers the less obvious stuff too, like why IntelliSense stopped working or why your production build is missing half your styles.

skills.sh installs
207
GitHub stars
61
last updated
Aug 21, 2026

Install

$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill tailwindcss-debugging --agent claude-code

Installs into .claude/skills of the current project.

Files

Tailwind CSS Debugging & Troubleshooting

Common Issues & Solutions

1. Styles Not Applying

Check Content Detection

v4 automatically detects content, but if styles are missing:

/* Explicitly specify sources */
@import "tailwindcss";
@source "./src/**/*.{html,js,jsx,ts,tsx,vue,svelte}";
Verify Class Names
<!-- WRONG - Dynamic class won't be detected -->
<div class={`text-${color}-500`}>

<!-- CORRECT - Use complete class names -->
<div class={color === 'blue' ? 'text-blue-500' : 'text-red-500'}>
Check Build Process
# Restart dev server
npm run dev

# Clear cache and rebuild
rm -rf node_modules/.vite
npm run build

2. v4 Migration Issues

PostCSS Plugin Changed
// OLD (v3)
export default {
  plugins: {
    tailwindcss: {},
    autoprefixer: {}
  }
}

// NEW (v4)
export default {
  plugins: {
    '@tailwindcss/postcss': {}
  }
}
Configuration Moved to CSS
/* v4 - Configure in CSS, not JS */
@import "tailwindcss";

@theme {
  --color-primary: oklch(0.6 0.2 250);
}
Dark Mode Variant

Sponsors

Details

Repository
github.com/josiahsiegel/claude-plugin-marketplace
Categories
Frontend Development, DevOps & CI/CD, Debugging, Productivity & Planning, Automation & Workflows
First seen
Jun 3, 2026

More from josiahsiegel/claude-plugin-marketplace

All 26
1yonatangross avatarimplementyonatangross/orchestkitFull-power feature implementation using parallel subagents for backend, frontend, testing, and security, with worktree isolation and quality verification in one206skills.sh installs
2nenorrell avatardaisyui-5nenorrell/skillsDaisyUI 5 component library best practices, patterns, and usage for Tailwind CSS 4. Use when building UI with daisyUI class names, creating daisyUI-based layout205skills.sh installs
3josiahsiegel avatartailwindcss-pluginsjosiahsiegel/claude-plugin-marketplaceTailwind CSS plugins — official plugins and custom plugin development. PROACTIVELY activate for: (1) @tailwindcss/typography (prose), (2) @tailwindcss/forms, (3202skills.sh installs
4bmad-labs avatarslides-generatorbmad-labs/skillsGenerate interactive presentation slides using React + Tailwind, and export to standalone single-file HTML. Triggers on keywords like "slides", "presentation", 199skills.sh installs
5entropyconquers avatarreanimated-dndentropyconquers/react-native-reanimated-dndreanimated dnd198skills.sh installs
6oguzhan18 avatarngrxoguzhan18/angular-ecosystem-skillsALWAYS use when implementing Angular state management with NgRx, including Store, Effects, Entity, and Signal Store.195skills.sh installs