From dd79a234f2febd0b566a8bc57116f1f4d249c1e4 Mon Sep 17 00:00:00 2001 From: GamerDubz Date: Tue, 10 Nov 2026 09:24:27 +0200 Subject: [PATCH 01/13] [code-infra] Add Claude Code and Codex plugin marketplaces for the Material UI agent skills --- .agents/plugins/marketplace.json | 20 ++++++++++++++++++++ .claude-plugin/marketplace.json | 31 +++++++++++++++++++++++++++++++ skills/.codex-plugin/plugin.json | 26 ++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 .agents/plugins/marketplace.json create mode 100644 .claude-plugin/marketplace.json create mode 100644 skills/.codex-plugin/plugin.json diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json new file mode 100644 index 00000000000000..23f3b2ad72a513 --- /dev/null +++ b/.agents/plugins/marketplace.json @@ -0,0 +1,20 @@ +{ + "name": "material-ui", + "interface": { + "displayName": "Material UI" + }, + "plugins": [ + { + "name": "material-ui", + "source": { + "source": "local", + "path": "./skills" + }, + "policy": { + "installation": "AVAILABLE", + "authentication": "ON_INSTALL" + }, + "category": "Developer Tools" + } + ] +} diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 00000000000000..65ca1e44fad85c --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,31 @@ +{ + "name": "material-ui", + "owner": { + "name": "MUI" + }, + "description": "Material UI agent skills", + "plugins": [ + { + "name": "material-ui", + "displayName": "Material UI", + "description": "Material UI agent skills for Claude Code", + "source": "./skills", + "strict": false, + "skills": [ + "./material-ui-nextjs", + "./material-ui-styling", + "./material-ui-tailwind", + "./material-ui-theming" + ], + "author": { + "name": "MUI", + "url": "https://github.com/mui" + }, + "homepage": "https://mui.com/material-ui/", + "repository": "https://github.com/mui/material-ui", + "license": "MIT", + "keywords": ["material-ui", "mui", "react", "material-design", "design-system"], + "category": "development" + } + ] +} diff --git a/skills/.codex-plugin/plugin.json b/skills/.codex-plugin/plugin.json new file mode 100644 index 00000000000000..f3d5ec144c0048 --- /dev/null +++ b/skills/.codex-plugin/plugin.json @@ -0,0 +1,26 @@ +{ + "name": "material-ui", + "description": "Material UI agent skills", + "author": { + "name": "MUI", + "url": "https://github.com/mui" + }, + "homepage": "https://mui.com/material-ui/", + "repository": "https://github.com/mui/material-ui", + "license": "MIT", + "keywords": ["material-ui", "mui", "react", "material-design", "design-system"], + "skills": [ + "./material-ui-nextjs", + "./material-ui-styling", + "./material-ui-tailwind", + "./material-ui-theming" + ], + "interface": { + "displayName": "Material UI", + "shortDescription": "Material UI agent skills", + "longDescription": "Agent skills for working with Material UI, installed from the skills already in this repository.", + "developerName": "MUI", + "category": "Developer Tools", + "websiteURL": "https://mui.com/material-ui/" + } +} From c54c36ea4d9f496d1692b727819b8886dfb18335 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Tue, 10 Nov 2026 21:17:26 +0000 Subject: [PATCH 02/13] [code-infra] Enrich Material UI agent plugin listing metadata Bring Codex and Claude marketplace manifests up to listing quality with long descriptions, brand assets, website URL, capabilities, prompts, and a consistent 0.1.1 version. Co-authored-by: GamerDubz --- .claude-plugin/marketplace.json | 23 +++++++++++++++----- skills/.codex-plugin/plugin.json | 37 ++++++++++++++++++++++++++------ skills/assets/logo.svg | 1 + 3 files changed, 50 insertions(+), 11 deletions(-) create mode 100644 skills/assets/logo.svg diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 65ca1e44fad85c..7b9cd9c105b7c2 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,16 +1,18 @@ { "name": "material-ui", "owner": { - "name": "MUI" + "name": "MUI", + "url": "https://mui.com" }, - "description": "Material UI agent skills", + "description": "Material UI agent skills for Claude Code", "plugins": [ { "name": "material-ui", "displayName": "Material UI", - "description": "Material UI agent skills for Claude Code", + "description": "Material UI agent skills for styling (sx, styled, theme overrides, global CSS), theming and design tokens (createTheme, colorSchemes, CSS variables), Next.js App/Pages Router integration, and Tailwind CSS v4/v3 interoperability. Use when building or customizing @mui/material UI.", "source": "./skills", "strict": false, + "version": "0.1.1", "skills": [ "./material-ui-nextjs", "./material-ui-styling", @@ -19,12 +21,23 @@ ], "author": { "name": "MUI", - "url": "https://github.com/mui" + "url": "https://mui.com" }, "homepage": "https://mui.com/material-ui/", "repository": "https://github.com/mui/material-ui", "license": "MIT", - "keywords": ["material-ui", "mui", "react", "material-design", "design-system"], + "keywords": [ + "material-ui", + "mui", + "react", + "material-design", + "design-system", + "styling", + "theming", + "nextjs", + "tailwind", + "coding-agents" + ], "category": "development" } ] diff --git a/skills/.codex-plugin/plugin.json b/skills/.codex-plugin/plugin.json index f3d5ec144c0048..5ae7912ce3d0f9 100644 --- a/skills/.codex-plugin/plugin.json +++ b/skills/.codex-plugin/plugin.json @@ -1,14 +1,25 @@ { "name": "material-ui", - "description": "Material UI agent skills", + "version": "0.1.1", + "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.", "author": { "name": "MUI", - "url": "https://github.com/mui" + "url": "https://mui.com" }, "homepage": "https://mui.com/material-ui/", "repository": "https://github.com/mui/material-ui", "license": "MIT", - "keywords": ["material-ui", "mui", "react", "material-design", "design-system"], + "keywords": [ + "material-ui", + "mui", + "react", + "material-design", + "design-system", + "styling", + "theming", + "nextjs", + "tailwind" + ], "skills": [ "./material-ui-nextjs", "./material-ui-styling", @@ -17,10 +28,24 @@ ], "interface": { "displayName": "Material UI", - "shortDescription": "Material UI agent skills", - "longDescription": "Agent skills for working with Material UI, installed from the skills already in this repository.", + "shortDescription": "Build UI with Material UI styling, theming, Next.js, and Tailwind guidance", + "longDescription": "Material UI is a React component library that implements Material Design. This plugin packages the repository's agent skills so coding agents can follow official guidance when working with @mui/material.\n\nUse it when choosing among sx, styled(), theme overrides, and global CSS; building or extending themes with createTheme, colorSchemes, and CSS variables; wiring Material UI into Next.js App or Pages Router with @mui/material-nextjs; or combining Material UI with Tailwind CSS v4 layers (and v3 interoperability).\n\nThe skills point agents at the documented decision order and APIs — not at reading package source. Each skill's SKILL.md is the entry point; AGENTS.md is the full guide.", "developerName": "MUI", "category": "Developer Tools", - "websiteURL": "https://mui.com/material-ui/" + "capabilities": [ + "Styling guidance (sx, styled, theme overrides)", + "Theming and design tokens", + "Next.js integration", + "Tailwind CSS interoperability" + ], + "websiteURL": "https://mui.com/material-ui/", + "defaultPrompt": [ + "Style a Material UI Card with the right sx vs styled approach", + "Add light and dark color schemes to my Material UI theme", + "Set up Material UI with Next.js App Router and Emotion cache" + ], + "brandColor": "#007FFF", + "composerIcon": "./assets/logo.svg", + "logo": "./assets/logo.svg" } } diff --git a/skills/assets/logo.svg b/skills/assets/logo.svg new file mode 100644 index 00000000000000..d4127aa2d1a51f --- /dev/null +++ b/skills/assets/logo.svg @@ -0,0 +1 @@ + From 0da55e02f399787ef9cf1d78d4317ae597948e69 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Wed, 11 Nov 2026 02:41:40 +0200 Subject: [PATCH 03/13] [code-infra] Describe the agent skills marketplace for any coding agent --- .claude-plugin/marketplace.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 7b9cd9c105b7c2..4f23fa53af2b1c 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -4,7 +4,7 @@ "name": "MUI", "url": "https://mui.com" }, - "description": "Material UI agent skills for Claude Code", + "description": "Material UI agent skills", "plugins": [ { "name": "material-ui", From 3775e02f55751c0efa228c77edb8e8872dccd5a0 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Tue, 17 Nov 2026 16:19:42 +0000 Subject: [PATCH 04/13] [code-infra] Wire the official mui-mcp server into the agent plugin Register mui-mcp (npx -y @mui/mcp@latest) in the plugin root .mcp.json, Claude and Codex plugin manifests, and the Claude marketplace entry so the skills marketplace is a full plugin with MCP, not skills-only. --- .claude-plugin/marketplace.json | 11 +++++++++-- skills/.claude-plugin/plugin.json | 24 ++++++++++++++++++++++++ skills/.codex-plugin/plugin.json | 18 +++++++++++++----- skills/.mcp.json | 8 ++++++++ 4 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 skills/.claude-plugin/plugin.json create mode 100644 skills/.mcp.json diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 4f23fa53af2b1c..fe2b79450ad320 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -4,12 +4,12 @@ "name": "MUI", "url": "https://mui.com" }, - "description": "Material UI agent skills", + "description": "Material UI agent skills and official MCP server", "plugins": [ { "name": "material-ui", "displayName": "Material UI", - "description": "Material UI agent skills for styling (sx, styled, theme overrides, global CSS), theming and design tokens (createTheme, colorSchemes, CSS variables), Next.js App/Pages Router integration, and Tailwind CSS v4/v3 interoperability. Use when building or customizing @mui/material UI.", + "description": "Material UI agent skills for styling (sx, styled, theme overrides, global CSS), theming and design tokens (createTheme, colorSchemes, CSS variables), Next.js App/Pages Router integration, and Tailwind CSS v4/v3 interoperability, plus the official mui-mcp server for docs and code examples. Use when building or customizing @mui/material UI.", "source": "./skills", "strict": false, "version": "0.1.1", @@ -19,6 +19,12 @@ "./material-ui-tailwind", "./material-ui-theming" ], + "mcpServers": { + "mui-mcp": { + "command": "npx", + "args": ["-y", "@mui/mcp@latest"] + } + }, "author": { "name": "MUI", "url": "https://mui.com" @@ -36,6 +42,7 @@ "theming", "nextjs", "tailwind", + "mcp", "coding-agents" ], "category": "development" diff --git a/skills/.claude-plugin/plugin.json b/skills/.claude-plugin/plugin.json new file mode 100644 index 00000000000000..673969e77c6983 --- /dev/null +++ b/skills/.claude-plugin/plugin.json @@ -0,0 +1,24 @@ +{ + "name": "material-ui", + "version": "0.1.1", + "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration, plus the official MUI MCP server for docs and code examples.", + "author": { + "name": "MUI", + "url": "https://mui.com" + }, + "homepage": "https://mui.com/material-ui/", + "repository": "https://github.com/mui/material-ui", + "license": "MIT", + "skills": [ + "./material-ui-nextjs", + "./material-ui-styling", + "./material-ui-tailwind", + "./material-ui-theming" + ], + "mcpServers": { + "mui-mcp": { + "command": "npx", + "args": ["-y", "@mui/mcp@latest"] + } + } +} diff --git a/skills/.codex-plugin/plugin.json b/skills/.codex-plugin/plugin.json index 5ae7912ce3d0f9..1baa15891efeac 100644 --- a/skills/.codex-plugin/plugin.json +++ b/skills/.codex-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "material-ui", "version": "0.1.1", - "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.", + "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration, plus the official MUI MCP server for docs and code examples.", "author": { "name": "MUI", "url": "https://mui.com" @@ -18,7 +18,8 @@ "styling", "theming", "nextjs", - "tailwind" + "tailwind", + "mcp" ], "skills": [ "./material-ui-nextjs", @@ -26,17 +27,24 @@ "./material-ui-tailwind", "./material-ui-theming" ], + "mcpServers": { + "mui-mcp": { + "command": "npx", + "args": ["-y", "@mui/mcp@latest"] + } + }, "interface": { "displayName": "Material UI", - "shortDescription": "Build UI with Material UI styling, theming, Next.js, and Tailwind guidance", - "longDescription": "Material UI is a React component library that implements Material Design. This plugin packages the repository's agent skills so coding agents can follow official guidance when working with @mui/material.\n\nUse it when choosing among sx, styled(), theme overrides, and global CSS; building or extending themes with createTheme, colorSchemes, and CSS variables; wiring Material UI into Next.js App or Pages Router with @mui/material-nextjs; or combining Material UI with Tailwind CSS v4 layers (and v3 interoperability).\n\nThe skills point agents at the documented decision order and APIs — not at reading package source. Each skill's SKILL.md is the entry point; AGENTS.md is the full guide.", + "shortDescription": "Build UI with Material UI styling, theming, Next.js, Tailwind, and MCP docs", + "longDescription": "Material UI is a React component library that implements Material Design. This plugin packages the repository's agent skills so coding agents can follow official guidance when working with @mui/material, and registers the official mui-mcp server for docs and code examples.\n\nUse it when choosing among sx, styled(), theme overrides, and global CSS; building or extending themes with createTheme, colorSchemes, and CSS variables; wiring Material UI into Next.js App or Pages Router with @mui/material-nextjs; combining Material UI with Tailwind CSS v4 layers (and v3 interoperability); or answering Material UI questions from the official docs via MCP.\n\nThe skills point agents at the documented decision order and APIs — not at reading package source. Each skill's SKILL.md is the entry point; AGENTS.md is the full guide.", "developerName": "MUI", "category": "Developer Tools", "capabilities": [ "Styling guidance (sx, styled, theme overrides)", "Theming and design tokens", "Next.js integration", - "Tailwind CSS interoperability" + "Tailwind CSS interoperability", + "Official MUI docs via MCP" ], "websiteURL": "https://mui.com/material-ui/", "defaultPrompt": [ diff --git a/skills/.mcp.json b/skills/.mcp.json new file mode 100644 index 00000000000000..ce20157eb2b960 --- /dev/null +++ b/skills/.mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "mui-mcp": { + "command": "npx", + "args": ["-y", "@mui/mcp@latest"] + } + } +} From 6806e71efd918002d7e8d76a9fa03ca70de43042 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Tue, 24 Nov 2026 12:59:12 +0000 Subject: [PATCH 05/13] [code-infra] Remove MCP from the agent skills marketplace Drop skills/.mcp.json and strip mcpServers plus MCP mentions from the plugin and marketplace manifests while MCP retirement is considered. --- .claude-plugin/marketplace.json | 11 ++--------- skills/.claude-plugin/plugin.json | 10 ++-------- skills/.codex-plugin/plugin.json | 18 +++++------------- skills/.mcp.json | 8 -------- 4 files changed, 9 insertions(+), 38 deletions(-) delete mode 100644 skills/.mcp.json diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index fe2b79450ad320..4f23fa53af2b1c 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -4,12 +4,12 @@ "name": "MUI", "url": "https://mui.com" }, - "description": "Material UI agent skills and official MCP server", + "description": "Material UI agent skills", "plugins": [ { "name": "material-ui", "displayName": "Material UI", - "description": "Material UI agent skills for styling (sx, styled, theme overrides, global CSS), theming and design tokens (createTheme, colorSchemes, CSS variables), Next.js App/Pages Router integration, and Tailwind CSS v4/v3 interoperability, plus the official mui-mcp server for docs and code examples. Use when building or customizing @mui/material UI.", + "description": "Material UI agent skills for styling (sx, styled, theme overrides, global CSS), theming and design tokens (createTheme, colorSchemes, CSS variables), Next.js App/Pages Router integration, and Tailwind CSS v4/v3 interoperability. Use when building or customizing @mui/material UI.", "source": "./skills", "strict": false, "version": "0.1.1", @@ -19,12 +19,6 @@ "./material-ui-tailwind", "./material-ui-theming" ], - "mcpServers": { - "mui-mcp": { - "command": "npx", - "args": ["-y", "@mui/mcp@latest"] - } - }, "author": { "name": "MUI", "url": "https://mui.com" @@ -42,7 +36,6 @@ "theming", "nextjs", "tailwind", - "mcp", "coding-agents" ], "category": "development" diff --git a/skills/.claude-plugin/plugin.json b/skills/.claude-plugin/plugin.json index 673969e77c6983..cfff312cca7698 100644 --- a/skills/.claude-plugin/plugin.json +++ b/skills/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "material-ui", "version": "0.1.1", - "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration, plus the official MUI MCP server for docs and code examples.", + "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.", "author": { "name": "MUI", "url": "https://mui.com" @@ -14,11 +14,5 @@ "./material-ui-styling", "./material-ui-tailwind", "./material-ui-theming" - ], - "mcpServers": { - "mui-mcp": { - "command": "npx", - "args": ["-y", "@mui/mcp@latest"] - } - } + ] } diff --git a/skills/.codex-plugin/plugin.json b/skills/.codex-plugin/plugin.json index 1baa15891efeac..1aba94ed2f62e8 100644 --- a/skills/.codex-plugin/plugin.json +++ b/skills/.codex-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "material-ui", "version": "0.1.1", - "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration, plus the official MUI MCP server for docs and code examples.", + "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.", "author": { "name": "MUI", "url": "https://mui.com" @@ -18,8 +18,7 @@ "styling", "theming", "nextjs", - "tailwind", - "mcp" + "tailwind" ], "skills": [ "./material-ui-nextjs", @@ -27,24 +26,17 @@ "./material-ui-tailwind", "./material-ui-theming" ], - "mcpServers": { - "mui-mcp": { - "command": "npx", - "args": ["-y", "@mui/mcp@latest"] - } - }, "interface": { "displayName": "Material UI", - "shortDescription": "Build UI with Material UI styling, theming, Next.js, Tailwind, and MCP docs", - "longDescription": "Material UI is a React component library that implements Material Design. This plugin packages the repository's agent skills so coding agents can follow official guidance when working with @mui/material, and registers the official mui-mcp server for docs and code examples.\n\nUse it when choosing among sx, styled(), theme overrides, and global CSS; building or extending themes with createTheme, colorSchemes, and CSS variables; wiring Material UI into Next.js App or Pages Router with @mui/material-nextjs; combining Material UI with Tailwind CSS v4 layers (and v3 interoperability); or answering Material UI questions from the official docs via MCP.\n\nThe skills point agents at the documented decision order and APIs — not at reading package source. Each skill's SKILL.md is the entry point; AGENTS.md is the full guide.", + "shortDescription": "Build UI with Material UI styling, theming, Next.js, and Tailwind", + "longDescription": "Material UI is a React component library that implements Material Design. This plugin packages the repository's agent skills so coding agents can follow official guidance when working with @mui/material.\n\nUse it when choosing among sx, styled(), theme overrides, and global CSS; building or extending themes with createTheme, colorSchemes, and CSS variables; wiring Material UI into Next.js App or Pages Router with @mui/material-nextjs; or combining Material UI with Tailwind CSS v4 layers (and v3 interoperability).\n\nThe skills point agents at the documented decision order and APIs — not at reading package source. Each skill's SKILL.md is the entry point; AGENTS.md is the full guide.", "developerName": "MUI", "category": "Developer Tools", "capabilities": [ "Styling guidance (sx, styled, theme overrides)", "Theming and design tokens", "Next.js integration", - "Tailwind CSS interoperability", - "Official MUI docs via MCP" + "Tailwind CSS interoperability" ], "websiteURL": "https://mui.com/material-ui/", "defaultPrompt": [ diff --git a/skills/.mcp.json b/skills/.mcp.json deleted file mode 100644 index ce20157eb2b960..00000000000000 --- a/skills/.mcp.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "mcpServers": { - "mui-mcp": { - "command": "npx", - "args": ["-y", "@mui/mcp@latest"] - } - } -} From 7d217c3364378887fb58d9ff9ea8029368ef4fea Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Tue, 24 Nov 2026 12:59:12 +0000 Subject: [PATCH 06/13] [docs] Add Coding Agents getting-started page Document Material UI agent skills installation after Installation, with an agent-selector code block for Claude Code, Codex, and other agents. --- .../coding-agents/coding-agents.md | 27 +++++++++++++++++++ docs/data/material/pages.ts | 5 ++++ .../getting-started/coding-agents.js | 6 +++++ docs/translations/translations.json | 1 + 4 files changed, 39 insertions(+) create mode 100644 docs/data/material/getting-started/coding-agents/coding-agents.md create mode 100644 docs/pages/material-ui/getting-started/coding-agents.js diff --git a/docs/data/material/getting-started/coding-agents/coding-agents.md b/docs/data/material/getting-started/coding-agents/coding-agents.md new file mode 100644 index 00000000000000..12a045fce4f8cf --- /dev/null +++ b/docs/data/material/getting-started/coding-agents/coding-agents.md @@ -0,0 +1,27 @@ +# Coding Agents + +

Install Material UI agent skills in your coding agent.

+ +Material UI ships agent skills for common integration topics—`material-ui-nextjs`, `material-ui-styling`, `material-ui-tailwind`, and `material-ui-theming`—in the repository's `skills/` folder. + +## Installation + +Install the skills with your coding agent: + + + +```bash Claude Code +/plugin marketplace add mui/material-ui +/plugin install material-ui@material-ui +``` + +```bash Codex +codex plugin marketplace add mui/material-ui +codex plugin add material-ui@material-ui +``` + +```bash Other agents +npx skills add mui/material-ui +``` + + diff --git a/docs/data/material/pages.ts b/docs/data/material/pages.ts index 4adf0d7cb592ad..57147c97a6cbfe 100644 --- a/docs/data/material/pages.ts +++ b/docs/data/material/pages.ts @@ -9,6 +9,11 @@ const pages: MuiPage[] = [ children: [ { pathname: '/material-ui/getting-started', title: 'Overview' }, { pathname: '/material-ui/getting-started/installation' }, + { + pathname: '/material-ui/getting-started/coding-agents', + newFeature: true, + title: 'Coding Agents', + }, { pathname: '/material-ui/getting-started/usage' }, { pathname: '/material-ui/getting-started/mcp', newFeature: true, title: 'MCP' }, { pathname: '/material-ui/llms.txt', newFeature: true, title: 'llms.txt' }, diff --git a/docs/pages/material-ui/getting-started/coding-agents.js b/docs/pages/material-ui/getting-started/coding-agents.js new file mode 100644 index 00000000000000..9adbdb8d88f384 --- /dev/null +++ b/docs/pages/material-ui/getting-started/coding-agents.js @@ -0,0 +1,6 @@ +import { MarkdownDocs } from '@mui/internal-core-docs/MarkdownDocs'; +import * as pageProps from 'docs/data/material/getting-started/coding-agents/coding-agents.md?muiMarkdown'; + +export default function Page() { + return ; +} diff --git a/docs/translations/translations.json b/docs/translations/translations.json index 4ff04680cfb0d4..a39095dbb5a735 100644 --- a/docs/translations/translations.json +++ b/docs/translations/translations.json @@ -40,6 +40,7 @@ "/material-ui/getting-started-group": "Getting started", "/material-ui/getting-started": "Overview", "/material-ui/getting-started/installation": "Installation", + "/material-ui/getting-started/coding-agents": "Coding Agents", "/material-ui/getting-started/usage": "Usage", "/material-ui/getting-started/mcp": "MCP", "/material-ui/llms.txt": "llms.txt", From ad56b24eed8e3a14a981c376b14c8b987ed5f2c2 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Tue, 24 Nov 2026 13:41:45 +0000 Subject: [PATCH 07/13] [docs] Use single-word codeblock tab titles on Coding Agents page The parser only accepts a single non-whitespace token as the tab title, so multi-word labels like "Claude Code" and "Other agents" were dropped and those tabs never rendered. --- .../material/getting-started/coding-agents/coding-agents.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/data/material/getting-started/coding-agents/coding-agents.md b/docs/data/material/getting-started/coding-agents/coding-agents.md index 12a045fce4f8cf..a4b31e0aa50d8e 100644 --- a/docs/data/material/getting-started/coding-agents/coding-agents.md +++ b/docs/data/material/getting-started/coding-agents/coding-agents.md @@ -10,7 +10,7 @@ Install the skills with your coding agent: -```bash Claude Code +```bash Claude /plugin marketplace add mui/material-ui /plugin install material-ui@material-ui ``` @@ -20,7 +20,7 @@ codex plugin marketplace add mui/material-ui codex plugin add material-ui@material-ui ``` -```bash Other agents +```bash Other npx skills add mui/material-ui ``` From 94815ac649dcdef38d7b8ae87608edba35291315 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Tue, 24 Nov 2026 14:41:53 +0000 Subject: [PATCH 08/13] [docs] Use Claude CLI commands on Coding Agents page --- .../material/getting-started/coding-agents/coding-agents.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/data/material/getting-started/coding-agents/coding-agents.md b/docs/data/material/getting-started/coding-agents/coding-agents.md index a4b31e0aa50d8e..c35fb7b928db9d 100644 --- a/docs/data/material/getting-started/coding-agents/coding-agents.md +++ b/docs/data/material/getting-started/coding-agents/coding-agents.md @@ -11,8 +11,8 @@ Install the skills with your coding agent: ```bash Claude -/plugin marketplace add mui/material-ui -/plugin install material-ui@material-ui +claude plugin marketplace add mui/material-ui +claude plugin install material-ui@material-ui ``` ```bash Codex From ee798ed7f28ad6f614b05abb2f93182471065404 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Tue, 24 Nov 2026 14:49:10 +0000 Subject: [PATCH 09/13] [docs-infra] Fail on invalid codeblock tab titles --- packages-internal/markdown/parseMarkdown.mjs | 66 ++++++++++++-- .../markdown/parseMarkdown.test.mjs | 91 +++++++++++++++++++ 2 files changed, 150 insertions(+), 7 deletions(-) diff --git a/packages-internal/markdown/parseMarkdown.mjs b/packages-internal/markdown/parseMarkdown.mjs index cfe84b33bafc52..e91c5746b02601 100644 --- a/packages-internal/markdown/parseMarkdown.mjs +++ b/packages-internal/markdown/parseMarkdown.mjs @@ -205,6 +205,58 @@ function getDescription(markdown) { return matches[1].trim().replace(/`/g, ''); } +/** + * Parse the tab title from a `` fence header. + * Accepts a single unquoted word (`npm`) or a quoted multi-word title (`"Claude Code"`). + * @param {string} language + * @param {string} meta - Remainder of the fence line after the language. + * @returns {string} + */ +function parseCodeblockTabTitle(language, meta) { + const trimmed = meta.trim(); + const fencePreview = `\`\`\`${language}${meta}`; + + if (!trimmed) { + throw new Error( + [ + 'docs-infra: Missing codeblock tab title.', + `The fence ${fencePreview} is missing a tab title.`, + 'Add a single-word title (e.g. ```bash npm) or a quoted multi-word title (e.g. ```bash "Claude Code").', + '', + ].join('\n'), + ); + } + + const quotedMatch = trimmed.match(/^(["'])([\s\S]*?)\1$/); + if (quotedMatch) { + const title = quotedMatch[2]; + if (title.length === 0) { + throw new Error( + [ + 'docs-infra: Empty codeblock tab title.', + `The fence ${fencePreview} has an empty quoted tab title.`, + 'Provide a non-empty title (e.g. ```bash "Claude Code").', + '', + ].join('\n'), + ); + } + return title; + } + + if (/^\S+$/.test(trimmed)) { + return trimmed; + } + + throw new Error( + [ + 'docs-infra: Invalid codeblock tab title.', + `The fence ${fencePreview} has a tab title that could not be parsed.`, + 'Use a single word (e.g. ```bash Claude) or quote multi-word titles (e.g. ```bash "Claude Code").', + '', + ].join('\n'), + ); +} + function getCodeblock(content) { if (!content.startsWith(']*storageKey=["|'](?!storageKey=["|'])(\S*)["|'].*>/m, )?.[1]; - const blocks = [...content.matchAll(/^```(\S*) (\S*)\n(.*?)\n```/gmsu)].map( - ([, language, tab, code]) => ({ language, tab, code }), - ); - - const blocksData = blocks.filter( - (block) => block.tab !== undefined && !emptyRegExp.test(block.code), - ); + const blocksData = [...content.matchAll(/^```(\S*)([^\n]*)\n(.*?)\n```/gmsu)] + .map(([, language, meta, code]) => ({ + language, + tab: parseCodeblockTabTitle(language, meta), + code, + })) + .filter((block) => !emptyRegExp.test(block.code)); return { type: 'codeblock', diff --git a/packages-internal/markdown/parseMarkdown.test.mjs b/packages-internal/markdown/parseMarkdown.test.mjs index 32392a70a7f4b0..11fb776fb9174d 100644 --- a/packages-internal/markdown/parseMarkdown.test.mjs +++ b/packages-internal/markdown/parseMarkdown.test.mjs @@ -243,6 +243,97 @@ title: "Our docs just got a major upgrade—here's what that means for you" ], }); }); + + it('should accept quoted multi-word tab titles', () => { + const codeblock = getCodeblock( + [ + '', + '', + '```bash "Claude Code"', + 'claude plugin marketplace add mui/material-ui', + '```', + '', + "```bash 'OpenAI Codex'", + 'codex plugin add material-ui@material-ui', + '```', + '', + '', + ].join('\n'), + ); + expect(codeblock).to.deep.equal({ + type: 'codeblock', + storageKey: 'coding-agent', + data: [ + { + language: 'bash', + tab: 'Claude Code', + code: 'claude plugin marketplace add mui/material-ui', + }, + { + language: 'bash', + tab: 'OpenAI Codex', + code: 'codex plugin add material-ui@material-ui', + }, + ], + }); + }); + + it('should throw on unquoted multi-word tab titles', () => { + expect(() => { + getCodeblock( + [ + '', + '', + '```bash Claude Code', + 'claude plugin marketplace add mui/material-ui', + '```', + '', + '', + ].join('\n'), + ); + }).to.throw(`docs-infra: Invalid codeblock tab title. +The fence \`\`\`bash Claude Code has a tab title that could not be parsed. +Use a single word (e.g. \`\`\`bash Claude) or quote multi-word titles (e.g. \`\`\`bash "Claude Code"). +`); + }); + + it('should throw when the tab title is missing', () => { + expect(() => { + getCodeblock( + [ + '', + '', + '```bash', + 'npm install @mui/material', + '```', + '', + '', + ].join('\n'), + ); + }).to.throw(`docs-infra: Missing codeblock tab title. +The fence \`\`\`bash is missing a tab title. +Add a single-word title (e.g. \`\`\`bash npm) or a quoted multi-word title (e.g. \`\`\`bash "Claude Code"). +`); + }); + + it('should throw on empty quoted tab titles', () => { + expect(() => { + getCodeblock( + [ + '', + '', + '```bash ""', + 'npm install @mui/material', + '```', + '', + '', + ].join('\n'), + ); + }).to.throw(`docs-infra: Empty codeblock tab title. +The fence \`\`\`bash "" has an empty quoted tab title. +Provide a non-empty title (e.g. \`\`\`bash "Claude Code"). +`); + }); }); describe('renderMarkdown', () => { From 79cfcaccc0fe9e23cfe8df6e6d86215b3352af59 Mon Sep 17 00:00:00 2001 From: GamerDubz <105694977+GamerDubz@users.noreply.github.com> Date: Thu, 3 Dec 2026 16:11:31 +0000 Subject: [PATCH 10/13] [code-infra] Drop strict, skills and version from plugin manifests --- .claude-plugin/marketplace.json | 8 -------- skills/.claude-plugin/plugin.json | 1 - skills/.codex-plugin/plugin.json | 1 - 3 files changed, 10 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 4f23fa53af2b1c..7fe450874b1322 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -11,14 +11,6 @@ "displayName": "Material UI", "description": "Material UI agent skills for styling (sx, styled, theme overrides, global CSS), theming and design tokens (createTheme, colorSchemes, CSS variables), Next.js App/Pages Router integration, and Tailwind CSS v4/v3 interoperability. Use when building or customizing @mui/material UI.", "source": "./skills", - "strict": false, - "version": "0.1.1", - "skills": [ - "./material-ui-nextjs", - "./material-ui-styling", - "./material-ui-tailwind", - "./material-ui-theming" - ], "author": { "name": "MUI", "url": "https://mui.com" diff --git a/skills/.claude-plugin/plugin.json b/skills/.claude-plugin/plugin.json index cfff312cca7698..ec73b200430e0d 100644 --- a/skills/.claude-plugin/plugin.json +++ b/skills/.claude-plugin/plugin.json @@ -1,6 +1,5 @@ { "name": "material-ui", - "version": "0.1.1", "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.", "author": { "name": "MUI", diff --git a/skills/.codex-plugin/plugin.json b/skills/.codex-plugin/plugin.json index 1aba94ed2f62e8..ada9f74c080e49 100644 --- a/skills/.codex-plugin/plugin.json +++ b/skills/.codex-plugin/plugin.json @@ -1,6 +1,5 @@ { "name": "material-ui", - "version": "0.1.1", "description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.", "author": { "name": "MUI", From 2f7673299d7909550cde3dd74afaaa4d826c6533 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Fri, 4 Dec 2026 11:51:46 +0100 Subject: [PATCH 11/13] Apply suggestion from @Janpot Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com> --- .../material/getting-started/coding-agents/coding-agents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/getting-started/coding-agents/coding-agents.md b/docs/data/material/getting-started/coding-agents/coding-agents.md index c35fb7b928db9d..bccc23c6528d8a 100644 --- a/docs/data/material/getting-started/coding-agents/coding-agents.md +++ b/docs/data/material/getting-started/coding-agents/coding-agents.md @@ -1,4 +1,4 @@ -# Coding Agents +# Coding agents

Install Material UI agent skills in your coding agent.

From e6ccb6332051476bfdcfe31d3a450dc50dd5b039 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Fri, 4 Dec 2026 17:57:51 +0100 Subject: [PATCH 12/13] Apply suggestion from @Janpot Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com> --- docs/data/material/pages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/pages.ts b/docs/data/material/pages.ts index 577ba70005af80..88d6df3812974b 100644 --- a/docs/data/material/pages.ts +++ b/docs/data/material/pages.ts @@ -12,7 +12,7 @@ const pages: MuiPage[] = [ { pathname: '/material-ui/getting-started/coding-agents', newFeature: true, - title: 'Coding Agents', + title: 'Coding agents', }, { pathname: '/material-ui/getting-started/usage' }, { pathname: '/material-ui/getting-started/mcp', newFeature: true, title: 'MCP' }, From 90206d813b30bddb931ae7c427b02186512f3fc3 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Fri, 4 Dec 2026 17:58:24 +0100 Subject: [PATCH 13/13] Apply suggestion from @Janpot Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com> --- docs/translations/translations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/translations/translations.json b/docs/translations/translations.json index 3c710d1d23ba5c..3d086145f762e6 100644 --- a/docs/translations/translations.json +++ b/docs/translations/translations.json @@ -40,7 +40,7 @@ "/material-ui/getting-started-group": "Getting started", "/material-ui/getting-started": "Overview", "/material-ui/getting-started/installation": "Installation", - "/material-ui/getting-started/coding-agents": "Coding Agents", + "/material-ui/getting-started/coding-agents": "Coding agents", "/material-ui/getting-started/usage": "Usage", "/material-ui/getting-started/mcp": "MCP", "/material-ui/llms.txt": "llms.txt",