@mui/material-ui-nextjs

@mui/material-ui-nextjs — AI coding skill

View in AI SkillSafe app
0 downloads
0 stars
0 demos
SKILL.md
namematerial-ui-nextjs
descriptionIntegrates Material UI with Next.js App and Pages routers using @mui/material-nextjs, Emotion cache providers, next/font, CSS layers with Tailwind/CSS Modules, Link component prop patterns, CSS theme variables SSR notes, and App Router useSearchParams + Suspense. Use when setting up or debugging MUI in a Next.js app.
licenseMIT

Material UI and Next.js

Agent skill for Next.js + Material UI wiring (SSR/streaming, cache providers, fonts, layers, Link, App Router URL state). SKILL.md is the entry; AGENTS.md is the full guide.

When to apply

  • New App Router or Pages Router app using @mui/material
  • Styles missing, wrong order, or in body instead of head
  • next/font + ThemeProvider / createTheme
  • Tailwind or CSS Modules + MUI (enableCssLayer)
  • Button + component={Link} or Next.js v16 client boundary errors
  • useSearchParams / URL-driven MUI views and Suspense boundaries

Sections in AGENTS.md

Area Topics
App Router AppRouterCacheProvider, @emotion/cache, options, useSearchParams + <Suspense>
Pages Router _document, _app, DocumentHeadTags, AppCacheProvider
Fonts 'use client' theme, next/font, CSS variables on html
CSS variables cssVariables, SSR flicker docs
CSS layers enableCssLayer, Tailwind / other CSS
Link Client wrapper, routing guide, examples repo

Full guide

Read AGENTS.md for complete steps and doc links.

reference.md lists import paths and provider shape.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@mui/material-ui-nextjs/verified)](https://skillsafe.ai/skill/@mui/material-ui-nextjs/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@mui/material-ui-nextjs/installs)](https://skillsafe.ai/skill/@mui/material-ui-nextjs/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@mui/material-ui-nextjs/scan)](https://skillsafe.ai/skill/@mui/material-ui-nextjs/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@mui/material-ui-nextjs/eval)](https://skillsafe.ai/skill/@mui/material-ui-nextjs/)