Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
44 changes: 44 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "material-ui",
"owner": {
"name": "MUI",
"url": "https://mui.com"
},
"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. Use when building or customizing @mui/material UI.",
"source": "./skills",
"strict": false,
"version": "0.1.1",
Comment thread
GamerDubz marked this conversation as resolved.
Resolved
"skills": [
"./material-ui-nextjs",
"./material-ui-styling",
"./material-ui-tailwind",
"./material-ui-theming"
],
Comment thread
GamerDubz marked this conversation as resolved.
Resolved
"author": {
"name": "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",
"styling",
"theming",
"nextjs",
"tailwind",
"coding-agents"
],
"category": "development"
}
]
}
27 changes: 27 additions & 0 deletions docs/data/material/getting-started/coding-agents/coding-agents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Coding Agents

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Coding Agents
# Coding agents


<p class="description">Install Material UI agent skills in your coding agent.</p>

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:

<codeblock storageKey="coding-agent">

```bash Claude Code

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't appear in the page.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs markdown parser only accepts single-word tab titles, so "Claude Code" and "Other agents" were dropped and the block never rendered. I've renamed the tabs to Claude / Codex / Other, matching npm/pnpm/yarn elsewhere in the docs, in ad56b24.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs markdown parser only accepts single-word tab titles

Ok, to prevent future contributors from falling in the same trap, can you make the docs build fail instead of silently dropping the title. Optionally add support for quoted multi-word entries as well, though not that important.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. The markdown parser now throws a docs-infra: error for a codeblock tab with a missing title, an unquoted multi-word title (e.g. ```bash Claude Code) or an empty quoted title, so the build fails instead of dropping it. Quoted multi-word titles like ```bash "Claude Code" are now supported too, with tests in parseMarkdown.test.mjs.

/plugin marketplace add mui/material-ui
Comment thread
GamerDubz marked this conversation as resolved.
Resolved
/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
```

</codeblock>
5 changes: 5 additions & 0 deletions docs/data/material/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Comment thread
Janpot marked this conversation as resolved.
Resolved
},
{ 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' },
Expand Down
6 changes: 6 additions & 0 deletions docs/pages/material-ui/getting-started/coding-agents.js
Original file line number Diff line number Diff line change
@@ -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 <MarkdownDocs {...pageProps} />;
}
1 change: 1 addition & 0 deletions docs/translations/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Comment thread
Janpot marked this conversation as resolved.
Resolved
"/material-ui/getting-started/usage": "Usage",
"/material-ui/getting-started/mcp": "MCP",
"/material-ui/llms.txt": "llms.txt",
Expand Down
18 changes: 18 additions & 0 deletions skills/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "material-ui",
"version": "0.1.1",
"description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.",
"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"
]
}
51 changes: 51 additions & 0 deletions skills/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "material-ui",
"version": "0.1.1",
"description": "Material UI agent skills for styling, theming, Next.js, and Tailwind CSS integration.",
"author": {
"name": "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",
"styling",
"theming",
"nextjs",
"tailwind"
],
"skills": [
"./material-ui-nextjs",
"./material-ui-styling",
"./material-ui-tailwind",
"./material-ui-theming"
],
"interface": {
"displayName": "Material UI",
"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"
],
"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"
}
}
1 change: 1 addition & 0 deletions skills/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading