[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DD9MMD5M2VBJ1EQ7FYDZN1":3,"skill-same:01M7DD9MMD5M2VBJ1EQ7FYDZN1":51},{"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":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7DD9MMD5M2VBJ1EQ7FYDZN1","dashboard-design",null,"Web and App implementation guide for Dashboard Design. Trigger when user wants analytics-focused layouts, data visualization, and modular overview screens.","Marvellbrazil\u002Fmy-agentic-skills","Marvellbrazil","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184349613?v=4","01M7DCJPCRHP7SZS0T5H1GJZ8F","Marvello Faisal","01M7DCJPDCZDB94VG0QXGC6RC3",5,"MIT","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-it\u002Fdashboard-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dashboard-design\ndescription: Web and App implementation guide for Dashboard Design. Trigger when user wants analytics-focused layouts, data visualization, and modular overview screens.\ndate_added: \"2026-06-17\"\nrisk: safe\nsource: self\nsource_type: self\n---\n\n# Dashboard Design\n\n> \"Data at a glance. Organized, scannable, and highly functional.\"\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. **Modular Grid**: The screen is broken down into functional \"widgets\" or cards. Usually a sidebar on the left and a top nav.\n2. **Data Hierarchy**: The most important numbers (KPIs) are large and usually at the top. Charts take up the middle, and lists\u002Ftables are at the bottom.\n3. **Muted Backgrounds**: A soft grey or off-white background so the white data cards stand out clearly.\n\n## Visual DNA\n- **Colors**: **Minimalist Slate** or **Earth-Grounded Elegance**. Avoid too many colors. Use red\u002Fgreen strictly for positive\u002Fnegative trends.\n- **Typography**: Clean, tabular sans-serifs (`Inter`, `Roboto Mono` for numbers).\n- **Styling**: Very subtle shadows or 1px borders to separate cards.\n\n## Web Implementation\n- Use CSS Grid for the macro layout (Sidebar, Header, Main).\n- **CSS Example**:\n```css\nbody {\n  background-color: #F8F9FA;\n  color: #212529;\n  font-family: 'Inter', sans-serif;\n  margin: 0;\n}\n\n.dashboard-layout {\n  display: grid;\n  grid-template-columns: 250px 1fr;\n  grid-template-rows: 70px 1fr;\n  height: 100vh;\n}\n\n.sidebar {\n  grid-row: 1 \u002F 3;\n  background-color: #ffffff;\n  border-right: 1px solid #e9ecef;\n  padding: 20px;\n}\n\n.header {\n  background-color: #ffffff;\n  border-bottom: 1px solid #e9ecef;\n  padding: 0 30px;\n  display: flex;\n  align-items: center;\n}\n\n.main-content {\n  padding: 30px;\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  gap: 20px;\n  overflow-y: auto;\n}\n\n\u002F* KPI Card *\u002F\n.kpi-card {\n  background: #fff;\n  border-radius: 8px;\n  padding: 24px;\n  border: 1px solid #e9ecef;\n  box-shadow: 0 2px 4px rgba(0,0,0,0.02);\n}\n\n.kpi-title { font-size: 0.9rem; color: #6c757d; }\n.kpi-value { font-size: 2rem; font-weight: 700; margin-top: 8px; }\n.kpi-trend.positive { color: #28a745; }\n```\n\n## App Implementation\n\n### SwiftUI\n```swift\nstruct DashboardView: View {\n    \u002F\u002F For iPad\u002FMac, NavigationSplitView is ideal.\n    \u002F\u002F For iPhone, we use a scrolling VGrid.\n    let columns = [\n        GridItem(.adaptive(minimum: 150), spacing: 16)\n    ]\n    \n    var body: some View {\n        NavigationView {\n            ScrollView {\n                LazyVGrid(columns: columns, spacing: 16) {\n                    KPICard(title: \"Revenue\", value: \"$45,231\", trend: \"+12.5%\", isPositive: true)\n                    KPICard(title: \"Active Users\", value: \"2,405\", trend: \"+4.1%\", isPositive: true)\n                    KPICard(title: \"Churn Rate\", value: \"1.2%\", trend: \"-0.4%\", isPositive: false)\n                    KPICard(title: \"Avg. Session\", value: \"4m 12s\", trend: \"+0.1%\", isPositive: true)\n                }\n                .padding()\n                \n                \u002F\u002F Placeholder for Chart\n                RoundedRectangle(cornerRadius: 12)\n                    .fill(Color.white)\n                    .frame(height: 250)\n                    .overlay(Text(\"Chart Area\").foregroundColor(.gray))\n                    .padding(.horizontal)\n            }\n            .background(Color(UIColor.systemGroupedBackground))\n            .navigationTitle(\"Overview\")\n        }\n    }\n}\n\nstruct KPICard: View {\n    let title: String\n    let value: String\n    let trend: String\n    let isPositive: Bool\n    \n    var body: some View {\n        VStack(alignment: .leading, spacing: 8) {\n            Text(title).font(.subheadline).foregroundColor(.secondary)\n            Text(value).font(.title2).fontWeight(.bold)\n            Text(trend)\n                .font(.caption)\n                .fontWeight(.semibold)\n                .foregroundColor(isPositive ? .green : .red)\n        }\n        .padding()\n        .frame(maxWidth: .infinity, alignment: .leading)\n        .background(Color.white)\n        .cornerRadius(12)\n        .shadow(color: Color.black.opacity(0.02), radius: 4, y: 2)\n    }\n}\n```\n- Dashboards require `.adaptive` grids. `LazyVGrid` handles rearranging 4 cards in a row on iPad down to 2 cards on iPhone automatically.\n- Use `Color(UIColor.systemGroupedBackground)` to provide that subtle off-white contrast against stark white cards.\n\n### Flutter\n```dart\nclass DashboardScreen extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      backgroundColor: const Color(0xFFF8F9FA),\n      appBar: AppBar(\n        title: const Text('Overview', style: TextStyle(color: Colors.black)),\n        backgroundColor: Colors.white,\n        elevation: 1,\n      ),\n      \u002F\u002F On tablets, use a Row with NavigationRail. On mobile, use Drawer.\n      drawer: const Drawer(), \n      body: CustomScrollView(\n        slivers: [\n          SliverPadding(\n            padding: const EdgeInsets.all(16),\n            sliver: SliverGrid.extent(\n              maxCrossAxisExtent: 200, \u002F\u002F Adapts layout based on width\n              mainAxisSpacing: 16,\n              crossAxisSpacing: 16,\n              childAspectRatio: 1.5,\n              children: [\n                _buildKPI('Revenue', '\\$45,231', '+12.5%', true),\n                _buildKPI('Active Users', '2,405', '+4.1%', true),\n                _buildKPI('Churn Rate', '1.2%', '-0.4%', false),\n                _buildKPI('Avg. Session', '4m 12s', '+0.1%', true),\n              ],\n            ),\n          ),\n          SliverPadding(\n            padding: const EdgeInsets.symmetric(horizontal: 16),\n            sliver: SliverToBoxAdapter(\n              child: Container(\n                height: 250,\n                decoration: BoxDecoration(color: Colors.white, borderRadius: BorderRadius.circular(12)),\n                child: const Center(child: Text('Chart Area', style: TextStyle(color: Colors.grey))),\n              ),\n            ),\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget _buildKPI(String title, String value, String trend, bool isPositive) {\n    return Container(\n      padding: const EdgeInsets.all(16),\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(12),\n        border: Border.all(color: Colors.grey[200]!),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        mainAxisAlignment: MainAxisAlignment.center,\n        children: [\n          Text(title, style: const TextStyle(color: Colors.grey, fontSize: 14)),\n          const SizedBox(height: 8),\n          Text(value, style: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold)),\n          Text(trend, style: TextStyle(color: isPositive ? Colors.green : Colors.red, fontWeight: FontWeight.w600)),\n        ],\n      ),\n    );\n  }\n}\n```\n- `SliverGrid.extent` with a `maxCrossAxisExtent` is the responsive magic bullet for Flutter dashboards. It handles varying screen widths flawlessly.\n- For charts, the `fl_chart` package is the gold standard in Flutter.\n\n### React Native\n```jsx\nconst DashboardScreen = () => {\n  return (\n    \u003CScrollView style={{ flex: 1, backgroundColor: '#F8F9FA' }}>\n      \u003CView style={{ padding: 16, flexDirection: 'row', flexWrap: 'wrap', gap: 16 }}>\n        \u003CKPICard title=\"Revenue\" value=\"$45,231\" trend=\"+12.5%\" isPositive={true} \u002F>\n        \u003CKPICard title=\"Users\" value=\"2,405\" trend=\"+4.1%\" isPositive={true} \u002F>\n        \u003CKPICard title=\"Churn\" value=\"1.2%\" trend=\"-0.4%\" isPositive={false} \u002F>\n        \u003CKPICard title=\"Session\" value=\"4m 12s\" trend=\"+0.1%\" isPositive={true} \u002F>\n      \u003C\u002FView>\n      \n      \u003CView style={{ paddingHorizontal: 16, paddingBottom: 32 }}>\n        \u003CView style={{ height: 250, backgroundColor: '#FFF', borderRadius: 12, justifyContent: 'center', alignItems: 'center' }}>\n          \u003CText style={{ color: '#999' }}>Chart Area\u003C\u002FText>\n        \u003C\u002FView>\n      \u003C\u002FView>\n    \u003C\u002FScrollView>\n  );\n};\n\nconst KPICard = ({ title, value, trend, isPositive }) => (\n  \u003CView style={{\n    backgroundColor: '#FFF',\n    padding: 16,\n    borderRadius: 8,\n    borderWidth: 1,\n    borderColor: '#E9ECEF',\n    flexBasis: '47%', \u002F\u002F roughly half width minus gap\n    minWidth: 150\n  }}>\n    \u003CText style={{ color: '#6C757D', fontSize: 14, marginBottom: 4 }}>{title}\u003C\u002FText>\n    \u003CText style={{ fontSize: 22, fontWeight: '700', marginBottom: 4 }}>{value}\u003C\u002FText>\n    \u003CText style={{ color: isPositive ? '#28A745' : '#DC3545', fontWeight: '600', fontSize: 12 }}>{trend}\u003C\u002FText>\n  \u003C\u002FView>\n);\n```\n- To make responsive flex grids in React Native, use `flexDirection: 'row'`, `flexWrap: 'wrap'`, and set the children to `flexBasis: '47%'`.\n- For heavy data visualization, look into `victory-native` or `@shopify\u002Freact-native-skia`.\n\n### Jetpack Compose\n```kotlin\n@Composable\nfun DashboardScreen() {\n    Column(\n        modifier = Modifier\n            .fillMaxSize()\n            .background(Color(0xFFF8F9FA))\n            .verticalScroll(rememberScrollState())\n    ) {\n        \u002F\u002F Top App Bar substitute\n        Text(\n            text = \"Overview\",\n            style = MaterialTheme.typography.headlineSmall,\n            fontWeight = FontWeight.Bold,\n            modifier = Modifier.padding(16.dp)\n        )\n\n        \u002F\u002F KPI Grid\n        LazyVerticalGrid(\n            columns = GridCells.Adaptive(minSize = 150.dp),\n            contentPadding = PaddingValues(horizontal = 16.dp),\n            horizontalArrangement = Arrangement.spacedBy(16.dp),\n            verticalArrangement = Arrangement.spacedBy(16.dp),\n            modifier = Modifier.heightIn(max = 400.dp) \u002F\u002F Bound the grid height in scrollview\n        ) {\n            item { KPICard(\"Revenue\", \"$45,231\", \"+12.5%\", true) }\n            item { KPICard(\"Active Users\", \"2,405\", \"+4.1%\", true) }\n            item { KPICard(\"Churn Rate\", \"1.2%\", \"-0.4%\", false) }\n            item { KPICard(\"Avg. Session\", \"4m 12s\", \"+0.1%\", true) }\n        }\n\n        Spacer(Modifier.height(16.dp))\n\n        \u002F\u002F Chart Area\n        Box(\n            modifier = Modifier\n                .fillMaxWidth()\n                .padding(horizontal = 16.dp)\n                .height(250.dp)\n                .background(Color.White, RoundedCornerShape(12.dp))\n                .border(1.dp, Color(0xFFE9ECEF), RoundedCornerShape(12.dp)),\n            contentAlignment = Alignment.Center\n        ) {\n            Text(\"Chart Area\", color = Color.Gray)\n        }\n        \n        Spacer(Modifier.height(32.dp))\n    }\n}\n\n@Composable\nfun KPICard(title: String, value: String, trend: String, isPositive: Boolean) {\n    Column(\n        modifier = Modifier\n            .background(Color.White, RoundedCornerShape(8.dp))\n            .border(1.dp, Color(0xFFE9ECEF), RoundedCornerShape(8.dp))\n            .padding(16.dp)\n    ) {\n        Text(title, color = Color.Gray, fontSize = 14.sp)\n        Spacer(Modifier.height(4.dp))\n        Text(value, fontSize = 22.sp, fontWeight = FontWeight.Bold)\n        Spacer(Modifier.height(4.dp))\n        Text(trend, color = if (isPositive) Color(0xFF28A745) else Color(0xFFDC3545), fontWeight = FontWeight.SemiBold, fontSize = 12.sp)\n    }\n}\n```\n- `GridCells.Adaptive(minSize = 150.dp)` creates the responsive card layout automatically.\n- Warning: Nesting `LazyVerticalGrid` inside a `Column` with `.verticalScroll` can cause height calculation issues. You must use `.heightIn(max=...)` on the grid, or completely convert the entire layout to a single `LazyVerticalGrid` where the chart is just a `GridItemSpan(maxLineSpan)` element.\n\n## Do's and Don'ts\n- **DO**: Right-align numbers in tables so they are easier to scan and compare.\n- **DON'T**: Clutter cards with unnecessary decorative images. The data is the decoration.\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","# Dashboard Design\n\n> \"Data at a glance. Organized, scannable, and highly functional.\"\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. **Modular Grid**: The screen is broken down into functional \"widgets\" or cards. Usually a sidebar on the left and a top nav.\n2. **Data Hierarchy**: The most important numbers (KPIs) are large and usually at the top. Charts take up the middle, and lists\u002Ftables are at the bottom.\n3. **Muted Backgrounds**: A soft grey or off-white background so the white data cards stand out clearly.\n\n## Visual DNA\n- **Colors**: **Minimalist Slate** or **Earth-Grounded Elegance**. Avoid too many colors. Use red\u002Fgreen strictly for positive\u002Fnegative trends.\n- **Typography**: Clean, tabular sans-serifs (`Inter`, `Roboto Mono` for numbers).\n- **Styling**: Very subtle shadows or 1px borders to separate cards.\n\n## Web Implementation\n- Use CSS Grid for the macro layout (Sidebar, Header, Main).\n- **CSS Example**:\n```css\nbody {\n  background-color: #F8F9FA;\n  color: #212529;\n  font-family: 'Inter', sans-serif;\n  margin: 0;\n}\n\n.dashboard-layout {\n  display: grid;\n  grid-template-columns: 250px 1fr;\n  grid-template-rows: 70px 1fr;\n  height: 100vh;\n}\n\n.sidebar {\n  grid-row: 1 \u002F 3;\n  background-color: #ffffff;\n  border-right: 1px solid #e9ecef;\n  padding: 20px;\n}\n\n.header {\n  background-color: #ffffff;\n  border-bottom: 1px solid #e9ecef;\n  padding: 0 30px;\n  display: flex;\n  align-items: center;\n}\n\n.main-content {\n  padding: 30px;\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  gap: 20px;\n  overflow-y: auto;\n}\n\n\u002F* KPI Card *\u002F\n.kpi-card {\n  background: #fff;\n  border-radius: 8px;\n  padding: 24px;\n  border: 1px solid #e9ecef;\n  box-shadow: 0 2px 4px rgba(0,0,0,0.02);\n}\n\n.kpi-title { font-size: 0.9rem; color: #6c757d; }\n.kpi-value { font-size: 2rem; font-weight: 700; margin-top: 8px; }\n.kpi-trend.positive { color: #28a745; }\n```\n\n## App Implementation\n\n### SwiftUI\n```swift\nstruct DashboardView: View {\n    \u002F\u002F For iPad\u002FMac, NavigationSplitView is ideal.\n    \u002F\u002F For iPhone, we use a scrolling VGrid.\n    let columns = [\n        GridItem(.adaptive(minimum: 150), spacing: 16)\n    ]\n    \n    var body: some View {\n        NavigationView {\n            ScrollView {\n                LazyVGrid(columns: columns, spacing: 16) {\n                    KPICard(title: \"Revenue\", value: \"$45,231\", trend: \"+12.5%\", isPositive: true)\n                    KPICard(title: \"Active Users\", value: \"2,405\", trend: \"+4.1%\", isPositive: true)\n                    KPICard(title: \"Churn Rate\", value: \"1.2%\", trend: \"-0.4%\", isPositive: false)\n                    KPICard(title: \"Avg. Session\", value: \"4m 12s\", trend: \"+0.1%\", isPositive: true)\n                }\n                .padding()\n                \n                \u002F\u002F Placeholder for Chart\n                RoundedRectangle(cornerRadius: 12)\n                    .fill(Color.white)\n                    .frame(height: 250)\n                    .overlay(Text(\"Chart Area\").foregroundColor(.gray))\n                    .padding(.horizontal)\n            }\n            .background(Color(UIColor.systemGroupedBackground))\n            .navigationTitle(\"Overview\")\n        }\n    }\n}\n\nstruct KPICard: View {\n    let title: String\n    let value: String\n    let trend: String\n    let isPositive: Bool\n    \n    var body: some View {\n        VStack(alignment: .leading, spacing: 8) {\n            Text(title).font(.subheadline).foregroundColor(.secondary)\n            Text(value).font(.title2).fontWeight(.bold)\n            Text(trend)\n                .font(.caption)\n                .fontWeight(.semibold)\n                .foregroundColor(isPositive ? .green : .red)\n        }\n        .padding()\n        .frame(maxWidth: .infinity, alignment: .leading)\n        .background(Color.white)\n        .cornerRadius(12)\n        .shadow(color: Color.black.opacity(0.02), radius: 4, y: 2)\n    }\n}\n```\n- Dashboards require `.adaptive` grids. `LazyVGrid` handles rearranging 4 cards in a row on iPad down to 2 cards on iPhone automatically.\n- Use `Color(UIColor.systemGroupedBackground)` to provide that subtle off-white contrast against stark white cards.\n\n### Flutter\n```dart\nclass DashboardScreen extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      backgroundColor: const Color(0xFFF8F9FA),\n      appBar: AppBar(\n        title: const Text('Overview', style: TextStyle(color: Colors.black)),\n        backgroundColor: Colors.white,\n        elevation: 1,\n      ),\n      \u002F\u002F On tablets, use a Row with NavigationRail. On mobile, use Drawer.\n      drawer: const Drawer(), \n      body: CustomScrollView(\n        slivers: [\n          SliverPadding(\n            padding: const EdgeInsets.all(16),\n            sliver: SliverGrid.extent(\n              maxCrossAxisExtent: 200, \u002F\u002F Adapts layout based on width\n              mainAxisSpacing: 16,\n              crossAxisSpacing: 16,\n              childAspectRatio: 1.5,\n              children: [\n                _buildKPI('Revenue', '\\$45,231', '+12.5%', true),\n                _buildKPI('Active Users', '2,405', '+4.1%', true),\n                _buildKPI('Churn Rate', '1.2%', '-0.4%', false),\n                _buildKPI('Avg. Session', '4m 12s', '+0.1%', true),\n              ],\n            ),\n          ),\n          SliverPadding(\n            padding: const EdgeInsets.symmetric(horizontal: 16),\n            sliver: SliverToBoxAdapter(\n              child: Container(\n                height: 250,\n                decoration: BoxDecoration(color: Colors.white, borderRadius: BorderRadius.circular(12)),\n                child: const Center(child: Text('Chart Area', style: TextStyle(color: Colors.grey))),\n              ),\n            ),\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget _buildKPI(String title, String value, String trend, bool isPositive) {\n    return Container(\n      padding: const EdgeInsets.all(16),\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(12),\n        border: Border.all(color: Colors.grey[200]!),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        mainAxisAlignment: MainAxisAlignment.center,\n        children: [\n          Text(title, style: const TextStyle(color: Colors.grey, fontSize: 14)),\n          const SizedBox(height: 8),\n          Text(value, style: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold)),\n          Text(trend, style: TextStyle(color: isPositive ? Colors.green : Colors.red, fontWeight: FontWeight.w600)),\n        ],\n      ),\n    );\n  }\n}\n```\n- `SliverGrid.extent` with a `maxCrossAxisExtent` is the responsive magic bullet for Flutter dashboards. It handles varying screen widths flawlessly.\n- For charts, the `fl_chart` package is the gold standard in Flutter.\n\n### React Native\n```jsx\nconst DashboardScreen = () => {\n  return (\n    \u003CScrollView style={{ flex: 1, backgroundColor: '#F8F9FA' }}>\n      \u003CView style={{ padding: 16, flexDirection: 'row', flexWrap: 'wrap', gap: 16 }}>\n        \u003CKPICard title=\"Revenue\" value=\"$45,231\" trend=\"+12.5%\" isPositive={true} \u002F>\n        \u003CKPICard title=\"Users\" value=\"2,405\" trend=\"+4.1%\" isPositive={true} \u002F>\n        \u003CKPICard title=\"Churn\" value=\"1.2%\" trend=\"-0.4%\" isPositive={false} \u002F>\n        \u003CKPICard title=\"Session\" value=\"4m 12s\" trend=\"+0.1%\" isPositive={true} \u002F>\n      \u003C\u002FView>\n      \n      \u003CView style={{ paddingHorizontal: 16, paddingBottom: 32 }}>\n        \u003CView style={{ height: 250, backgroundColor: '#FFF', borderRadius: 12, justifyContent: 'center', alignItems: 'center' }}>\n          \u003CText style={{ color: '#999' }}>Chart Area\u003C\u002FText>\n        \u003C\u002FView>\n      \u003C\u002FView>\n    \u003C\u002FScrollView>\n  );\n};\n\nconst KPICard = ({ title, value, trend, isPositive }) => (\n  \u003CView style={{\n    backgroundColor: '#FFF',\n    padding: 16,\n    borderRadius: 8,\n    borderWidth: 1,\n    borderColor: '#E9ECEF',\n    flexBasis: '47%', \u002F\u002F roughly half width minus gap\n    minWidth: 150\n  }}>\n    \u003CText style={{ color: '#6C757D', fontSize: 14, marginBottom: 4 }}>{title}\u003C\u002FText>\n    \u003CText style={{ fontSize: 22, fontWeight: '700', marginBottom: 4 }}>{value}\u003C\u002FText>\n    \u003CText style={{ color: isPositive ? '#28A745' : '#DC3545', fontWeight: '600', fontSize: 12 }}>{trend}\u003C\u002FText>\n  \u003C\u002FView>\n);\n```\n- To make responsive flex grids in React Native, use `flexDirection: 'row'`, `flexWrap: 'wrap'`, and set the children to `flexBasis: '47%'`.\n- For heavy data visualization, look into `victory-native` or `@shopify\u002Freact-native-skia`.\n\n### Jetpack Compose\n```kotlin\n@Composable\nfun DashboardScreen() {\n    Column(\n        modifier = Modifier\n            .fillMaxSize()\n            .background(Color(0xFFF8F9FA))\n            .verticalScroll(rememberScrollState())\n    ) {\n        \u002F\u002F Top App Bar substitute\n        Text(\n            text = \"Overview\",\n            style = MaterialTheme.typography.headlineSmall,\n            fontWeight = FontWeight.Bold,\n            modifier = Modifier.padding(16.dp)\n        )\n\n        \u002F\u002F KPI Grid\n        LazyVerticalGrid(\n            columns = GridCells.Adaptive(minSize = 150.dp),\n            contentPadding = PaddingValues(horizontal = 16.dp),\n            horizontalArrangement = Arrangement.spacedBy(16.dp),\n            verticalArrangement = Arrangement.spacedBy(16.dp),\n            modifier = Modifier.heightIn(max = 400.dp) \u002F\u002F Bound the grid height in scrollview\n        ) {\n            item { KPICard(\"Revenue\", \"$45,231\", \"+12.5%\", true) }\n            item { KPICard(\"Active Users\", \"2,405\", \"+4.1%\", true) }\n            item { KPICard(\"Churn Rate\", \"1.2%\", \"-0.4%\", false) }\n            item { KPICard(\"Avg. Session\", \"4m 12s\", \"+0.1%\", true) }\n        }\n\n        Spacer(Modifier.height(16.dp))\n\n        \u002F\u002F Chart Area\n        Box(\n            modifier = Modifier\n                .fillMaxWidth()\n                .padding(horizontal = 16.dp)\n                .height(250.dp)\n                .background(Color.White, RoundedCornerShape(12.dp))\n                .border(1.dp, Color(0xFFE9ECEF), RoundedCornerShape(12.dp)),\n            contentAlignment = Alignment.Center\n        ) {\n            Text(\"Chart Area\", color = Color.Gray)\n        }\n        \n        Spacer(Modifier.height(32.dp))\n    }\n}\n\n@Composable\nfun KPICard(title: String, value: String, trend: String, isPositive: Boolean) {\n    Column(\n        modifier = Modifier\n            .background(Color.White, RoundedCornerShape(8.dp))\n            .border(1.dp, Color(0xFFE9ECEF), RoundedCornerShape(8.dp))\n            .padding(16.dp)\n    ) {\n        Text(title, color = Color.Gray, fontSize = 14.sp)\n        Spacer(Modifier.height(4.dp))\n        Text(value, fontSize = 22.sp, fontWeight = FontWeight.Bold)\n        Spacer(Modifier.height(4.dp))\n        Text(trend, color = if (isPositive) Color(0xFF28A745) else Color(0xFFDC3545), fontWeight = FontWeight.SemiBold, fontSize = 12.sp)\n    }\n}\n```\n- `GridCells.Adaptive(minSize = 150.dp)` creates the responsive card layout automatically.\n- Warning: Nesting `LazyVerticalGrid` inside a `Column` with `.verticalScroll` can cause height calculation issues. You must use `.heightIn(max=...)` on the grid, or completely convert the entire layout to a single `LazyVerticalGrid` where the chart is just a `GridItemSpan(maxLineSpan)` element.\n\n## Do's and Don'ts\n- **DO**: Right-align numbers in tables so they are easier to scan and compare.\n- **DON'T**: Clutter cards with unnecessary decorative images. The data is the decoration.\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","42203fde5eb692ba254e058168ee1af75855fcb4","skills\u002Fdesign-it\u002Fdashboard-design",0,"https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills","skills.marvellofaisal.me","https:\u002F\u002Fgithub.com\u002FMarvellbrazil","marvellofaisal.me","Software Engineering Student | Backend & API Developer | Tech Enthusiast | Homelabber","2026-10-23 22:23:52",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Marvellbrazil\u002Fmy-agentic-skills --skill dashboard-design",{"tool":43,"command":44},"bunx","bunx skills add Marvellbrazil\u002Fmy-agentic-skills --skill dashboard-design",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Marvellbrazil\u002Fmy-agentic-skills --skill dashboard-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-it\u002Fdashboard-design\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7DDQP2F4E42AMTGY0VCJ6G2","writing-guidelines","Review docs\u002Fprose for Writing Guidelines compliance. Use when asked to \"review my docs\", \"check writing style\", \"audit prose\", \"review docs voice and tone\", or \"check this page against the writing handbook\".","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7DDQM00XGSGT8V797C89R2E","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DDQEF1HP9CMH88HMN9MCBA","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DDQA32ZAG7J4PMRXRSQ3NQ","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DDQ5482QSC0FC4NX107FVY","web-perf","Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-perf\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DDQ1GZ7Z2Y67460SJJEMC0","using-agent-skills","Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of work at hand. This is the meta-skill that governs how all other skills are discovered and invoked.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fusing-agent-skills\u002FSKILL.md",[],[]]