AgentSkillsCN

mobile-app-design-mastery

基于Refactoring UI原则,打造符合生产标准的移动应用UI设计。每当您需要:Flutter应用、移动应用、iOS应用、Android应用、移动UI、应用界面、移动导航、底部弹出栏、移动表单、触控目标、移动字体、应用配色方案、移动卡片、列表视图、移动模态框、Tab栏、App Bar、浮动操作按钮时,务必激活此技能。它提供移动设计工作流程、触控优化的间距设计、移动字体的缩放比例,以及平台感知的设计模式。土耳其语:移动应用设计、Flutter设计、应用界面、移动UI、手机应用、Android设计、iOS设计。英语:应用设计、移动界面、触控友好、原生体验、移动UX。

SKILL.md
--- frontmatter
name: mobile-app-design-mastery
description: "Production-grade mobile application UI design based on Refactoring UI principles. ALWAYS activate for: Flutter app, mobile app, iOS app, Android app, mobile UI, app screens, mobile navigation, bottom sheets, mobile forms, touch targets, mobile typography, app color scheme, mobile cards, list views, mobile modals, tab bars, app bars, floating action buttons. Provides mobile design workflow, touch-optimized spacing, mobile typography scale, platform-aware patterns. Turkish: mobil uygulama tasarımı, Flutter tasarım, uygulama arayüzü, mobil UI, telefon uygulaması, Android tasarım, iOS tasarım. English: app design, mobile interface, touch-friendly, native feel, mobile UX."

Mobile App Design Mastery

Production-grade mobile UI design principles adapted from Refactoring UI for Flutter/native apps.


Core Mobile Design Workflow

1. Start with a Screen, Not a Shell

  • Design the core functionality of a single screen first
  • Don't start with navigation, tab bars, or app chrome
  • Work in greyscale first—add color after hierarchy is clear
  • Design for the primary device size, then adapt

2. Establish Mobile Systems

Spacing Scale (dp/logical pixels):

TokenSizeUse Case
xs4Micro gaps, icon padding
sm8Tight, within components
md12Related elements
base16Standard padding
lg24Between sections
xl32Major separation
2xl48Screen margins on tablets

Touch Targets:

PlatformMinimum Size
iOS44×44 pt
Android48×48 dp
Comfortable56×56

Type Scale (sp/pt):

SizeUse Case
11-12Captions, labels
14Body text, default
16Emphasized body
18-20Subheadings
24Screen titles
28-34Large titles (iOS style)

Shadow/Elevation Scale (dp):

LevelElevationUse Case
00Flat surfaces
11-2Cards, tiles
24Raised buttons, app bar
38Bottom sheets, dialogs
416Navigation drawers
524Modals

3. Build Mobile Hierarchy

Mobile screens have limited space—hierarchy is even more critical.

  • Primary: Key action/content (one per screen)
  • Secondary: Supporting info (visible but not competing)
  • Tertiary: Metadata, timestamps (smallest/lightest)

Key principles:

  • Size matters more on mobile—but don't overdo it
  • Use weight and color before increasing size
  • Emphasize by de-emphasizing competing elements
  • Icons need softer colors to balance with text

4. Design for Touch

  • Generous touch targets (minimum 44pt/48dp)
  • Adequate spacing between interactive elements
  • Visual feedback on press (ripples, scale, opacity)
  • Swipe actions for common operations

5. Apply Platform-Aware Depth

  • iOS: Subtle shadows, blur/frosted glass, less elevation
  • Android: Material elevation system, layered surfaces
  • Use depth to indicate interactivity and focus

Mobile Anti-Patterns

NEVER do:

  • Touch targets smaller than 44×44
  • Text smaller than 11sp (illegible)
  • Grey text on colored backgrounds
  • Ambiguous spacing between groups
  • Full-width buttons edge-to-edge without padding
  • Relying on color alone for meaning
  • Ignoring safe areas (notch, home indicator)

Reference Files

TopicFileWhen to Read
Visual hierarchy, labels, emphasismobile-hierarchy.mdBalancing element importance
Spacing, touch targets, layoutmobile-spacing.mdLayout decisions
Typography, fonts, readabilitymobile-typography.mdText styling
Color, themes, dark modemobile-color.mdColor system
Shadows, elevation, layersmobile-depth.mdAdding depth
Components, navigation, patternsmobile-patterns.mdPlatform-specific patterns