[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F8K6WDWASG7WMB2YYQREJ4":3,"skill-same:01M7F8K6WDWASG7WMB2YYQREJ4":49},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7F8K6WDWASG7WMB2YYQREJ4","bento-ui",null,"Web and App implementation guide for Bento UI. Trigger when user wants modular grid cards, Apple-like dashboard style, or sections arranged like a bento box.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign-it\u002Fbento-ui\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: bento-ui\ndescription: Web and App implementation guide for Bento UI. Trigger when user wants modular grid cards, Apple-like dashboard style, or sections arranged like a bento box.\ndate_added: \"2026-06-17\"\nrisk: safe\nsource: self\nsource_type: self\n---\n\n# Bento UI\n\n> \"Everything in its right place. A highly structured, modular grid of distinct compartments.\"\n\n\n## When to Use\nUse this sub-style when the user's request matches the aesthetic described above. This is a child reference of the `design-it` skill and is not meant to be triggered directly.\n\n## Core Principles\n1. **Strict Grid Structure**: The entire UI is built on a responsive, multi-column grid (usually 3x3, 4x4, or irregular masonry).\n2. **Rounded Compartments**: Every distinct piece of content lives inside a card (compartment) with consistent, usually large, border-radius.\n3. **Equal Spacing**: The gap between compartments must be perfectly consistent everywhere.\n\n## Visual DNA\n- **Colors**: Highly adaptable, but looks incredibly premium with **Minimalist Slate** or **Yacht Club**. Often uses a slightly off-white or light gray background to make the white compartments pop.\n- **Typography**: Apple-esque (e.g., `SF Pro`, `Inter`). Headlines are usually bold and placed at the top-left or bottom-left of each compartment.\n- **Visuals**: Often relies on high-quality, edge-to-edge images or single, large 3D icons inside specific grid cells to break up text-heavy cards.\n\n## Web Implementation\n- CSS Grid is mandatory. Flexbox is too difficult to maintain the strict 2D structure.\n- **CSS Example**:\n```css\n.bento-container {\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  grid-auto-rows: 200px;\n  gap: 24px;\n  padding: 24px;\n  background-color: var(--bg-primary); \u002F* Slightly darker than cards *\u002F\n}\n\n.bento-card {\n  background-color: #fff;\n  border-radius: 32px; \u002F* Very large border radius *\u002F\n  padding: 32px;\n  box-shadow: 0 4px 24px rgba(0,0,0,0.04);\n  \u002F* Optional: subtle 1px border for crispness *\u002F\n  border: 1px solid rgba(0,0,0,0.05);\n  \n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n}\n\n\u002F* Creating spans for different bento sizes *\u002F\n.bento-span-2 { grid-column: span 2; }\n.bento-span-2-row { grid-row: span 2; }\n.bento-large { grid-column: span 2; grid-row: span 2; }\n```\n\n## App Implementation\n\n### SwiftUI\n```swift\nstruct BentoGrid: View {\n    let columns = [\n        GridItem(.flexible(), spacing: 16),\n        GridItem(.flexible(), spacing: 16)\n    ]\n    \n    var body: some View {\n        ScrollView {\n            LazyVGrid(columns: columns, spacing: 16) {\n                \u002F\u002F 2x1 Span (Full width)\n                BentoCard(title: \"Hero\", color: .blue)\n                    .frame(height: 180)\n                \n                \u002F\u002F 1x1 Spans\n                BentoCard(title: \"Stats\", color: .green)\n                    .frame(height: 180)\n                BentoCard(title: \"Graph\", color: .purple)\n                    .frame(height: 180)\n                \n                \u002F\u002F 1x2 Span (Tall)\n                BentoCard(title: \"Activity\", color: .orange)\n                    .frame(height: 376) \u002F\u002F (180 * 2) + 16 spacing\n                \n                \u002F\u002F 1x1 Spans next to the tall one\n                VStack(spacing: 16) {\n                    BentoCard(title: \"A\", color: .pink).frame(height: 180)\n                    BentoCard(title: \"B\", color: .cyan).frame(height: 180)\n                }\n            }\n            .padding(16)\n        }\n        .background(Color(.systemGroupedBackground))\n    }\n}\n\nstruct BentoCard: View {\n    let title: String\n    let color: Color\n    var body: some View {\n        RoundedRectangle(cornerRadius: 24)\n            .fill(Color(.secondarySystemGroupedBackground))\n            .overlay(\n                Text(title).font(.headline).foregroundColor(color),\n                alignment: .topLeading\n            )\n            .padding(16)\n            \u002F\u002F Soft bento shadow\n            .shadow(color: .black.opacity(0.04), radius: 12, x: 0, y: 4)\n    }\n}\n```\n- Use `LazyVGrid` for uniform grids.\n- For complex irregular bento layouts (like 1x2 spans), you often have to mix `VStack` and `HStack` inside the grid cells to fake the spans.\n- Maintain absolute consistency with `cornerRadius` (usually 24-32pt) and `spacing` (usually 16pt).\n\n### Flutter\n```dart\nimport 'package:flutter_staggered_grid_view\u002Fflutter_staggered_grid_view.dart';\n\nclass BentoScreen extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      backgroundColor: Colors.grey[100],\n      body: SingleChildScrollView(\n        padding: const EdgeInsets.all(16),\n        child: StaggeredGrid.count(\n          crossAxisCount: 4, \u002F\u002F 4 columns total\n          mainAxisSpacing: 16,\n          crossAxisSpacing: 16,\n          children: const [\n            \u002F\u002F 2x1 (Full width in a 2-col layout, spans 4)\n            StaggeredGridTile.count(\n              crossAxisCellCount: 4,\n              mainAxisCellCount: 2,\n              child: BentoCard(title: 'Hero'),\n            ),\n            \u002F\u002F 1x1\n            StaggeredGridTile.count(\n              crossAxisCellCount: 2,\n              mainAxisCellCount: 2,\n              child: BentoCard(title: 'Stats'),\n            ),\n            \u002F\u002F 1x1\n            StaggeredGridTile.count(\n              crossAxisCellCount: 2,\n              mainAxisCellCount: 2,\n              child: BentoCard(title: 'Graph'),\n            ),\n            \u002F\u002F 1x2 (Tall)\n            StaggeredGridTile.count(\n              crossAxisCellCount: 2,\n              mainAxisCellCount: 4,\n              child: BentoCard(title: 'Activity'),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n}\n\nclass BentoCard extends StatelessWidget {\n  final String title;\n  const BentoCard({required this.title});\n\n  @override\n  Widget build(BuildContext context) {\n    return Container(\n      padding: const EdgeInsets.all(24),\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(24),\n        boxShadow: [\n          BoxShadow(\n            color: Colors.black.withOpacity(0.04),\n            blurRadius: 12,\n            offset: const Offset(0, 4),\n          ),\n        ],\n      ),\n      alignment: Alignment.topLeft,\n      child: Text(title, style: const TextStyle(fontWeight: FontWeight.bold)),\n    );\n  }\n}\n```\n- The `flutter_staggered_grid_view` package is practically mandatory for complex Bento grids in Flutter.\n- Use `StaggeredGridTile.count` to explicitly declare the `crossAxis` and `mainAxis` span of each compartment.\n\n### React Native\n```jsx\nconst BentoScreen = () => {\n  return (\n    \u003CScrollView \n      style={{ flex: 1, backgroundColor: '#F2F2F7' }}\n      contentContainerStyle={{ padding: 16 }}\n    >\n      {\u002F* 2x1 Span *\u002F}\n      \u003CView style={[styles.bentoCard, { height: 180, marginBottom: 16 }]}>\n        \u003CText style={styles.title}>Hero\u003C\u002FText>\n      \u003C\u002FView>\n\n      \u003CView style={{ flexDirection: 'row', gap: 16, marginBottom: 16 }}>\n        {\u002F* 1x1 Spans *\u002F}\n        \u003CView style={[styles.bentoCard, { flex: 1, height: 180 }]}>\n          \u003CText style={styles.title}>Stats\u003C\u002FText>\n        \u003C\u002FView>\n        \u003CView style={[styles.bentoCard, { flex: 1, height: 180 }]}>\n          \u003CText style={styles.title}>Graph\u003C\u002FText>\n        \u003C\u002FView>\n      \u003C\u002FView>\n\n      \u003CView style={{ flexDirection: 'row', gap: 16 }}>\n        {\u002F* 1x2 Span (Tall) *\u002F}\n        \u003CView style={[styles.bentoCard, { flex: 1, height: 376 }]}>\n          \u003CText style={styles.title}>Activity\u003C\u002FText>\n        \u003C\u002FView>\n        \n        \u003CView style={{ flex: 1, gap: 16 }}>\n          {\u002F* Stacked 1x1s *\u002F}\n          \u003CView style={[styles.bentoCard, { height: 180 }]}>\n            \u003CText style={styles.title}>A\u003C\u002FText>\n          \u003C\u002FView>\n          \u003CView style={[styles.bentoCard, { height: 180 }]}>\n            \u003CText style={styles.title}>B\u003C\u002FText>\n          \u003C\u002FView>\n        \u003C\u002FView>\n      \u003C\u002FView>\n    \u003C\u002FScrollView>\n  );\n};\n\nconst styles = StyleSheet.create({\n  bentoCard: {\n    backgroundColor: '#FFFFFF',\n    borderRadius: 24,\n    padding: 24,\n    shadowColor: '#000',\n    shadowOffset: { width: 0, height: 4 },\n    shadowOpacity: 0.04,\n    shadowRadius: 12,\n    elevation: 2,\n  },\n  title: {\n    fontWeight: '700',\n    fontSize: 18,\n  }\n});\n```\n- React Native lacks CSS Grid. You must manually compose the grid using `flexDirection: 'row'` and vertical stacks.\n- The `gap` property in React Native flexbox makes this significantly easier than using margins.\n\n### Jetpack Compose\n```kotlin\n@Composable\nfun BentoGrid() {\n    Column(\n        modifier = Modifier\n            .fillMaxSize()\n            .background(Color(0xFFF2F2F7))\n            .verticalScroll(rememberScrollState())\n            .padding(16.dp),\n        verticalArrangement = Arrangement.spacedBy(16.dp)\n    ) {\n        \u002F\u002F Full width\n        BentoCard(title = \"Hero\", modifier = Modifier.fillMaxWidth().height(180.dp))\n        \n        \u002F\u002F Two columns\n        Row(horizontalArrangement = Arrangement.spacedBy(16.dp)) {\n            BentoCard(title = \"Stats\", modifier = Modifier.weight(1f).height(180.dp))\n            BentoCard(title = \"Graph\", modifier = Modifier.weight(1f).height(180.dp))\n        }\n        \n        \u002F\u002F Complex span: 1x2 left, two 1x1s right\n        Row(horizontalArrangement = Arrangement.spacedBy(16.dp)) {\n            BentoCard(title = \"Activity\", modifier = Modifier.weight(1f).height(376.dp))\n            \n            Column(\n                modifier = Modifier.weight(1f),\n                verticalArrangement = Arrangement.spacedBy(16.dp)\n            ) {\n                BentoCard(title = \"A\", modifier = Modifier.fillMaxWidth().height(180.dp))\n                BentoCard(title = \"B\", modifier = Modifier.fillMaxWidth().height(180.dp))\n            }\n        }\n    }\n}\n\n@Composable\nfun BentoCard(title: String, modifier: Modifier = Modifier) {\n    Card(\n        modifier = modifier,\n        shape = RoundedCornerShape(24.dp),\n        colors = CardDefaults.cardColors(containerColor = Color.White),\n        elevation = CardDefaults.cardElevation(defaultElevation = 2.dp)\n    ) {\n        Text(title, fontWeight = FontWeight.Bold, modifier = Modifier.padding(24.dp))\n    }\n}\n```\n- While `LazyVerticalGrid` exists, for highly specific irregular bento layouts, manually building rows and columns with `weight(1f)` is often much more reliable.\n- Use `Arrangement.spacedBy(16.dp)` on both Columns and Rows to ensure mathematically perfect gutters.\n\n## Do's and Don'ts\n- **DO**: Mix sizes! A bento box is boring if every cell is 1x1. Use 2x1, 1x2, and 2x2 cells to create visual interest.\n- **DON'T**: Clutter the inside of a bento card. If it needs a lot of elements, break it into multiple cards.\n\n## Limitations\n- This is a styling reference and does not replace environment-specific validation, accessibility testing, or expert review.\n- Ensure appropriate contrast ratios and responsive behaviors are verified separately.\n","# Bento UI\n\n> \"Everything in its right place. A highly structured, modular grid of distinct compartments.\"\n\n\n## When to Use\nUse this sub-style when the user's request matches the aesthetic described above. This is a child reference of the `design-it` skill and is not meant to be triggered directly.\n\n## Core Principles\n1. **Strict Grid Structure**: The entire UI is built on a responsive, multi-column grid (usually 3x3, 4x4, or irregular masonry).\n2. **Rounded Compartments**: Every distinct piece of content lives inside a card (compartment) with consistent, usually large, border-radius.\n3. **Equal Spacing**: The gap between compartments must be perfectly consistent everywhere.\n\n## Visual DNA\n- **Colors**: Highly adaptable, but looks incredibly premium with **Minimalist Slate** or **Yacht Club**. Often uses a slightly off-white or light gray background to make the white compartments pop.\n- **Typography**: Apple-esque (e.g., `SF Pro`, `Inter`). Headlines are usually bold and placed at the top-left or bottom-left of each compartment.\n- **Visuals**: Often relies on high-quality, edge-to-edge images or single, large 3D icons inside specific grid cells to break up text-heavy cards.\n\n## Web Implementation\n- CSS Grid is mandatory. Flexbox is too difficult to maintain the strict 2D structure.\n- **CSS Example**:\n```css\n.bento-container {\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  grid-auto-rows: 200px;\n  gap: 24px;\n  padding: 24px;\n  background-color: var(--bg-primary); \u002F* Slightly darker than cards *\u002F\n}\n\n.bento-card {\n  background-color: #fff;\n  border-radius: 32px; \u002F* Very large border radius *\u002F\n  padding: 32px;\n  box-shadow: 0 4px 24px rgba(0,0,0,0.04);\n  \u002F* Optional: subtle 1px border for crispness *\u002F\n  border: 1px solid rgba(0,0,0,0.05);\n  \n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n}\n\n\u002F* Creating spans for different bento sizes *\u002F\n.bento-span-2 { grid-column: span 2; }\n.bento-span-2-row { grid-row: span 2; }\n.bento-large { grid-column: span 2; grid-row: span 2; }\n```\n\n## App Implementation\n\n### SwiftUI\n```swift\nstruct BentoGrid: View {\n    let columns = [\n        GridItem(.flexible(), spacing: 16),\n        GridItem(.flexible(), spacing: 16)\n    ]\n    \n    var body: some View {\n        ScrollView {\n            LazyVGrid(columns: columns, spacing: 16) {\n                \u002F\u002F 2x1 Span (Full width)\n                BentoCard(title: \"Hero\", color: .blue)\n                    .frame(height: 180)\n                \n                \u002F\u002F 1x1 Spans\n                BentoCard(title: \"Stats\", color: .green)\n                    .frame(height: 180)\n                BentoCard(title: \"Graph\", color: .purple)\n                    .frame(height: 180)\n                \n                \u002F\u002F 1x2 Span (Tall)\n                BentoCard(title: \"Activity\", color: .orange)\n                    .frame(height: 376) \u002F\u002F (180 * 2) + 16 spacing\n                \n                \u002F\u002F 1x1 Spans next to the tall one\n                VStack(spacing: 16) {\n                    BentoCard(title: \"A\", color: .pink).frame(height: 180)\n                    BentoCard(title: \"B\", color: .cyan).frame(height: 180)\n                }\n            }\n            .padding(16)\n        }\n        .background(Color(.systemGroupedBackground))\n    }\n}\n\nstruct BentoCard: View {\n    let title: String\n    let color: Color\n    var body: some View {\n        RoundedRectangle(cornerRadius: 24)\n            .fill(Color(.secondarySystemGroupedBackground))\n            .overlay(\n                Text(title).font(.headline).foregroundColor(color),\n                alignment: .topLeading\n            )\n            .padding(16)\n            \u002F\u002F Soft bento shadow\n            .shadow(color: .black.opacity(0.04), radius: 12, x: 0, y: 4)\n    }\n}\n```\n- Use `LazyVGrid` for uniform grids.\n- For complex irregular bento layouts (like 1x2 spans), you often have to mix `VStack` and `HStack` inside the grid cells to fake the spans.\n- Maintain absolute consistency with `cornerRadius` (usually 24-32pt) and `spacing` (usually 16pt).\n\n### Flutter\n```dart\nimport 'package:flutter_staggered_grid_view\u002Fflutter_staggered_grid_view.dart';\n\nclass BentoScreen extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      backgroundColor: Colors.grey[100],\n      body: SingleChildScrollView(\n        padding: const EdgeInsets.all(16),\n        child: StaggeredGrid.count(\n          crossAxisCount: 4, \u002F\u002F 4 columns total\n          mainAxisSpacing: 16,\n          crossAxisSpacing: 16,\n          children: const [\n            \u002F\u002F 2x1 (Full width in a 2-col layout, spans 4)\n            StaggeredGridTile.count(\n              crossAxisCellCount: 4,\n              mainAxisCellCount: 2,\n              child: BentoCard(title: 'Hero'),\n            ),\n            \u002F\u002F 1x1\n            StaggeredGridTile.count(\n              crossAxisCellCount: 2,\n              mainAxisCellCount: 2,\n              child: BentoCard(title: 'Stats'),\n            ),\n            \u002F\u002F 1x1\n            StaggeredGridTile.count(\n              crossAxisCellCount: 2,\n              mainAxisCellCount: 2,\n              child: BentoCard(title: 'Graph'),\n            ),\n            \u002F\u002F 1x2 (Tall)\n            StaggeredGridTile.count(\n              crossAxisCellCount: 2,\n              mainAxisCellCount: 4,\n              child: BentoCard(title: 'Activity'),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n}\n\nclass BentoCard extends StatelessWidget {\n  final String title;\n  const BentoCard({required this.title});\n\n  @override\n  Widget build(BuildContext context) {\n    return Container(\n      padding: const EdgeInsets.all(24),\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(24),\n        boxShadow: [\n          BoxShadow(\n            color: Colors.black.withOpacity(0.04),\n            blurRadius: 12,\n            offset: const Offset(0, 4),\n          ),\n        ],\n      ),\n      alignment: Alignment.topLeft,\n      child: Text(title, style: const TextStyle(fontWeight: FontWeight.bold)),\n    );\n  }\n}\n```\n- The `flutter_staggered_grid_view` package is practically mandatory for complex Bento grids in Flutter.\n- Use `StaggeredGridTile.count` to explicitly declare the `crossAxis` and `mainAxis` span of each compartment.\n\n### React Native\n```jsx\nconst BentoScreen = () => {\n  return (\n    \u003CScrollView \n      style={{ flex: 1, backgroundColor: '#F2F2F7' }}\n      contentContainerStyle={{ padding: 16 }}\n    >\n      {\u002F* 2x1 Span *\u002F}\n      \u003CView style={[styles.bentoCard, { height: 180, marginBottom: 16 }]}>\n        \u003CText style={styles.title}>Hero\u003C\u002FText>\n      \u003C\u002FView>\n\n      \u003CView style={{ flexDirection: 'row', gap: 16, marginBottom: 16 }}>\n        {\u002F* 1x1 Spans *\u002F}\n        \u003CView style={[styles.bentoCard, { flex: 1, height: 180 }]}>\n          \u003CText style={styles.title}>Stats\u003C\u002FText>\n        \u003C\u002FView>\n        \u003CView style={[styles.bentoCard, { flex: 1, height: 180 }]}>\n          \u003CText style={styles.title}>Graph\u003C\u002FText>\n        \u003C\u002FView>\n      \u003C\u002FView>\n\n      \u003CView style={{ flexDirection: 'row', gap: 16 }}>\n        {\u002F* 1x2 Span (Tall) *\u002F}\n        \u003CView style={[styles.bentoCard, { flex: 1, height: 376 }]}>\n          \u003CText style={styles.title}>Activity\u003C\u002FText>\n        \u003C\u002FView>\n        \n        \u003CView style={{ flex: 1, gap: 16 }}>\n          {\u002F* Stacked 1x1s *\u002F}\n          \u003CView style={[styles.bentoCard, { height: 180 }]}>\n            \u003CText style={styles.title}>A\u003C\u002FText>\n          \u003C\u002FView>\n          \u003CView style={[styles.bentoCard, { height: 180 }]}>\n            \u003CText style={styles.title}>B\u003C\u002FText>\n          \u003C\u002FView>\n        \u003C\u002FView>\n      \u003C\u002FView>\n    \u003C\u002FScrollView>\n  );\n};\n\nconst styles = StyleSheet.create({\n  bentoCard: {\n    backgroundColor: '#FFFFFF',\n    borderRadius: 24,\n    padding: 24,\n    shadowColor: '#000',\n    shadowOffset: { width: 0, height: 4 },\n    shadowOpacity: 0.04,\n    shadowRadius: 12,\n    elevation: 2,\n  },\n  title: {\n    fontWeight: '700',\n    fontSize: 18,\n  }\n});\n```\n- React Native lacks CSS Grid. You must manually compose the grid using `flexDirection: 'row'` and vertical stacks.\n- The `gap` property in React Native flexbox makes this significantly easier than using margins.\n\n### Jetpack Compose\n```kotlin\n@Composable\nfun BentoGrid() {\n    Column(\n        modifier = Modifier\n            .fillMaxSize()\n            .background(Color(0xFFF2F2F7))\n            .verticalScroll(rememberScrollState())\n            .padding(16.dp),\n        verticalArrangement = Arrangement.spacedBy(16.dp)\n    ) {\n        \u002F\u002F Full width\n        BentoCard(title = \"Hero\", modifier = Modifier.fillMaxWidth().height(180.dp))\n        \n        \u002F\u002F Two columns\n        Row(horizontalArrangement = Arrangement.spacedBy(16.dp)) {\n            BentoCard(title = \"Stats\", modifier = Modifier.weight(1f).height(180.dp))\n            BentoCard(title = \"Graph\", modifier = Modifier.weight(1f).height(180.dp))\n        }\n        \n        \u002F\u002F Complex span: 1x2 left, two 1x1s right\n        Row(horizontalArrangement = Arrangement.spacedBy(16.dp)) {\n            BentoCard(title = \"Activity\", modifier = Modifier.weight(1f).height(376.dp))\n            \n            Column(\n                modifier = Modifier.weight(1f),\n                verticalArrangement = Arrangement.spacedBy(16.dp)\n            ) {\n                BentoCard(title = \"A\", modifier = Modifier.fillMaxWidth().height(180.dp))\n                BentoCard(title = \"B\", modifier = Modifier.fillMaxWidth().height(180.dp))\n            }\n        }\n    }\n}\n\n@Composable\nfun BentoCard(title: String, modifier: Modifier = Modifier) {\n    Card(\n        modifier = modifier,\n        shape = RoundedCornerShape(24.dp),\n        colors = CardDefaults.cardColors(containerColor = Color.White),\n        elevation = CardDefaults.cardElevation(defaultElevation = 2.dp)\n    ) {\n        Text(title, fontWeight = FontWeight.Bold, modifier = Modifier.padding(24.dp))\n    }\n}\n```\n- While `LazyVerticalGrid` exists, for highly specific irregular bento layouts, manually building rows and columns with `weight(1f)` is often much more reliable.\n- Use `Arrangement.spacedBy(16.dp)` on both Columns and Rows to ensure mathematically perfect gutters.\n\n## Do's and Don'ts\n- **DO**: Mix sizes! A bento box is boring if every cell is 1x1. Use 2x1, 1x2, and 2x2 cells to create visual interest.\n- **DON'T**: Clutter the inside of a bento card. If it needs a lot of elements, break it into multiple cards.\n\n## Limitations\n- This is a styling reference and does not replace environment-specific validation, accessibility testing, or expert review.\n- Ensure appropriate contrast ratios and responsive behaviors are verified separately.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7,"source_type":25},"safe","self","2026-06-17","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fdesign-it\u002Fbento-ui",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill bento-ui",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill bento-ui",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill bento-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign-it\u002Fbento-ui\u002FSKILL.md",true,[],[50,57,62,69,76,83],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":58,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"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},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\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":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]