内容创作
#design
mobile-android-design
Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=wshobson-agents-plugins-ui-design-skills-mobile-android-design-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name mobile-android-design description Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines. Android Mobile Design Master Material Design 3 (Material You) and Jetpack Compose to build modern, adaptive Android applications that integrate seamlessly with the Android ecosystem. When to Use This Skill Designing Android app interfaces following Material Design 3 Building Jetpack Compose UI and layouts Implementing Android navigation patterns (Navigation Compose) Creating adaptive layouts for phones, tablets, and foldables Using Material 3 theming with dynamic colors Building accessible Android interfaces Implementing Android-specific gestures and interactions Designing for different screen configurations Detailed section: Core Concepts Originally a 9201-byte section in this SKILL.md. Moved to references/details.md to fit Codex's 8 KB skill body cap. Quick Start Component @Composable fun ItemListCard ( item: Item , onItemClick: () -> Unit , modifier: Modifier = Modifier ) { Card( onClick = onItemClick, modifier = modifier.fillMaxWidth(), shape = RoundedCornerShape( 12. dp) ) { Row( modifier = Modifier .padding( 16. dp) .fillMaxWidth(), verticalAlignment = Alignment.CenterVertically ) { Box( modifier = Modifier .size( 48. dp) .clip(CircleShape) .background(MaterialTheme.colorScheme.primaryContainer), contentAlignment = Alignment.Center ) { Icon( imageVector = Icons.Default.Star, contentDescription = null , tint = MaterialTheme.colorScheme.onPrimaryContainer ) } Spacer(modifier = Modifier.width( 16. dp)) Column(modifier = Modifier.weight( 1f )) { Text( text = item.title, style = MaterialTheme.typography.titleMedium ) Text( text = item.subtitle, style = MaterialTheme.typography.bodyMedium, color = MaterialTheme.colorScheme.onSurfaceVariant ) } Icon( imageVector = Icons.Default.ChevronRight, contentDescription = null , tint = MaterialTheme.colorScheme.onSurfaceVariant ) } } } Best Practices Use Material Theme : Access colors via MaterialTheme.colorScheme for automatic dark mode support Support Dynamic Color : Enable dynamic color on Android 12+ for personalization Adaptive Layouts : Use WindowSizeClass for responsive designs Content Descriptions : Add contentDescription to all interactive elements Touch Targets : Minimum 48dp touch targets for accessibility State Hoisting : Hoist state to make components reusable and testable Remember Properly : Use remember and rememberSaveable appropriately Preview Annotations : Add @Preview with different configurations Common Issues Recomposition Issues : Avoid passing unstable lambdas; use remember State Loss : Use rememberSaveable for configuration changes Performance : Use LazyColumn instead of Column for long lists Theme Leaks : Ensure MaterialTheme wraps all composables Navigation Crashes : Handle back press and deep links properly Memory Leaks : Cancel coroutines in DisposableEffect
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |