[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CMKQ82HSZP9EXV2NWBDAZW":3,"skill-same:01M7CMKQ82HSZP9EXV2NWBDAZW":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CMKQ82HSZP9EXV2NWBDAZW","mui",null,"Material-UI v7 component library patterns including sx prop styling, theme integration, responsive design, and MUI-specific hooks. Use when working with MUI components, styling with sx prop, theme customization, or MUI utilities.","Carchaloneo22\u002FClaude-Code-template","Carchaloneo22","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F159488757?v=4","01M7CK5MQXAFZE3W7SAP69KNYR","Carlos Chaparro","01M7CK5MRFE26CDPEQDN5RSQPK",2,"MIT","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mui\ndescription: Material-UI v7 component library patterns including sx prop styling, theme integration, responsive design, and MUI-specific hooks. Use when working with MUI components, styling with sx prop, theme customization, or MUI utilities.\n---\n\n# MUI v7 Patterns\n\n## Purpose\n\nMaterial-UI v7 (released March 2025) patterns for component usage, styling with sx prop, theme integration, and responsive design.\n\n**Note**: MUI v7 breaking changes from v6:\n- Deep imports no longer work - use package exports field\n- `onBackdropClick` removed from Modal - use `onClose` instead\n- All components now use standardized `slots` and `slotProps` pattern\n- CSS layers support via `enableCssLayer` config (works with Tailwind v4)\n\n## When to Use This Skill\n\n- Styling components with MUI sx prop\n- Using MUI components (Box, Grid, Paper, Typography, etc.)\n- Theme customization and usage\n- Responsive design with MUI breakpoints\n- MUI-specific utilities and hooks\n\n---\n\n## Quick Start\n\n### Basic MUI Component\n\n```typescript\nimport { Box, Typography, Button, Paper } from '@mui\u002Fmaterial';\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\nconst styles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: {\n    p: 2,\n    display: 'flex',\n    flexDirection: 'column',\n    gap: 2,\n  },\n  header: {\n    mb: 3,\n    fontSize: '1.5rem',\n    fontWeight: 600,\n  },\n};\n\nfunction MyComponent() {\n  return (\n    \u003CPaper sx={styles.container}>\n      \u003CTypography sx={styles.header}>\n        Title\n      \u003C\u002FTypography>\n      \u003CButton variant=\"contained\">\n        Action\n      \u003C\u002FButton>\n    \u003C\u002FPaper>\n  );\n}\n```\n\n---\n\n## Styling Patterns\n\n### Inline Styles (\u003C 100 lines)\n\nFor components with simple styling, define styles at the top:\n\n```typescript\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\nconst componentStyles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: {\n    p: 2,\n    display: 'flex',\n    flexDirection: 'column',\n  },\n  header: {\n    mb: 2,\n    color: 'primary.main',\n  },\n  button: {\n    mt: 'auto',\n    alignSelf: 'flex-end',\n  },\n};\n\nfunction Component() {\n  return (\n    \u003CBox sx={componentStyles.container}>\n      \u003CTypography sx={componentStyles.header}>Header\u003C\u002FTypography>\n      \u003CButton sx={componentStyles.button}>Action\u003C\u002FButton>\n    \u003C\u002FBox>\n  );\n}\n```\n\n### Separate Styles File (>= 100 lines)\n\nFor complex components, create separate style file:\n\n```typescript\n\u002F\u002F UserProfile.styles.ts\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\nexport const userProfileStyles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: {\n    p: 3,\n    maxWidth: 800,\n    mx: 'auto',\n  },\n  header: {\n    display: 'flex',\n    justifyContent: 'space-between',\n    alignItems: 'center',\n    mb: 3,\n  },\n  \u002F\u002F ... many more styles\n};\n\n\u002F\u002F UserProfile.tsx\nimport { userProfileStyles as styles } from '.\u002FUserProfile.styles';\n\nfunction UserProfile() {\n  return \u003CBox sx={styles.container}>...\u003C\u002FBox>;\n}\n```\n\n---\n\n## Common Components\n\n### Layout Components\n\n```typescript\n\u002F\u002F Box - Generic container\n\u003CBox sx={{ p: 2, bgcolor: 'background.paper' }}>\n  Content\n\u003C\u002FBox>\n\n\u002F\u002F Paper - Elevated surface\n\u003CPaper elevation={2} sx={{ p: 3 }}>\n  Content\n\u003C\u002FPaper>\n\n\u002F\u002F Container - Centered content with max-width\n\u003CContainer maxWidth=\"lg\">\n  Content\n\u003C\u002FContainer>\n\n\u002F\u002F Stack - Flex container with spacing\n\u003CStack spacing={2} direction=\"row\">\n  \u003CItem \u002F>\n  \u003CItem \u002F>\n\u003C\u002FStack>\n```\n\n### Grid System\n\n```typescript\nimport { Grid } from '@mui\u002Fmaterial';\n\n\u002F\u002F 12-column grid\n\u003CGrid container spacing={2}>\n  \u003CGrid item xs={12} md={6}>\n    Left half\n  \u003C\u002FGrid>\n  \u003CGrid item xs={12} md={6}>\n    Right half\n  \u003C\u002FGrid>\n\u003C\u002FGrid>\n\n\u002F\u002F Responsive grid\n\u003CGrid container spacing={3}>\n  \u003CGrid item xs={12} sm={6} md={4} lg={3}>\n    Card\n  \u003C\u002FGrid>\n  {\u002F* Repeat for more cards *\u002F}\n\u003C\u002FGrid>\n```\n\n### Typography\n\n```typescript\n\u003CTypography variant=\"h1\">Heading 1\u003C\u002FTypography>\n\u003CTypography variant=\"h2\">Heading 2\u003C\u002FTypography>\n\u003CTypography variant=\"body1\">Body text\u003C\u002FTypography>\n\u003CTypography variant=\"caption\">Small text\u003C\u002FTypography>\n\n\u002F\u002F With custom styling\n\u003CTypography\n  variant=\"h4\"\n  sx={{\n    color: 'primary.main',\n    fontWeight: 600,\n    mb: 2,\n  }}\n>\n  Custom Heading\n\u003C\u002FTypography>\n```\n\n### Buttons\n\n```typescript\n\u002F\u002F Variants\n\u003CButton variant=\"contained\">Contained\u003C\u002FButton>\n\u003CButton variant=\"outlined\">Outlined\u003C\u002FButton>\n\u003CButton variant=\"text\">Text\u003C\u002FButton>\n\n\u002F\u002F Colors\n\u003CButton variant=\"contained\" color=\"primary\">Primary\u003C\u002FButton>\n\u003CButton variant=\"contained\" color=\"secondary\">Secondary\u003C\u002FButton>\n\u003CButton variant=\"contained\" color=\"error\">Error\u003C\u002FButton>\n\n\u002F\u002F With icons\nimport { Add as AddIcon } from '@mui\u002Ficons-material';\n\n\u003CButton startIcon={\u003CAddIcon \u002F>}>Add Item\u003C\u002FButton>\n```\n\n---\n\n## Theme Integration\n\n### Using Theme Values\n\n```typescript\nimport { useTheme } from '@mui\u002Fmaterial';\n\nfunction Component() {\n  const theme = useTheme();\n\n  return (\n    \u003CBox\n      sx={{\n        p: 2,\n        bgcolor: theme.palette.primary.main,\n        color: theme.palette.primary.contrastText,\n        borderRadius: theme.shape.borderRadius,\n      }}\n    >\n      Themed box\n    \u003C\u002FBox>\n  );\n}\n```\n\n### Theme in sx Prop\n\n```typescript\n\u003CBox\n  sx={{\n    \u002F\u002F Access theme in sx\n    color: 'primary.main',          \u002F\u002F theme.palette.primary.main\n    bgcolor: 'background.paper',     \u002F\u002F theme.palette.background.paper\n    p: 2,                            \u002F\u002F theme.spacing(2)\n    borderRadius: 1,                 \u002F\u002F theme.shape.borderRadius\n  }}\n>\n  Content\n\u003C\u002FBox>\n\n\u002F\u002F Callback for advanced usage\n\u003CBox\n  sx={(theme) => ({\n    color: theme.palette.primary.main,\n    '&:hover': {\n      color: theme.palette.primary.dark,\n    },\n  })}\n>\n  Hover me\n\u003C\u002FBox>\n```\n\n---\n\n## Responsive Design\n\n### Breakpoints\n\n```typescript\n\u002F\u002F Mobile-first responsive values\n\u003CBox\n  sx={{\n    width: {\n      xs: '100%',    \u002F\u002F 0-600px\n      sm: '80%',     \u002F\u002F 600-900px\n      md: '60%',     \u002F\u002F 900-1200px\n      lg: '40%',     \u002F\u002F 1200-1536px\n      xl: '30%',     \u002F\u002F 1536px+\n    },\n  }}\n>\n  Responsive width\n\u003C\u002FBox>\n\n\u002F\u002F Responsive display\n\u003CBox\n  sx={{\n    display: {\n      xs: 'none',    \u002F\u002F Hidden on mobile\n      md: 'block',   \u002F\u002F Visible on desktop\n    },\n  }}\n>\n  Desktop only\n\u003C\u002FBox>\n```\n\n### Responsive Typography\n\n```typescript\n\u003CTypography\n  sx={{\n    fontSize: {\n      xs: '1rem',\n      md: '1.5rem',\n      lg: '2rem',\n    },\n    lineHeight: {\n      xs: 1.5,\n      md: 1.75,\n    },\n  }}\n>\n  Responsive text\n\u003C\u002FTypography>\n```\n\n---\n\n## Forms\n\n```typescript\nimport { TextField, Stack, Button } from '@mui\u002Fmaterial';\n\n\u003CBox component=\"form\" onSubmit={handleSubmit}>\n  \u003CStack spacing={2}>\n    \u003CTextField\n      label=\"Email\"\n      type=\"email\"\n      value={email}\n      onChange={(e) => setEmail(e.target.value)}\n      fullWidth\n      required\n      error={!!errors.email}\n      helperText={errors.email}\n    \u002F>\n    \u003CButton type=\"submit\" variant=\"contained\">Submit\u003C\u002FButton>\n  \u003C\u002FStack>\n\u003C\u002FBox>\n```\n\n---\n\n## Common Patterns\n\n### Card Component\n\n```typescript\nimport { Card, CardContent, CardActions, Typography, Button } from '@mui\u002Fmaterial';\n\n\u003CCard>\n  \u003CCardContent>\n    \u003CTypography variant=\"h5\" component=\"div\">\n      Title\n    \u003C\u002FTypography>\n    \u003CTypography variant=\"body2\" color=\"text.secondary\">\n      Description\n    \u003C\u002FTypography>\n  \u003C\u002FCardContent>\n  \u003CCardActions>\n    \u003CButton size=\"small\">Learn More\u003C\u002FButton>\n  \u003C\u002FCardActions>\n\u003C\u002FCard>\n```\n\n### Dialog\u002FModal\n\n```typescript\nimport { Dialog, DialogTitle, DialogContent, DialogActions, Button } from '@mui\u002Fmaterial';\n\n\u003CDialog open={open} onClose={handleClose}>\n  \u003CDialogTitle>Confirm Action\u003C\u002FDialogTitle>\n  \u003CDialogContent>\n    Are you sure you want to proceed?\n  \u003C\u002FDialogContent>\n  \u003CDialogActions>\n    \u003CButton onClick={handleClose}>Cancel\u003C\u002FButton>\n    \u003CButton onClick={handleConfirm} variant=\"contained\">\n      Confirm\n    \u003C\u002FButton>\n  \u003C\u002FDialogActions>\n\u003C\u002FDialog>\n```\n\n### Loading States\n\n```typescript\nimport { CircularProgress, Skeleton } from '@mui\u002Fmaterial';\n\n\u002F\u002F Spinner\n\u003CBox sx={{ display: 'flex', justifyContent: 'center', p: 3 }}>\n  \u003CCircularProgress \u002F>\n\u003C\u002FBox>\n\n\u002F\u002F Skeleton\n\u003CStack spacing={1}>\n  \u003CSkeleton variant=\"text\" width=\"60%\" \u002F>\n  \u003CSkeleton variant=\"rectangular\" height={200} \u002F>\n  \u003CSkeleton variant=\"text\" width=\"40%\" \u002F>\n\u003C\u002FStack>\n```\n\n---\n\n## MUI-Specific Hooks\n\n### useMuiSnackbar\n\n```typescript\nimport { useMuiSnackbar } from '@\u002Fhooks\u002FuseMuiSnackbar';\n\nfunction Component() {\n  const { showSuccess, showError, showInfo } = useMuiSnackbar();\n\n  const handleSave = async () => {\n    try {\n      await saveData();\n      showSuccess('Saved successfully');\n    } catch (error) {\n      showError('Failed to save');\n    }\n  };\n\n  return \u003CButton onClick={handleSave}>Save\u003C\u002FButton>;\n}\n```\n\n---\n\n## Icons\n\n```typescript\nimport { Add as AddIcon, Delete as DeleteIcon } from '@mui\u002Ficons-material';\nimport { Button, IconButton } from '@mui\u002Fmaterial';\n\n\u003CButton startIcon={\u003CAddIcon \u002F>}>Add\u003C\u002FButton>\n\u003CIconButton onClick={handleDelete}>\u003CDeleteIcon \u002F>\u003C\u002FIconButton>\n```\n\n---\n\n## Best Practices\n\n### 1. Type Your sx Props\n\n```typescript\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\n\u002F\u002F ✅ Good\nconst styles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: { p: 2 },\n};\n\n\u002F\u002F ❌ Avoid\nconst styles = {\n  container: { p: 2 }, \u002F\u002F No type safety\n};\n```\n\n### 2. Use Theme Tokens\n\n```typescript\n\u002F\u002F ✅ Good: Use theme tokens\n\u003CBox sx={{ color: 'primary.main', p: 2 }} \u002F>\n\n\u002F\u002F ❌ Avoid: Hardcoded values\n\u003CBox sx={{ color: '#1976d2', padding: '16px' }} \u002F>\n```\n\n### 3. Consistent Spacing\n\n```typescript\n\u002F\u002F ✅ Good: Use spacing scale\n\u003CBox sx={{ p: 2, mb: 3, mt: 1 }} \u002F>\n\n\u002F\u002F ❌ Avoid: Random pixel values\n\u003CBox sx={{ padding: '17px', marginBottom: '25px' }} \u002F>\n```\n\n---\n\n## Additional Resources\n\nFor more detailed patterns, see:\n- [styling-guide.md](resources\u002Fstyling-guide.md) - Advanced styling patterns\n- [component-library.md](resources\u002Fcomponent-library.md) - Component examples\n- [theme-customization.md](resources\u002Ftheme-customization.md) - Theme setup\n","# MUI v7 Patterns\n\n## Purpose\n\nMaterial-UI v7 (released March 2025) patterns for component usage, styling with sx prop, theme integration, and responsive design.\n\n**Note**: MUI v7 breaking changes from v6:\n- Deep imports no longer work - use package exports field\n- `onBackdropClick` removed from Modal - use `onClose` instead\n- All components now use standardized `slots` and `slotProps` pattern\n- CSS layers support via `enableCssLayer` config (works with Tailwind v4)\n\n## When to Use This Skill\n\n- Styling components with MUI sx prop\n- Using MUI components (Box, Grid, Paper, Typography, etc.)\n- Theme customization and usage\n- Responsive design with MUI breakpoints\n- MUI-specific utilities and hooks\n\n---\n\n## Quick Start\n\n### Basic MUI Component\n\n```typescript\nimport { Box, Typography, Button, Paper } from '@mui\u002Fmaterial';\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\nconst styles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: {\n    p: 2,\n    display: 'flex',\n    flexDirection: 'column',\n    gap: 2,\n  },\n  header: {\n    mb: 3,\n    fontSize: '1.5rem',\n    fontWeight: 600,\n  },\n};\n\nfunction MyComponent() {\n  return (\n    \u003CPaper sx={styles.container}>\n      \u003CTypography sx={styles.header}>\n        Title\n      \u003C\u002FTypography>\n      \u003CButton variant=\"contained\">\n        Action\n      \u003C\u002FButton>\n    \u003C\u002FPaper>\n  );\n}\n```\n\n---\n\n## Styling Patterns\n\n### Inline Styles (\u003C 100 lines)\n\nFor components with simple styling, define styles at the top:\n\n```typescript\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\nconst componentStyles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: {\n    p: 2,\n    display: 'flex',\n    flexDirection: 'column',\n  },\n  header: {\n    mb: 2,\n    color: 'primary.main',\n  },\n  button: {\n    mt: 'auto',\n    alignSelf: 'flex-end',\n  },\n};\n\nfunction Component() {\n  return (\n    \u003CBox sx={componentStyles.container}>\n      \u003CTypography sx={componentStyles.header}>Header\u003C\u002FTypography>\n      \u003CButton sx={componentStyles.button}>Action\u003C\u002FButton>\n    \u003C\u002FBox>\n  );\n}\n```\n\n### Separate Styles File (>= 100 lines)\n\nFor complex components, create separate style file:\n\n```typescript\n\u002F\u002F UserProfile.styles.ts\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\nexport const userProfileStyles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: {\n    p: 3,\n    maxWidth: 800,\n    mx: 'auto',\n  },\n  header: {\n    display: 'flex',\n    justifyContent: 'space-between',\n    alignItems: 'center',\n    mb: 3,\n  },\n  \u002F\u002F ... many more styles\n};\n\n\u002F\u002F UserProfile.tsx\nimport { userProfileStyles as styles } from '.\u002FUserProfile.styles';\n\nfunction UserProfile() {\n  return \u003CBox sx={styles.container}>...\u003C\u002FBox>;\n}\n```\n\n---\n\n## Common Components\n\n### Layout Components\n\n```typescript\n\u002F\u002F Box - Generic container\n\u003CBox sx={{ p: 2, bgcolor: 'background.paper' }}>\n  Content\n\u003C\u002FBox>\n\n\u002F\u002F Paper - Elevated surface\n\u003CPaper elevation={2} sx={{ p: 3 }}>\n  Content\n\u003C\u002FPaper>\n\n\u002F\u002F Container - Centered content with max-width\n\u003CContainer maxWidth=\"lg\">\n  Content\n\u003C\u002FContainer>\n\n\u002F\u002F Stack - Flex container with spacing\n\u003CStack spacing={2} direction=\"row\">\n  \u003CItem \u002F>\n  \u003CItem \u002F>\n\u003C\u002FStack>\n```\n\n### Grid System\n\n```typescript\nimport { Grid } from '@mui\u002Fmaterial';\n\n\u002F\u002F 12-column grid\n\u003CGrid container spacing={2}>\n  \u003CGrid item xs={12} md={6}>\n    Left half\n  \u003C\u002FGrid>\n  \u003CGrid item xs={12} md={6}>\n    Right half\n  \u003C\u002FGrid>\n\u003C\u002FGrid>\n\n\u002F\u002F Responsive grid\n\u003CGrid container spacing={3}>\n  \u003CGrid item xs={12} sm={6} md={4} lg={3}>\n    Card\n  \u003C\u002FGrid>\n  {\u002F* Repeat for more cards *\u002F}\n\u003C\u002FGrid>\n```\n\n### Typography\n\n```typescript\n\u003CTypography variant=\"h1\">Heading 1\u003C\u002FTypography>\n\u003CTypography variant=\"h2\">Heading 2\u003C\u002FTypography>\n\u003CTypography variant=\"body1\">Body text\u003C\u002FTypography>\n\u003CTypography variant=\"caption\">Small text\u003C\u002FTypography>\n\n\u002F\u002F With custom styling\n\u003CTypography\n  variant=\"h4\"\n  sx={{\n    color: 'primary.main',\n    fontWeight: 600,\n    mb: 2,\n  }}\n>\n  Custom Heading\n\u003C\u002FTypography>\n```\n\n### Buttons\n\n```typescript\n\u002F\u002F Variants\n\u003CButton variant=\"contained\">Contained\u003C\u002FButton>\n\u003CButton variant=\"outlined\">Outlined\u003C\u002FButton>\n\u003CButton variant=\"text\">Text\u003C\u002FButton>\n\n\u002F\u002F Colors\n\u003CButton variant=\"contained\" color=\"primary\">Primary\u003C\u002FButton>\n\u003CButton variant=\"contained\" color=\"secondary\">Secondary\u003C\u002FButton>\n\u003CButton variant=\"contained\" color=\"error\">Error\u003C\u002FButton>\n\n\u002F\u002F With icons\nimport { Add as AddIcon } from '@mui\u002Ficons-material';\n\n\u003CButton startIcon={\u003CAddIcon \u002F>}>Add Item\u003C\u002FButton>\n```\n\n---\n\n## Theme Integration\n\n### Using Theme Values\n\n```typescript\nimport { useTheme } from '@mui\u002Fmaterial';\n\nfunction Component() {\n  const theme = useTheme();\n\n  return (\n    \u003CBox\n      sx={{\n        p: 2,\n        bgcolor: theme.palette.primary.main,\n        color: theme.palette.primary.contrastText,\n        borderRadius: theme.shape.borderRadius,\n      }}\n    >\n      Themed box\n    \u003C\u002FBox>\n  );\n}\n```\n\n### Theme in sx Prop\n\n```typescript\n\u003CBox\n  sx={{\n    \u002F\u002F Access theme in sx\n    color: 'primary.main',          \u002F\u002F theme.palette.primary.main\n    bgcolor: 'background.paper',     \u002F\u002F theme.palette.background.paper\n    p: 2,                            \u002F\u002F theme.spacing(2)\n    borderRadius: 1,                 \u002F\u002F theme.shape.borderRadius\n  }}\n>\n  Content\n\u003C\u002FBox>\n\n\u002F\u002F Callback for advanced usage\n\u003CBox\n  sx={(theme) => ({\n    color: theme.palette.primary.main,\n    '&:hover': {\n      color: theme.palette.primary.dark,\n    },\n  })}\n>\n  Hover me\n\u003C\u002FBox>\n```\n\n---\n\n## Responsive Design\n\n### Breakpoints\n\n```typescript\n\u002F\u002F Mobile-first responsive values\n\u003CBox\n  sx={{\n    width: {\n      xs: '100%',    \u002F\u002F 0-600px\n      sm: '80%',     \u002F\u002F 600-900px\n      md: '60%',     \u002F\u002F 900-1200px\n      lg: '40%',     \u002F\u002F 1200-1536px\n      xl: '30%',     \u002F\u002F 1536px+\n    },\n  }}\n>\n  Responsive width\n\u003C\u002FBox>\n\n\u002F\u002F Responsive display\n\u003CBox\n  sx={{\n    display: {\n      xs: 'none',    \u002F\u002F Hidden on mobile\n      md: 'block',   \u002F\u002F Visible on desktop\n    },\n  }}\n>\n  Desktop only\n\u003C\u002FBox>\n```\n\n### Responsive Typography\n\n```typescript\n\u003CTypography\n  sx={{\n    fontSize: {\n      xs: '1rem',\n      md: '1.5rem',\n      lg: '2rem',\n    },\n    lineHeight: {\n      xs: 1.5,\n      md: 1.75,\n    },\n  }}\n>\n  Responsive text\n\u003C\u002FTypography>\n```\n\n---\n\n## Forms\n\n```typescript\nimport { TextField, Stack, Button } from '@mui\u002Fmaterial';\n\n\u003CBox component=\"form\" onSubmit={handleSubmit}>\n  \u003CStack spacing={2}>\n    \u003CTextField\n      label=\"Email\"\n      type=\"email\"\n      value={email}\n      onChange={(e) => setEmail(e.target.value)}\n      fullWidth\n      required\n      error={!!errors.email}\n      helperText={errors.email}\n    \u002F>\n    \u003CButton type=\"submit\" variant=\"contained\">Submit\u003C\u002FButton>\n  \u003C\u002FStack>\n\u003C\u002FBox>\n```\n\n---\n\n## Common Patterns\n\n### Card Component\n\n```typescript\nimport { Card, CardContent, CardActions, Typography, Button } from '@mui\u002Fmaterial';\n\n\u003CCard>\n  \u003CCardContent>\n    \u003CTypography variant=\"h5\" component=\"div\">\n      Title\n    \u003C\u002FTypography>\n    \u003CTypography variant=\"body2\" color=\"text.secondary\">\n      Description\n    \u003C\u002FTypography>\n  \u003C\u002FCardContent>\n  \u003CCardActions>\n    \u003CButton size=\"small\">Learn More\u003C\u002FButton>\n  \u003C\u002FCardActions>\n\u003C\u002FCard>\n```\n\n### Dialog\u002FModal\n\n```typescript\nimport { Dialog, DialogTitle, DialogContent, DialogActions, Button } from '@mui\u002Fmaterial';\n\n\u003CDialog open={open} onClose={handleClose}>\n  \u003CDialogTitle>Confirm Action\u003C\u002FDialogTitle>\n  \u003CDialogContent>\n    Are you sure you want to proceed?\n  \u003C\u002FDialogContent>\n  \u003CDialogActions>\n    \u003CButton onClick={handleClose}>Cancel\u003C\u002FButton>\n    \u003CButton onClick={handleConfirm} variant=\"contained\">\n      Confirm\n    \u003C\u002FButton>\n  \u003C\u002FDialogActions>\n\u003C\u002FDialog>\n```\n\n### Loading States\n\n```typescript\nimport { CircularProgress, Skeleton } from '@mui\u002Fmaterial';\n\n\u002F\u002F Spinner\n\u003CBox sx={{ display: 'flex', justifyContent: 'center', p: 3 }}>\n  \u003CCircularProgress \u002F>\n\u003C\u002FBox>\n\n\u002F\u002F Skeleton\n\u003CStack spacing={1}>\n  \u003CSkeleton variant=\"text\" width=\"60%\" \u002F>\n  \u003CSkeleton variant=\"rectangular\" height={200} \u002F>\n  \u003CSkeleton variant=\"text\" width=\"40%\" \u002F>\n\u003C\u002FStack>\n```\n\n---\n\n## MUI-Specific Hooks\n\n### useMuiSnackbar\n\n```typescript\nimport { useMuiSnackbar } from '@\u002Fhooks\u002FuseMuiSnackbar';\n\nfunction Component() {\n  const { showSuccess, showError, showInfo } = useMuiSnackbar();\n\n  const handleSave = async () => {\n    try {\n      await saveData();\n      showSuccess('Saved successfully');\n    } catch (error) {\n      showError('Failed to save');\n    }\n  };\n\n  return \u003CButton onClick={handleSave}>Save\u003C\u002FButton>;\n}\n```\n\n---\n\n## Icons\n\n```typescript\nimport { Add as AddIcon, Delete as DeleteIcon } from '@mui\u002Ficons-material';\nimport { Button, IconButton } from '@mui\u002Fmaterial';\n\n\u003CButton startIcon={\u003CAddIcon \u002F>}>Add\u003C\u002FButton>\n\u003CIconButton onClick={handleDelete}>\u003CDeleteIcon \u002F>\u003C\u002FIconButton>\n```\n\n---\n\n## Best Practices\n\n### 1. Type Your sx Props\n\n```typescript\nimport type { SxProps, Theme } from '@mui\u002Fmaterial';\n\n\u002F\u002F ✅ Good\nconst styles: Record\u003Cstring, SxProps\u003CTheme>> = {\n  container: { p: 2 },\n};\n\n\u002F\u002F ❌ Avoid\nconst styles = {\n  container: { p: 2 }, \u002F\u002F No type safety\n};\n```\n\n### 2. Use Theme Tokens\n\n```typescript\n\u002F\u002F ✅ Good: Use theme tokens\n\u003CBox sx={{ color: 'primary.main', p: 2 }} \u002F>\n\n\u002F\u002F ❌ Avoid: Hardcoded values\n\u003CBox sx={{ color: '#1976d2', padding: '16px' }} \u002F>\n```\n\n### 3. Consistent Spacing\n\n```typescript\n\u002F\u002F ✅ Good: Use spacing scale\n\u003CBox sx={{ p: 2, mb: 3, mt: 1 }} \u002F>\n\n\u002F\u002F ❌ Avoid: Random pixel values\n\u003CBox sx={{ padding: '17px', marginBottom: '25px' }} \u002F>\n```\n\n---\n\n## Additional Resources\n\nFor more detailed patterns, see:\n- [styling-guide.md](resources\u002Fstyling-guide.md) - Advanced styling patterns\n- [component-library.md](resources\u002Fcomponent-library.md) - Component examples\n- [theme-customization.md](resources\u002Ftheme-customization.md) - Theme setup\n",{"name":5,"description":7},"add-x-twitter-scraper-skill","7bc347b2f7dc2dde2761a965585925e0d0171748","cli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui",0,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template","https:\u002F\u002Fgithub.com\u002FCarchaloneo22","Ingeniero Informático | Ingeniero en Desarrollo de Software | Consultor TIC en Gestión Publica | Docente Análisis y Desarrollo de Software. ","2026-09-12 11:10:56",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Carchaloneo22\u002FClaude-Code-template --skill mui",{"tool":38,"command":39},"bunx","bunx skills add Carchaloneo22\u002FClaude-Code-template --skill mui",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Carchaloneo22\u002FClaude-Code-template --skill mui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui\u002FSKILL.md",true,[46,52,56,60,64],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"README.md","REFERENCE","参考文档",6306,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui\u002FREADME.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"resources\u002Fcomponent-library.md",11484,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui\u002Fresources\u002Fcomponent-library.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"resources\u002Fstyling-guide.md",5441,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui\u002Fresources\u002Fstyling-guide.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"resources\u002Ftheme-customization.md",10358,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui\u002Fresources\u002Ftheme-customization.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"skill-rules-fragment.json",1816,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fmui\u002Fskill-rules-fragment.json",[69,76,85,92,99,106],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CPQFVGKX7H3Q5Y9CN0XAZN","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fzapier-make-patterns\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7CPQDR2HMKAYHAAY99EA4B2","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7CPQ7K5MAQSXEB027HZFM2G","workflow-automation","Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off.  This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation.  Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fworkflow-automation\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7CPQ34F18JHMEM8NHQS1N7K","trigger-dev","Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Ftrigger-dev\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7CPPZSXXDB1SAWT5N63ACZT","planning-with-files","Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fplanning-with-files\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7CPPTQSBVWSK0R10FJNMP0F","n8n-workflow-patterns","Proven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, or scheduled tasks.","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fn8n\u002Fn8n-workflow-patterns\u002FSKILL.md",[],[]]