About material-ui-tailwind
An agent skill for configuring and troubleshooting Material UI with Tailwind CSS. It covers v3 and v4 setups, including Next.js and Vite, with guidance on CSS layers and component classes.
Key features
- 01Troubleshoot Tailwind and MUI specificity
- 02Configure v4 CSS layer order
- 03Set up Next.js and Vite integration
- 04Explain component className usage
- 05Review v3 migration considerations
Use cases
- 01Fix Tailwind styles that fail to override MUI
- 02Configure style layers in Next.js or Vite
- 03Migrate older Tailwind and MUI setups
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ mui/ material-ui --skill material-ui-tailwindAfter installing, type/material-ui-tailwindin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
AGENTS.mdmetadata.jsonREADME.mdreference.mdDetails
From the project READMEMaterial UI and Tailwind CSS
Agent skill for MUI + Tailwind. SKILL.md is the entry; AGENTS.md is the full guide.
When to apply
- Tailwind utilities not overriding MUI (specificity / layer order)
- Setting up v4 with Next.js App or Pages Router, or Vite
className/slotProps.*.classNameon MUI components- Mapping
--mui-*variables into Tailwind@theme - Legacy v3 setups or migrations
Sections in AGENTS.md
| Area | Topics |
|---|---|
| v4 | @layer order, mui before utilities |
| Next.js | enableCssLayer, Pages GlobalStyles + shared cache |
| SPA | StyledEngineProvider + enableCssLayer |
| Usage | Root vs slot className |
@theme | Full snippet on docs site; needs cssVariables |
| IntelliSense | VS Code classRegex |
| v3 | preflight, important, injectFirst, portals |
Full guide
Read AGENTS.md. Copy-paste snippets: reference.md.
Comments
Markdown supported