Provides MUI Base UI guidelines for building headless React component libraries: unstyled components, compound components with render props, accessibility-first patterns, and logic-styling separation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pproenca-dot-skills-1:mui-baseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive style guide for building headless React component libraries following MUI Base UI patterns. Contains 48 rules across 5 categories, prioritized by impact.
Comprehensive style guide for building headless React component libraries following MUI Base UI patterns. Contains 48 rules across 5 categories, prioritized by impact.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Component Patterns | CRITICAL | comp- |
| 2 | Naming Conventions | HIGH | name- |
| 3 | Organization | HIGH | org- |
| 4 | Error Handling | HIGH | err- |
| 5 | Style | MEDIUM | style- |
comp-forward-ref-named - Use forwardRef with Named Functioncomp-props-parameter-naming - Name Props Parameter componentPropscomp-use-render-element - Use useRenderElement for DOM Renderingcomp-context-undefined-default - Create Context with Undefined Defaultcomp-context-error-message - Context Error Messages with Hierarchycomp-use-controlled - Use useControlled Hook for Dual Modescomp-state-memoization - Memoize State Objectscomp-context-value-memo - Memoize Context Provider Valuescomp-plain-function-root - Plain Function for Non-DOM Rootscomp-hook-namespace-exports - Hook Namespace Exportscomp-props-destructure-order - Props Destructuring Ordercomp-use-client-directive - Add use client Directivename-component-naming - Component Naming as ParentPartname-file-matches-export - File Name Matches Primary Exportname-directory-kebab-case - Directory Naming kebab-casename-part-directory-lowercase - Part Directory Naming lowercasename-context-suffix - Context Naming with Suffixname-context-hook - Context Hook as useComponentContextname-props-interface - Props Interface as ComponentPropsname-state-interface - State Interface as ComponentStatename-namespace-type-exports - Namespace Type Exportsname-event-type - Event Type Naming Conventionname-constants - Constant Naming SCREAMING_SNAKE_CASEname-data-attributes - Data Attribute Naming lowercasename-hooks - Hook Naming with use Prefixname-refs - Ref Variable Naming with Suffixname-handlers - Handler Naming Conventionorg-component-directory - Component Directory Structureorg-dual-barrel-exports - Dual Barrel Export Patternorg-test-colocation - Test File Colocationorg-context-placement - Context File Placementorg-data-attributes-file - Data Attributes Documentation Fileorg-state-attributes-mapping - State Attributes Mapping Fileorg-css-vars-file - CSS Variables Documentation Fileorg-package-exports - Package-Level Wildcard Exportserr-dev-only-warnings - Development-Only Warningserr-deduplicated-warnings - Deduplicated Warning Messageserr-message-prefix - Message Prefix Standarderr-context-error-guidance - Context Error Guidanceerr-prop-validation-timing - Prop Validation Timingerr-cancelable-events - Cancelable Event Patternerr-event-reason-constants - Event Reason Constantserr-typed-event-reasons - Type-Safe Event Reasonsstyle-react-import - React Import as Namespacestyle-internal-imports - Internal Import Pathsstyle-explicit-undefined - Explicit Undefined in Prop Typesstyle-default-values - Default Values in Destructuringstyle-jsdoc-documentation - JSDoc DocumentationRead individual reference files for detailed explanations and code examples:
Extracted from MUI Base UI codebase on 2026-01-17.
For the complete guide with all rules expanded: AGENTS.md
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin pproenca-dot-skills-1Guides creating, refactoring, and reviewing React/Next.js UI components for monorepos with patterns for naming, structure, performance, and accessibility.
Provides React composition patterns for refactoring boolean prop-heavy components, building compound components, context providers, and scalable APIs.
Provides patterns and references for building composable, accessible UI components: composition APIs, polymorphism, design tokens, publishing to npm/registry, and documentation.