AGENT SKILL

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

License 许可
MIT
最近更新
2026-07-16
Stars
★ 0
Forks
0

01 前言 Front Matter

license
MIT
metadata
{ "author": "mui", "version": "1.0.0" }
description
Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

02 资源文件 3

03 SKILL.md 正文

Material 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.*.className on 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.

04 同仓库更多 Skills

stickmanbenn-byte
stickmanbenn-byte/grumble

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 0
stickmanbenn-byte
stickmanbenn-byte/grumble

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

★ 0
stickmanbenn-byte
stickmanbenn-byte/grumble

ui-styling

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.

★ 0
stickmanbenn-byte
stickmanbenn-byte/grumble

theme-factory

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

★ 0
stickmanbenn-byte
stickmanbenn-byte/grumble

slack-gif-creator

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."

★ 0
stickmanbenn-byte
stickmanbenn-byte/grumble

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

★ 0