Skip to main content

mobile-ui

Mobile UI design and implementation

来源信息

仓库
ffsshhttiikk/opencode-agents-skills
最近来源活动
2026年2月28日 22:52
检测到的 SKILL.md 语言
英语
星标
3
Forks
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
mobile-ui
description
Mobile UI design and implementation
license
MIT
compatibility
opencode
metadata
{"audience":"mobile-developers","category":"mobile-development"}
## What I do - Design intuitive mobile user interfaces - Implement responsive layouts for various screen sizes - Create consistent navigation patterns - Build accessible mobile experiences - Optimize UI performance - Design for different platform conventions (iOS vs Android) - Implement animations and transitions ## When to use me Use me when: - Designing new mobile app screens - Improving existing app usability - Implementing platform-specific UI patterns - Creating accessible mobile experiences - Building custom UI components - Optimizing UI rendering performance ## Key Concepts ### Platform Design Guidelines - **iOS**: Apple Human Interface Guidelines (HUD, gesture-driven, depth) - **Android**: Material Design 3 (material surfaces, motion, theming) - **Cross-platform**: Balance consistency with platform expectations ### Responsive Layout Principles ```kotlin // Android ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent"> <TextView android:id="@+id/title" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintWidth_max="600dp" /> <Button app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> ``` ### Navigation Patterns - **Tab-based**: Bottom navigation for equal priorities - **Stack**: Drill-down navigation - **Drawer**: Side navigation for many items - **Modal**: Focused tasks, forms ### Accessibility (a11y) - Minimum touch targets: 48x48dp - Color contrast ratios (4.5:1 minimum) - Screen reader support (TalkBack, VoiceOver) - Content descriptions for images - Focus management for navigation ### Animation Principles - Duration: 200-300ms for most transitions - Easing: Accelerate/decelerate curves - Respect motion preferences (reduce motion setting) - 60fps target for smooth experience
在 GitHub 查看