[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C4451T28X3M87G5Q2TRTEE":3,"skill-same:01M7C4451T28X3M87G5Q2TRTEE":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7C4451T28X3M87G5Q2TRTEE","material-design-3-layout",null,"Applies Material Design 3 Expressive layout, spacing, and size hierarchy principles including grid systems, responsive design, and elevation. Use this when working on page layouts, spacing, grids, responsive design, or when the user asks to apply Material Design 3 layout guidelines.","pohlai88\u002Fafenda-xforge-v5","pohlai88","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216658843?v=4","01M7C3ZWD8Y9WVZSNWJ6200V3P","01M7C3ZWDW077V142FSQEFJJ0B",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fmaterial-design-3-layout\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: material-design-3-layout\ndescription: Applies Material Design 3 Expressive layout, spacing, and size hierarchy principles including grid systems, responsive design, and elevation. Use this when working on page layouts, spacing, grids, responsive design, or when the user asks to apply Material Design 3 layout guidelines.\nlicense: Apache-2.0\n---\n\n# Material Design 3 Layout and Size Hierarchy\n\n## Overview\n\nThis skill guides the implementation of Material Design 3 (M3) Expressive layout and spacing principles to create clear, organized, and responsive interfaces.\n\n**Keywords**: Material Design 3, M3, layout, spacing, grid, responsive design, breakpoints, size hierarchy, elevation, padding, margin\n\n## Core Principles\n\n### Layout Philosophy\n\nM3 layout — from Material You foundations to M3 Expressive — focuses on:\n\n1. **Clear Hierarchy**: Size and spacing create visual importance\n2. **Responsive Adaptability**: Layouts work across all screen sizes\n3. **Strategic Spacing**: Consistent spacing creates rhythm and flow\n4. **Size-Based Emphasis**: Larger elements naturally draw attention\n5. **Elevation Depth**: Layered surfaces show relationships\n6. **Explicit and Implicit Containment**: Visual grouping through both borders and proximity\n7. **Background Blur and Layering**: Depth effects that guide focus (M3 Expressive)\n\n## Spacing Scale System\n\nM3 uses a consistent 4dp spacing scale for all layout spacing:\n\n### Base Scale (Increments of 4dp)\n\n```css\n:root {\n  \u002F* Spacing scale *\u002F\n  --md-sys-spacing-0: 0px;\n  --md-sys-spacing-1: 4px;\n  --md-sys-spacing-2: 8px;\n  --md-sys-spacing-3: 12px;\n  --md-sys-spacing-4: 16px;\n  --md-sys-spacing-5: 20px;\n  --md-sys-spacing-6: 24px;\n  --md-sys-spacing-7: 28px;\n  --md-sys-spacing-8: 32px;\n  --md-sys-spacing-9: 36px;\n  --md-sys-spacing-10: 40px;\n  --md-sys-spacing-12: 48px;\n  --md-sys-spacing-14: 56px;\n  --md-sys-spacing-16: 64px;\n  --md-sys-spacing-20: 80px;\n  --md-sys-spacing-24: 96px;\n}\n```\n\n### Semantic Spacing\n\nDefine semantic spacing for common patterns:\n\n```css\n:root {\n  \u002F* Component spacing *\u002F\n  --md-sys-spacing-component-gap: var(--md-sys-spacing-2); \u002F* 8px *\u002F\n  --md-sys-spacing-component-padding: var(--md-sys-spacing-4); \u002F* 16px *\u002F\n  \n  \u002F* Layout spacing *\u002F\n  --md-sys-spacing-section-gap: var(--md-sys-spacing-6); \u002F* 24px *\u002F\n  --md-sys-spacing-page-margin: var(--md-sys-spacing-4); \u002F* 16px *\u002F\n  \n  \u002F* List spacing *\u002F\n  --md-sys-spacing-list-item-gap: var(--md-sys-spacing-2); \u002F* 8px *\u002F\n  --md-sys-spacing-list-padding: var(--md-sys-spacing-4); \u002F* 16px *\u002F\n}\n```\n\n## Responsive Grid System\n\n### Breakpoints\n\nM3 defines standard breakpoints for responsive design:\n\n```css\n:root {\n  \u002F* Breakpoints *\u002F\n  --md-sys-breakpoint-xs: 0px;      \u002F* Extra small (phones) *\u002F\n  --md-sys-breakpoint-sm: 600px;    \u002F* Small (tablets portrait) *\u002F\n  --md-sys-breakpoint-md: 905px;    \u002F* Medium (tablets landscape) *\u002F\n  --md-sys-breakpoint-lg: 1240px;   \u002F* Large (laptops) *\u002F\n  --md-sys-breakpoint-xl: 1440px;   \u002F* Extra large (desktops) *\u002F\n}\n```\n\n### Grid Columns\n\n**Mobile (0-599px)**:\n- Columns: 4\n- Margin: 16px\n- Gutter: 16px\n\n**Tablet (600-904px)**:\n- Columns: 8\n- Margin: 24px\n- Gutter: 24px\n\n**Desktop (905px+)**:\n- Columns: 12\n- Margin: 24px\n- Gutter: 24px\n\n### CSS Grid Implementation\n\n```css\n.layout-grid {\n  display: grid;\n  gap: var(--md-sys-spacing-4);\n  padding: var(--md-sys-spacing-4);\n  \n  \u002F* Mobile: 4 columns *\u002F\n  grid-template-columns: repeat(4, 1fr);\n}\n\n@media (min-width: 600px) {\n  .layout-grid {\n    gap: var(--md-sys-spacing-6);\n    padding: var(--md-sys-spacing-6);\n    \u002F* Tablet: 8 columns *\u002F\n    grid-template-columns: repeat(8, 1fr);\n  }\n}\n\n@media (min-width: 905px) {\n  .layout-grid {\n    \u002F* Desktop: 12 columns *\u002F\n    grid-template-columns: repeat(12, 1fr);\n  }\n}\n```\n\n## Component Spacing\n\n### Buttons\n\n**Padding**:\n- Horizontal: 24px\n- Vertical: 10px\n- Minimum height: 40px\n- Gap between icon and text: 8px\n\n```css\n.button {\n  padding: var(--md-sys-spacing-2) var(--md-sys-spacing-6);\n  min-height: 40px;\n  gap: var(--md-sys-spacing-2);\n}\n```\n\n### Cards\n\n**Padding**:\n- Standard: 16px all sides\n- Large cards: 24px all sides\n- Compact: 12px all sides\n\n**Spacing between elements**:\n- Header to content: 8px\n- Content to actions: 16px\n- Between actions: 8px\n\n```css\n.card {\n  padding: var(--md-sys-spacing-4);\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-2);\n}\n\n.card-actions {\n  margin-top: var(--md-sys-spacing-4);\n  display: flex;\n  gap: var(--md-sys-spacing-2);\n}\n```\n\n### Dialogs\n\n**Padding**:\n- All sides: 24px\n- Content padding: 16px\n- Title to content: 16px\n- Content to actions: 24px\n\n**Sizing**:\n- Min width: 280px\n- Max width: 560px\n- Mobile: Full width with margin\n\n```css\n.dialog {\n  padding: var(--md-sys-spacing-6);\n  min-width: 280px;\n  max-width: 560px;\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-4);\n}\n\n@media (max-width: 599px) {\n  .dialog {\n    width: calc(100% - 32px);\n    margin: var(--md-sys-spacing-4);\n  }\n}\n```\n\n### Lists\n\n**Spacing**:\n- Between list items: 0px (items touch)\n- Item padding: 16px horizontal, 8px vertical\n- Icon to text: 16px\n- Text to secondary action: 16px\n\n```css\n.list-item {\n  padding: var(--md-sys-spacing-2) var(--md-sys-spacing-4);\n  display: flex;\n  align-items: center;\n  gap: var(--md-sys-spacing-4);\n  min-height: 56px;\n}\n```\n\n### Navigation\n\n**App Bar**:\n- Height: 64px (desktop), 56px (mobile)\n- Padding: 16px horizontal\n- Gap between items: 24px\n\n**Navigation Rail**:\n- Width: 80px\n- Item height: 56px\n- Item spacing: 4px\n\n**Bottom Navigation**:\n- Height: 80px\n- Item width: Equal distribution\n- Icon to label: 4px\n\n```css\n.app-bar {\n  height: 56px;\n  padding: 0 var(--md-sys-spacing-4);\n  display: flex;\n  align-items: center;\n  gap: var(--md-sys-spacing-6);\n}\n\n@media (min-width: 600px) {\n  .app-bar {\n    height: 64px;\n  }\n}\n```\n\n## Size Hierarchy\n\n### Use Size for Emphasis\n\nM3 Expressive uses size strategically to create visual hierarchy:\n\n**Hero Elements** (Largest):\n- 2-3x larger than standard\n- Use for main call-to-action or featured content\n- Limited to 1-2 per view\n\n**Primary Elements** (Large):\n- 1.5x larger than standard\n- Main content, featured items\n- 3-5 per view\n\n**Standard Elements** (Base):\n- Default size for most content\n- Maintains readability and usability\n\n**Secondary Elements** (Small):\n- 0.75x of standard\n- Supporting information, metadata\n- Can be numerous\n\n**Tertiary Elements** (Smallest):\n- 0.5x of standard\n- Timestamps, captions, fine print\n- Use sparingly\n\n### Size Examples\n\n```css\n\u002F* Hero button *\u002F\n.button-hero {\n  padding: var(--md-sys-spacing-4) var(--md-sys-spacing-10);\n  min-height: 56px;\n  font-size: 18px;\n}\n\n\u002F* Standard button *\u002F\n.button-standard {\n  padding: var(--md-sys-spacing-2) var(--md-sys-spacing-6);\n  min-height: 40px;\n  font-size: 14px;\n}\n\n\u002F* Small button *\u002F\n.button-small {\n  padding: var(--md-sys-spacing-1) var(--md-sys-spacing-4);\n  min-height: 32px;\n  font-size: 12px;\n}\n```\n\n## Elevation System\n\nM3 uses elevation to show depth and hierarchy:\n\n### Elevation Levels\n\n**Level 0** (On surface):\n- No shadow\n- Background elements\n\n**Level 1** (Slight elevation):\n- Shadow: `0 1px 2px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.15)`\n- Cards, list items\n- Use: 1dp\n\n**Level 2** (Elevated):\n- Shadow: `0 2px 4px rgba(0,0,0,0.3), 0 3px 4px rgba(0,0,0,0.15)`\n- Raised buttons, FABs at rest\n- Use: 3dp\n\n**Level 3** (Floating):\n- Shadow: `0 4px 8px rgba(0,0,0,0.3), 0 6px 8px rgba(0,0,0,0.15)`\n- FABs on hover, app bars\n- Use: 6dp\n\n**Level 4** (Modal):\n- Shadow: `0 8px 12px rgba(0,0,0,0.3), 0 12px 16px rgba(0,0,0,0.15)`\n- Dialogs, navigation drawer\n- Use: 8dp\n\n**Level 5** (High modal):\n- Shadow: `0 12px 16px rgba(0,0,0,0.3), 0 16px 24px rgba(0,0,0,0.15)`\n- Modal bottom sheets\n- Use: 12dp\n\n### Elevation Tokens\n\n```css\n:root {\n  --md-sys-elevation-0: none;\n  --md-sys-elevation-1: 0 1px 2px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.15);\n  --md-sys-elevation-2: 0 2px 4px rgba(0,0,0,0.3), 0 3px 4px rgba(0,0,0,0.15);\n  --md-sys-elevation-3: 0 4px 8px rgba(0,0,0,0.3), 0 6px 8px rgba(0,0,0,0.15);\n  --md-sys-elevation-4: 0 8px 12px rgba(0,0,0,0.3), 0 12px 16px rgba(0,0,0,0.15);\n  --md-sys-elevation-5: 0 12px 16px rgba(0,0,0,0.3), 0 16px 24px rgba(0,0,0,0.15);\n}\n```\n\n### Elevation with Tinting\n\nM3 adds a subtle color tint to elevated surfaces:\n\n```css\n.elevated-surface {\n  background-color: var(--md-sys-color-surface);\n  box-shadow: var(--md-sys-elevation-1);\n  \u002F* Add subtle tint using primary color *\u002F\n  background-image: linear-gradient(\n    rgba(var(--md-sys-color-primary-rgb), 0.05),\n    rgba(var(--md-sys-color-primary-rgb), 0.05)\n  );\n}\n```\n\n## Responsive Layout Patterns\n\n### Mobile-First Approach\n\nStart with mobile layout, then enhance for larger screens:\n\n```css\n\u002F* Mobile: Stack vertically *\u002F\n.content-layout {\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-4);\n  padding: var(--md-sys-spacing-4);\n}\n\n\u002F* Tablet: Two columns *\u002F\n@media (min-width: 600px) {\n  .content-layout {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: var(--md-sys-spacing-6);\n    padding: var(--md-sys-spacing-6);\n  }\n}\n\n\u002F* Desktop: Three columns with sidebar *\u002F\n@media (min-width: 905px) {\n  .content-layout {\n    grid-template-columns: 250px 1fr 1fr;\n  }\n}\n```\n\n### Container Queries\n\nUse for component-level responsiveness:\n\n```css\n.card-container {\n  container-type: inline-size;\n}\n\n.card {\n  display: flex;\n  flex-direction: column;\n}\n\n@container (min-width: 400px) {\n  .card {\n    flex-direction: row;\n    gap: var(--md-sys-spacing-4);\n  }\n}\n```\n\n### Common Layout Patterns\n\n**Centered Content**:\n```css\n.centered-layout {\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: var(--md-sys-spacing-6);\n}\n```\n\n**Sidebar Layout**:\n```css\n.sidebar-layout {\n  display: grid;\n  grid-template-columns: 250px 1fr;\n  gap: var(--md-sys-spacing-6);\n}\n\n@media (max-width: 904px) {\n  .sidebar-layout {\n    grid-template-columns: 1fr;\n  }\n}\n```\n\n**Dashboard Grid**:\n```css\n.dashboard-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n  gap: var(--md-sys-spacing-4);\n}\n```\n\n## Containment Principles\n\n### Explicit Containment\n\nUse visible boundaries to group related content:\n\n```css\n\u002F* Card containment with outline *\u002F\n.contained-group {\n  border: 1px solid var(--md-sys-color-outline-variant);\n  border-radius: var(--md-sys-shape-corner-medium);\n  padding: var(--md-sys-spacing-4);\n  background: var(--md-sys-color-surface-container);\n}\n\n\u002F* Elevated containment *\u002F\n.elevated-group {\n  box-shadow: var(--md-sys-elevation-1);\n  border-radius: var(--md-sys-shape-corner-medium);\n  padding: var(--md-sys-spacing-4);\n  background: var(--md-sys-color-surface-container-low);\n}\n```\n\n### Implicit Containment\n\nUse proximity, open space, and alignment to group items without visible borders:\n\n```css\n\u002F* Implicit grouping through proximity *\u002F\n.implicit-group {\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-1); \u002F* Tight spacing implies grouping *\u002F\n}\n\n\u002F* Separated groups use larger spacing *\u002F\n.section-gap {\n  margin-bottom: var(--md-sys-spacing-8); \u002F* Larger gap separates groups *\u002F\n}\n```\n\n### When to Use Each\n\n| Containment Type | Use When |\n|------------------|----------|\n| Explicit (borders\u002Fcards) | Interactive content, distinct sections, actionable groups |\n| Explicit (elevation) | Content that needs to feel \"lifted\" or modal |\n| Implicit (proximity) | Related text blocks, label-value pairs, sequential content |\n| Implicit (alignment) | Grid layouts, navigation items, consistent structure |\n\n## Background Blur and Depth Effects\n\nM3 Expressive introduces background blur and layering for improved depth and focus:\n\n### Background Blur\n\nStrategic blur behind overlays, modals, and navigation elements:\n\n```css\n\u002F* Blur behind modal dialogs *\u002F\n.dialog-backdrop {\n  backdrop-filter: blur(16px);\n  -webkit-backdrop-filter: blur(16px);\n  background-color: rgba(0, 0, 0, 0.32);\n}\n\n\u002F* Blur behind floating toolbars *\u002F\n.floating-toolbar {\n  backdrop-filter: blur(12px);\n  -webkit-backdrop-filter: blur(12px);\n  background-color: rgba(var(--md-sys-color-surface-rgb), 0.85);\n}\n\n\u002F* Blur behind navigation drawers *\u002F\n.nav-drawer-scrim {\n  backdrop-filter: blur(8px);\n  -webkit-backdrop-filter: blur(8px);\n  background-color: var(--md-sys-color-scrim);\n  opacity: 0.32;\n}\n```\n\n### When to Use Blur\n\n1. **Behind modals and dialogs**: Creates focus on foreground content\n2. **Behind floating toolbars**: Separates toolbar from content without heavy elevation\n3. **Behind navigation drawers**: Softens the transition between drawer and content\n4. **Behind bottom sheets**: Creates depth without fully obscuring content\n5. **Never on content itself**: Blur is for scrims and backgrounds, not readable content\n\n### Depth Layering\n\nCombine elevation, blur, and surface tinting for clear layering:\n\n```css\n\u002F* Layer 1: Base content *\u002F\n.base-layer {\n  background: var(--md-sys-color-surface);\n}\n\n\u002F* Layer 2: Elevated content *\u002F\n.elevated-layer {\n  background: var(--md-sys-color-surface-container);\n  box-shadow: var(--md-sys-elevation-1);\n}\n\n\u002F* Layer 3: Overlay with blur *\u002F\n.overlay-layer {\n  backdrop-filter: blur(16px);\n  background: rgba(var(--md-sys-color-surface-container-high-rgb), 0.9);\n  box-shadow: var(--md-sys-elevation-3);\n}\n```\n\n## Interaction States\n\nM3 defines consistent interaction states for all interactive elements:\n\n### State Layer System\n\nState layers are overlays using the content color at specific opacities:\n\n| State | Opacity | Description |\n|-------|---------|-------------|\n| Enabled | 0% | Default, no overlay |\n| Hovered | 8% | Pointer device hover |\n| Focused | 12% | Keyboard\u002Faccessibility focus |\n| Pressed | 12% | Touch\u002Fclick press |\n| Dragged | 16% | Active drag operation |\n| Disabled | 0% | Non-interactive (content at 38%, background at 12%) |\n\n```css\n\u002F* State layer implementation *\u002F\n.interactive-element {\n  position: relative;\n}\n\n.interactive-element::before {\n  content: '';\n  position: absolute;\n  inset: 0;\n  border-radius: inherit;\n  background: var(--md-sys-color-on-surface);\n  opacity: 0;\n  transition: opacity 200ms var(--md-sys-motion-easing-standard);\n  pointer-events: none;\n}\n\n.interactive-element:hover::before { opacity: 0.08; }\n.interactive-element:focus-visible::before { opacity: 0.12; }\n.interactive-element:active::before { opacity: 0.12; }\n\n\u002F* Disabled state *\u002F\n.interactive-element:disabled {\n  opacity: 0.38;\n  pointer-events: none;\n}\n\n.interactive-element:disabled::before {\n  opacity: 0;\n}\n```\n\n### State Priority\n\nOnly one state layer is visually applied at a time. Priority order:\n1. Dragged (highest)\n2. Pressed\n3. Focused\n4. Hovered\n5. Enabled (lowest)\n\n## Touch Targets and Accessibility\n\n### Minimum Touch Target Size\n\nAll interactive elements must be at least 48×48dp:\n\n```css\n.touch-target {\n  min-width: 48px;\n  min-height: 48px;\n  \u002F* Visual size can be smaller with padding *\u002F\n  padding: var(--md-sys-spacing-3);\n}\n```\n\n### Focus Indicators\n\nEnsure adequate spacing for focus rings:\n\n```css\n.focusable {\n  position: relative;\n}\n\n.focusable:focus-visible {\n  outline: 2px solid var(--md-sys-color-primary);\n  outline-offset: 2px;\n}\n```\n\n## Best Practices\n\n### Do's\n\n1. ✅ Use the 4dp spacing scale consistently\n2. ✅ Define semantic spacing tokens for common patterns\n3. ✅ Start mobile-first, then enhance for larger screens\n4. ✅ Use size hierarchy to create visual emphasis\n5. ✅ Maintain minimum 48×48dp touch targets\n6. ✅ Use elevation to show component relationships\n7. ✅ Test layouts at all breakpoints\n8. ✅ Use CSS Grid and Flexbox for modern layouts\n\n### Don'ts\n\n1. ❌ Don't use arbitrary spacing values (stick to the scale)\n2. ❌ Don't make layouts that only work on desktop\n3. ❌ Don't use tiny touch targets on mobile\n4. ❌ Don't overuse elevation (creates visual noise)\n5. ❌ Don't ignore container queries for components\n6. ❌ Don't create fixed-width layouts without max-width\n7. ❌ Don't forget horizontal scrolling on mobile\n\n## Performance Considerations\n\n1. **Use CSS Grid\u002FFlexbox**: Avoid float-based layouts\n2. **Minimize Layout Shifts**: Define dimensions to prevent CLS\n3. **Optimize Images**: Use responsive images with srcset\n4. **Lazy Load**: Defer off-screen content\n5. **Container Queries**: Better than media queries for components\n\n## Checklist for Layout Implementation\n\nWhen implementing M3 layout, ensure:\n\n- [ ] Spacing scale is defined (4dp increments)\n- [ ] Semantic spacing tokens are created\n- [ ] Breakpoints are defined (600px, 905px, 1240px)\n- [ ] Mobile-first responsive approach is used\n- [ ] Grid system supports 4\u002F8\u002F12 columns\n- [ ] Touch targets are minimum 48×48dp\n- [ ] Elevation system is defined (5 levels)\n- [ ] Size hierarchy is used for emphasis\n- [ ] All spacing uses tokens (no hard-coded values)\n- [ ] Layouts work on all screen sizes\n- [ ] Focus indicators have adequate spacing\n- [ ] Container queries are used for components\n- [ ] Maximum content width is set for readability\n- [ ] Elevation tinting is applied to raised surfaces\n- [ ] Containment principles are applied (explicit and implicit grouping)\n- [ ] Background blur is used for modals, drawers, and floating elements\n- [ ] Interaction states are implemented with correct opacity values\n- [ ] Disabled states use 38% content opacity and 12% background opacity\n- [ ] State layers use on-surface color at appropriate opacities\n- [ ] Performance is optimized (Grid\u002FFlexbox, lazy loading)\n\n## Resources\n\n- M3 layout overview: https:\u002F\u002Fm3.material.io\u002Ffoundations\u002Flayout\u002Funderstanding-layout\u002Foverview\n- Material Design Tokens: https:\u002F\u002Fgithub.com\u002Fmaterial-foundation\u002Fmaterial-tokens\n","# Material Design 3 Layout and Size Hierarchy\n\n## Overview\n\nThis skill guides the implementation of Material Design 3 (M3) Expressive layout and spacing principles to create clear, organized, and responsive interfaces.\n\n**Keywords**: Material Design 3, M3, layout, spacing, grid, responsive design, breakpoints, size hierarchy, elevation, padding, margin\n\n## Core Principles\n\n### Layout Philosophy\n\nM3 layout — from Material You foundations to M3 Expressive — focuses on:\n\n1. **Clear Hierarchy**: Size and spacing create visual importance\n2. **Responsive Adaptability**: Layouts work across all screen sizes\n3. **Strategic Spacing**: Consistent spacing creates rhythm and flow\n4. **Size-Based Emphasis**: Larger elements naturally draw attention\n5. **Elevation Depth**: Layered surfaces show relationships\n6. **Explicit and Implicit Containment**: Visual grouping through both borders and proximity\n7. **Background Blur and Layering**: Depth effects that guide focus (M3 Expressive)\n\n## Spacing Scale System\n\nM3 uses a consistent 4dp spacing scale for all layout spacing:\n\n### Base Scale (Increments of 4dp)\n\n```css\n:root {\n  \u002F* Spacing scale *\u002F\n  --md-sys-spacing-0: 0px;\n  --md-sys-spacing-1: 4px;\n  --md-sys-spacing-2: 8px;\n  --md-sys-spacing-3: 12px;\n  --md-sys-spacing-4: 16px;\n  --md-sys-spacing-5: 20px;\n  --md-sys-spacing-6: 24px;\n  --md-sys-spacing-7: 28px;\n  --md-sys-spacing-8: 32px;\n  --md-sys-spacing-9: 36px;\n  --md-sys-spacing-10: 40px;\n  --md-sys-spacing-12: 48px;\n  --md-sys-spacing-14: 56px;\n  --md-sys-spacing-16: 64px;\n  --md-sys-spacing-20: 80px;\n  --md-sys-spacing-24: 96px;\n}\n```\n\n### Semantic Spacing\n\nDefine semantic spacing for common patterns:\n\n```css\n:root {\n  \u002F* Component spacing *\u002F\n  --md-sys-spacing-component-gap: var(--md-sys-spacing-2); \u002F* 8px *\u002F\n  --md-sys-spacing-component-padding: var(--md-sys-spacing-4); \u002F* 16px *\u002F\n  \n  \u002F* Layout spacing *\u002F\n  --md-sys-spacing-section-gap: var(--md-sys-spacing-6); \u002F* 24px *\u002F\n  --md-sys-spacing-page-margin: var(--md-sys-spacing-4); \u002F* 16px *\u002F\n  \n  \u002F* List spacing *\u002F\n  --md-sys-spacing-list-item-gap: var(--md-sys-spacing-2); \u002F* 8px *\u002F\n  --md-sys-spacing-list-padding: var(--md-sys-spacing-4); \u002F* 16px *\u002F\n}\n```\n\n## Responsive Grid System\n\n### Breakpoints\n\nM3 defines standard breakpoints for responsive design:\n\n```css\n:root {\n  \u002F* Breakpoints *\u002F\n  --md-sys-breakpoint-xs: 0px;      \u002F* Extra small (phones) *\u002F\n  --md-sys-breakpoint-sm: 600px;    \u002F* Small (tablets portrait) *\u002F\n  --md-sys-breakpoint-md: 905px;    \u002F* Medium (tablets landscape) *\u002F\n  --md-sys-breakpoint-lg: 1240px;   \u002F* Large (laptops) *\u002F\n  --md-sys-breakpoint-xl: 1440px;   \u002F* Extra large (desktops) *\u002F\n}\n```\n\n### Grid Columns\n\n**Mobile (0-599px)**:\n- Columns: 4\n- Margin: 16px\n- Gutter: 16px\n\n**Tablet (600-904px)**:\n- Columns: 8\n- Margin: 24px\n- Gutter: 24px\n\n**Desktop (905px+)**:\n- Columns: 12\n- Margin: 24px\n- Gutter: 24px\n\n### CSS Grid Implementation\n\n```css\n.layout-grid {\n  display: grid;\n  gap: var(--md-sys-spacing-4);\n  padding: var(--md-sys-spacing-4);\n  \n  \u002F* Mobile: 4 columns *\u002F\n  grid-template-columns: repeat(4, 1fr);\n}\n\n@media (min-width: 600px) {\n  .layout-grid {\n    gap: var(--md-sys-spacing-6);\n    padding: var(--md-sys-spacing-6);\n    \u002F* Tablet: 8 columns *\u002F\n    grid-template-columns: repeat(8, 1fr);\n  }\n}\n\n@media (min-width: 905px) {\n  .layout-grid {\n    \u002F* Desktop: 12 columns *\u002F\n    grid-template-columns: repeat(12, 1fr);\n  }\n}\n```\n\n## Component Spacing\n\n### Buttons\n\n**Padding**:\n- Horizontal: 24px\n- Vertical: 10px\n- Minimum height: 40px\n- Gap between icon and text: 8px\n\n```css\n.button {\n  padding: var(--md-sys-spacing-2) var(--md-sys-spacing-6);\n  min-height: 40px;\n  gap: var(--md-sys-spacing-2);\n}\n```\n\n### Cards\n\n**Padding**:\n- Standard: 16px all sides\n- Large cards: 24px all sides\n- Compact: 12px all sides\n\n**Spacing between elements**:\n- Header to content: 8px\n- Content to actions: 16px\n- Between actions: 8px\n\n```css\n.card {\n  padding: var(--md-sys-spacing-4);\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-2);\n}\n\n.card-actions {\n  margin-top: var(--md-sys-spacing-4);\n  display: flex;\n  gap: var(--md-sys-spacing-2);\n}\n```\n\n### Dialogs\n\n**Padding**:\n- All sides: 24px\n- Content padding: 16px\n- Title to content: 16px\n- Content to actions: 24px\n\n**Sizing**:\n- Min width: 280px\n- Max width: 560px\n- Mobile: Full width with margin\n\n```css\n.dialog {\n  padding: var(--md-sys-spacing-6);\n  min-width: 280px;\n  max-width: 560px;\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-4);\n}\n\n@media (max-width: 599px) {\n  .dialog {\n    width: calc(100% - 32px);\n    margin: var(--md-sys-spacing-4);\n  }\n}\n```\n\n### Lists\n\n**Spacing**:\n- Between list items: 0px (items touch)\n- Item padding: 16px horizontal, 8px vertical\n- Icon to text: 16px\n- Text to secondary action: 16px\n\n```css\n.list-item {\n  padding: var(--md-sys-spacing-2) var(--md-sys-spacing-4);\n  display: flex;\n  align-items: center;\n  gap: var(--md-sys-spacing-4);\n  min-height: 56px;\n}\n```\n\n### Navigation\n\n**App Bar**:\n- Height: 64px (desktop), 56px (mobile)\n- Padding: 16px horizontal\n- Gap between items: 24px\n\n**Navigation Rail**:\n- Width: 80px\n- Item height: 56px\n- Item spacing: 4px\n\n**Bottom Navigation**:\n- Height: 80px\n- Item width: Equal distribution\n- Icon to label: 4px\n\n```css\n.app-bar {\n  height: 56px;\n  padding: 0 var(--md-sys-spacing-4);\n  display: flex;\n  align-items: center;\n  gap: var(--md-sys-spacing-6);\n}\n\n@media (min-width: 600px) {\n  .app-bar {\n    height: 64px;\n  }\n}\n```\n\n## Size Hierarchy\n\n### Use Size for Emphasis\n\nM3 Expressive uses size strategically to create visual hierarchy:\n\n**Hero Elements** (Largest):\n- 2-3x larger than standard\n- Use for main call-to-action or featured content\n- Limited to 1-2 per view\n\n**Primary Elements** (Large):\n- 1.5x larger than standard\n- Main content, featured items\n- 3-5 per view\n\n**Standard Elements** (Base):\n- Default size for most content\n- Maintains readability and usability\n\n**Secondary Elements** (Small):\n- 0.75x of standard\n- Supporting information, metadata\n- Can be numerous\n\n**Tertiary Elements** (Smallest):\n- 0.5x of standard\n- Timestamps, captions, fine print\n- Use sparingly\n\n### Size Examples\n\n```css\n\u002F* Hero button *\u002F\n.button-hero {\n  padding: var(--md-sys-spacing-4) var(--md-sys-spacing-10);\n  min-height: 56px;\n  font-size: 18px;\n}\n\n\u002F* Standard button *\u002F\n.button-standard {\n  padding: var(--md-sys-spacing-2) var(--md-sys-spacing-6);\n  min-height: 40px;\n  font-size: 14px;\n}\n\n\u002F* Small button *\u002F\n.button-small {\n  padding: var(--md-sys-spacing-1) var(--md-sys-spacing-4);\n  min-height: 32px;\n  font-size: 12px;\n}\n```\n\n## Elevation System\n\nM3 uses elevation to show depth and hierarchy:\n\n### Elevation Levels\n\n**Level 0** (On surface):\n- No shadow\n- Background elements\n\n**Level 1** (Slight elevation):\n- Shadow: `0 1px 2px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.15)`\n- Cards, list items\n- Use: 1dp\n\n**Level 2** (Elevated):\n- Shadow: `0 2px 4px rgba(0,0,0,0.3), 0 3px 4px rgba(0,0,0,0.15)`\n- Raised buttons, FABs at rest\n- Use: 3dp\n\n**Level 3** (Floating):\n- Shadow: `0 4px 8px rgba(0,0,0,0.3), 0 6px 8px rgba(0,0,0,0.15)`\n- FABs on hover, app bars\n- Use: 6dp\n\n**Level 4** (Modal):\n- Shadow: `0 8px 12px rgba(0,0,0,0.3), 0 12px 16px rgba(0,0,0,0.15)`\n- Dialogs, navigation drawer\n- Use: 8dp\n\n**Level 5** (High modal):\n- Shadow: `0 12px 16px rgba(0,0,0,0.3), 0 16px 24px rgba(0,0,0,0.15)`\n- Modal bottom sheets\n- Use: 12dp\n\n### Elevation Tokens\n\n```css\n:root {\n  --md-sys-elevation-0: none;\n  --md-sys-elevation-1: 0 1px 2px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.15);\n  --md-sys-elevation-2: 0 2px 4px rgba(0,0,0,0.3), 0 3px 4px rgba(0,0,0,0.15);\n  --md-sys-elevation-3: 0 4px 8px rgba(0,0,0,0.3), 0 6px 8px rgba(0,0,0,0.15);\n  --md-sys-elevation-4: 0 8px 12px rgba(0,0,0,0.3), 0 12px 16px rgba(0,0,0,0.15);\n  --md-sys-elevation-5: 0 12px 16px rgba(0,0,0,0.3), 0 16px 24px rgba(0,0,0,0.15);\n}\n```\n\n### Elevation with Tinting\n\nM3 adds a subtle color tint to elevated surfaces:\n\n```css\n.elevated-surface {\n  background-color: var(--md-sys-color-surface);\n  box-shadow: var(--md-sys-elevation-1);\n  \u002F* Add subtle tint using primary color *\u002F\n  background-image: linear-gradient(\n    rgba(var(--md-sys-color-primary-rgb), 0.05),\n    rgba(var(--md-sys-color-primary-rgb), 0.05)\n  );\n}\n```\n\n## Responsive Layout Patterns\n\n### Mobile-First Approach\n\nStart with mobile layout, then enhance for larger screens:\n\n```css\n\u002F* Mobile: Stack vertically *\u002F\n.content-layout {\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-4);\n  padding: var(--md-sys-spacing-4);\n}\n\n\u002F* Tablet: Two columns *\u002F\n@media (min-width: 600px) {\n  .content-layout {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: var(--md-sys-spacing-6);\n    padding: var(--md-sys-spacing-6);\n  }\n}\n\n\u002F* Desktop: Three columns with sidebar *\u002F\n@media (min-width: 905px) {\n  .content-layout {\n    grid-template-columns: 250px 1fr 1fr;\n  }\n}\n```\n\n### Container Queries\n\nUse for component-level responsiveness:\n\n```css\n.card-container {\n  container-type: inline-size;\n}\n\n.card {\n  display: flex;\n  flex-direction: column;\n}\n\n@container (min-width: 400px) {\n  .card {\n    flex-direction: row;\n    gap: var(--md-sys-spacing-4);\n  }\n}\n```\n\n### Common Layout Patterns\n\n**Centered Content**:\n```css\n.centered-layout {\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: var(--md-sys-spacing-6);\n}\n```\n\n**Sidebar Layout**:\n```css\n.sidebar-layout {\n  display: grid;\n  grid-template-columns: 250px 1fr;\n  gap: var(--md-sys-spacing-6);\n}\n\n@media (max-width: 904px) {\n  .sidebar-layout {\n    grid-template-columns: 1fr;\n  }\n}\n```\n\n**Dashboard Grid**:\n```css\n.dashboard-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n  gap: var(--md-sys-spacing-4);\n}\n```\n\n## Containment Principles\n\n### Explicit Containment\n\nUse visible boundaries to group related content:\n\n```css\n\u002F* Card containment with outline *\u002F\n.contained-group {\n  border: 1px solid var(--md-sys-color-outline-variant);\n  border-radius: var(--md-sys-shape-corner-medium);\n  padding: var(--md-sys-spacing-4);\n  background: var(--md-sys-color-surface-container);\n}\n\n\u002F* Elevated containment *\u002F\n.elevated-group {\n  box-shadow: var(--md-sys-elevation-1);\n  border-radius: var(--md-sys-shape-corner-medium);\n  padding: var(--md-sys-spacing-4);\n  background: var(--md-sys-color-surface-container-low);\n}\n```\n\n### Implicit Containment\n\nUse proximity, open space, and alignment to group items without visible borders:\n\n```css\n\u002F* Implicit grouping through proximity *\u002F\n.implicit-group {\n  display: flex;\n  flex-direction: column;\n  gap: var(--md-sys-spacing-1); \u002F* Tight spacing implies grouping *\u002F\n}\n\n\u002F* Separated groups use larger spacing *\u002F\n.section-gap {\n  margin-bottom: var(--md-sys-spacing-8); \u002F* Larger gap separates groups *\u002F\n}\n```\n\n### When to Use Each\n\n| Containment Type | Use When |\n|------------------|----------|\n| Explicit (borders\u002Fcards) | Interactive content, distinct sections, actionable groups |\n| Explicit (elevation) | Content that needs to feel \"lifted\" or modal |\n| Implicit (proximity) | Related text blocks, label-value pairs, sequential content |\n| Implicit (alignment) | Grid layouts, navigation items, consistent structure |\n\n## Background Blur and Depth Effects\n\nM3 Expressive introduces background blur and layering for improved depth and focus:\n\n### Background Blur\n\nStrategic blur behind overlays, modals, and navigation elements:\n\n```css\n\u002F* Blur behind modal dialogs *\u002F\n.dialog-backdrop {\n  backdrop-filter: blur(16px);\n  -webkit-backdrop-filter: blur(16px);\n  background-color: rgba(0, 0, 0, 0.32);\n}\n\n\u002F* Blur behind floating toolbars *\u002F\n.floating-toolbar {\n  backdrop-filter: blur(12px);\n  -webkit-backdrop-filter: blur(12px);\n  background-color: rgba(var(--md-sys-color-surface-rgb), 0.85);\n}\n\n\u002F* Blur behind navigation drawers *\u002F\n.nav-drawer-scrim {\n  backdrop-filter: blur(8px);\n  -webkit-backdrop-filter: blur(8px);\n  background-color: var(--md-sys-color-scrim);\n  opacity: 0.32;\n}\n```\n\n### When to Use Blur\n\n1. **Behind modals and dialogs**: Creates focus on foreground content\n2. **Behind floating toolbars**: Separates toolbar from content without heavy elevation\n3. **Behind navigation drawers**: Softens the transition between drawer and content\n4. **Behind bottom sheets**: Creates depth without fully obscuring content\n5. **Never on content itself**: Blur is for scrims and backgrounds, not readable content\n\n### Depth Layering\n\nCombine elevation, blur, and surface tinting for clear layering:\n\n```css\n\u002F* Layer 1: Base content *\u002F\n.base-layer {\n  background: var(--md-sys-color-surface);\n}\n\n\u002F* Layer 2: Elevated content *\u002F\n.elevated-layer {\n  background: var(--md-sys-color-surface-container);\n  box-shadow: var(--md-sys-elevation-1);\n}\n\n\u002F* Layer 3: Overlay with blur *\u002F\n.overlay-layer {\n  backdrop-filter: blur(16px);\n  background: rgba(var(--md-sys-color-surface-container-high-rgb), 0.9);\n  box-shadow: var(--md-sys-elevation-3);\n}\n```\n\n## Interaction States\n\nM3 defines consistent interaction states for all interactive elements:\n\n### State Layer System\n\nState layers are overlays using the content color at specific opacities:\n\n| State | Opacity | Description |\n|-------|---------|-------------|\n| Enabled | 0% | Default, no overlay |\n| Hovered | 8% | Pointer device hover |\n| Focused | 12% | Keyboard\u002Faccessibility focus |\n| Pressed | 12% | Touch\u002Fclick press |\n| Dragged | 16% | Active drag operation |\n| Disabled | 0% | Non-interactive (content at 38%, background at 12%) |\n\n```css\n\u002F* State layer implementation *\u002F\n.interactive-element {\n  position: relative;\n}\n\n.interactive-element::before {\n  content: '';\n  position: absolute;\n  inset: 0;\n  border-radius: inherit;\n  background: var(--md-sys-color-on-surface);\n  opacity: 0;\n  transition: opacity 200ms var(--md-sys-motion-easing-standard);\n  pointer-events: none;\n}\n\n.interactive-element:hover::before { opacity: 0.08; }\n.interactive-element:focus-visible::before { opacity: 0.12; }\n.interactive-element:active::before { opacity: 0.12; }\n\n\u002F* Disabled state *\u002F\n.interactive-element:disabled {\n  opacity: 0.38;\n  pointer-events: none;\n}\n\n.interactive-element:disabled::before {\n  opacity: 0;\n}\n```\n\n### State Priority\n\nOnly one state layer is visually applied at a time. Priority order:\n1. Dragged (highest)\n2. Pressed\n3. Focused\n4. Hovered\n5. Enabled (lowest)\n\n## Touch Targets and Accessibility\n\n### Minimum Touch Target Size\n\nAll interactive elements must be at least 48×48dp:\n\n```css\n.touch-target {\n  min-width: 48px;\n  min-height: 48px;\n  \u002F* Visual size can be smaller with padding *\u002F\n  padding: var(--md-sys-spacing-3);\n}\n```\n\n### Focus Indicators\n\nEnsure adequate spacing for focus rings:\n\n```css\n.focusable {\n  position: relative;\n}\n\n.focusable:focus-visible {\n  outline: 2px solid var(--md-sys-color-primary);\n  outline-offset: 2px;\n}\n```\n\n## Best Practices\n\n### Do's\n\n1. ✅ Use the 4dp spacing scale consistently\n2. ✅ Define semantic spacing tokens for common patterns\n3. ✅ Start mobile-first, then enhance for larger screens\n4. ✅ Use size hierarchy to create visual emphasis\n5. ✅ Maintain minimum 48×48dp touch targets\n6. ✅ Use elevation to show component relationships\n7. ✅ Test layouts at all breakpoints\n8. ✅ Use CSS Grid and Flexbox for modern layouts\n\n### Don'ts\n\n1. ❌ Don't use arbitrary spacing values (stick to the scale)\n2. ❌ Don't make layouts that only work on desktop\n3. ❌ Don't use tiny touch targets on mobile\n4. ❌ Don't overuse elevation (creates visual noise)\n5. ❌ Don't ignore container queries for components\n6. ❌ Don't create fixed-width layouts without max-width\n7. ❌ Don't forget horizontal scrolling on mobile\n\n## Performance Considerations\n\n1. **Use CSS Grid\u002FFlexbox**: Avoid float-based layouts\n2. **Minimize Layout Shifts**: Define dimensions to prevent CLS\n3. **Optimize Images**: Use responsive images with srcset\n4. **Lazy Load**: Defer off-screen content\n5. **Container Queries**: Better than media queries for components\n\n## Checklist for Layout Implementation\n\nWhen implementing M3 layout, ensure:\n\n- [ ] Spacing scale is defined (4dp increments)\n- [ ] Semantic spacing tokens are created\n- [ ] Breakpoints are defined (600px, 905px, 1240px)\n- [ ] Mobile-first responsive approach is used\n- [ ] Grid system supports 4\u002F8\u002F12 columns\n- [ ] Touch targets are minimum 48×48dp\n- [ ] Elevation system is defined (5 levels)\n- [ ] Size hierarchy is used for emphasis\n- [ ] All spacing uses tokens (no hard-coded values)\n- [ ] Layouts work on all screen sizes\n- [ ] Focus indicators have adequate spacing\n- [ ] Container queries are used for components\n- [ ] Maximum content width is set for readability\n- [ ] Elevation tinting is applied to raised surfaces\n- [ ] Containment principles are applied (explicit and implicit grouping)\n- [ ] Background blur is used for modals, drawers, and floating elements\n- [ ] Interaction states are implemented with correct opacity values\n- [ ] Disabled states use 38% content opacity and 12% background opacity\n- [ ] State layers use on-surface color at appropriate opacities\n- [ ] Performance is optimized (Grid\u002FFlexbox, lazy loading)\n\n## Resources\n\n- M3 layout overview: https:\u002F\u002Fm3.material.io\u002Ffoundations\u002Flayout\u002Funderstanding-layout\u002Foverview\n- Material Design Tokens: https:\u002F\u002Fgithub.com\u002Fmaterial-foundation\u002Fmaterial-tokens\n",{"name":5,"license":14,"description":7},"master","ee4668daab05d977b529036c0b1711dc09f997e0",".agents\u002Fskills\u002Fmaterial-design-3-layout","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5","https:\u002F\u002Fgithub.com\u002Fpohlai88","2026-09-05 22:56:19",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add pohlai88\u002Fafenda-xforge-v5 --skill material-design-3-layout",{"tool":35,"command":36},"bunx","bunx skills add pohlai88\u002Fafenda-xforge-v5 --skill material-design-3-layout",{"tool":38,"command":39},"pnpm","pnpm dlx skills add pohlai88\u002Fafenda-xforge-v5 --skill material-design-3-layout","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fmaterial-design-3-layout\u002FSKILL.md",true,[],[44,52,59,66,73,80],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":48,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7C4FZM0ZBB1P5GV1EZJJCCT","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","MIT","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":48,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7C4F67V83B35BDPW73AQNWR","turborepo","Turborepo monorepo build system and orchestration. Covers task pipelines, dependsOn syntax, caching configuration, remote cache, filtering, CI optimization, environment variables, workspace management, watch mode, package boundaries, and code generation.\n\nUse when configuring tasks, creating packages, setting up monorepo, sharing code between apps, running changed packages, debugging cache, optimizing CI, resolving workspace dependencies, enforcing package boundaries, or generating code.","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fturborepo\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":48,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7C4ET5ETKW3FFB4SFFPNQWG","tailwind","Tailwind CSS v4 patterns and design systems. Use when configuring Tailwind themes, building components, implementing dark mode, using container queries, migrating from v3, integrating shadcn\u002Fui, or fixing build errors. Use for tailwind, css, styling, theme, design-tokens.","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftailwind\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":48,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7C4DESY6RA5XWDNVV155THK","pnpm-workspace","pnpm workspace monorepo management with filtering, catalogs, and shared configs. Use when setting up monorepos, managing workspace dependencies, filtering package commands, or sharing configuration across packages.","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpnpm-workspace\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7C4CZ3VMTYQQJXVJXGY3M0X","material-theme-builder","Generate Material Design 3 color themes programmatically from a source color using @material\u002Fmaterial-color-utilities, the same engine that powers the Material Theme Builder. Use this when the user asks to generate an M3 color palette, create a custom theme from a brand color, or export M3 tokens to CSS, JSON, or framework configs.","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fmaterial-theme-builder\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7C4CT86QFTT2N0PJCPTG5RB","material-design-3-typography","Applies Material Design 3 Expressive typography principles including variable fonts, type scales, and hierarchy. Use this when working on text styling, type hierarchy, readable interfaces, or when the user asks to apply Material Design 3 typography guidelines.","https:\u002F\u002Fgithub.com\u002Fpohlai88\u002Fafenda-xforge-v5\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fmaterial-design-3-typography\u002FSKILL.md",[],[]]