Master mobile UX - iOS HIG, Material Design, gestures, responsive design, platform optimization
Resources
3Install
npx skillscat add pluginagentmarketplace/custom-plugin-ux-design/mobile-ux Install via the SkillsCat registry.
SKILL.md
Mobile UX Skill
Atomic Skill: Design native-feeling mobile experiences for iOS and Android platforms
Purpose
This skill provides platform-specific guidance for creating optimal mobile user experiences.
Skill Invocation
Skill("custom-plugin-ux-design:mobile-ux")Parameter Schema
Input Parameters
interface MobileUXParams {
// Required
task: "ios" | "android" | "cross-platform" | "responsive" | "gesture";
scope: string;
// Optional
platform_priority?: "ios" | "android" | "equal";
app_type?: "native" | "hybrid" | "pwa";
device_targets?: ("phone" | "tablet" | "foldable")[];
os_versions?: {
ios?: string;
android?: string;
};
}Validation Rules
task:
type: enum
required: true
values: [ios, android, cross-platform, responsive, gesture]
scope:
type: string
required: true
min_length: 5
platform_priority:
type: enum
default: "equal"Execution Flow
MOBILE UX EXECUTION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Step 1: ANALYZE REQUIREMENTS
โโโ Identify target platforms
โโโ Define device matrix
โโโ Set priority platform
Step 2: RESEARCH GUIDELINES
โโโ Review platform HIG
โโโ Study native patterns
โโโ Identify constraints
Step 3: DESIGN PATTERNS
โโโ Navigation structure
โโโ Touch interactions
โโโ Platform-specific components
โโโ Gesture mapping
Step 4: ADAPT FOR PLATFORMS
โโโ iOS adaptations
โโโ Android adaptations
โโโ Cross-platform unification
โโโ Responsive breakpoints
Step 5: VALIDATE
โโโ Test on device matrix
โโโ Verify platform compliance
โโโ Document exceptions
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโRetry Logic
retry_config:
max_attempts: 3
backoff_type: exponential
initial_delay_ms: 1000
max_delay_ms: 10000
retryable_errors:
- DEVICE_SYNC_FAILED
- PREVIEW_TIMEOUTLogging Hooks
interface MobileUXLog {
timestamp: string;
event: "pattern_selected" | "adaptation_created" | "device_tested";
platform: string;
device: string;
compliance_score: number;
}Learning Modules
Module 1: iOS Human Interface Guidelines
iOS DESIGN PRINCIPLES
โโโ Clarity (legible, clear icons)
โโโ Deference (content first)
โโโ Depth (layers, motion)
iOS NAVIGATION
โโโ Tab bar (5 max)
โโโ Navigation bar
โโโ Tool bar
โโโ Side bar (iPad)
โโโ Search
iOS COMPONENTS
โโโ SF Symbols
โโโ System controls
โโโ Sheets
โโโ Popovers
โโโ Action sheetsModule 2: Material Design 3
MATERIAL PRINCIPLES
โโโ Material as metaphor
โโโ Bold, graphic, intentional
โโโ Motion provides meaning
MATERIAL NAVIGATION
โโโ Bottom navigation
โโโ Navigation drawer
โโโ Navigation rail
โโโ Tabs
โโโ Search
MATERIAL COMPONENTS
โโโ FAB (Floating Action Button)
โโโ Cards
โโโ Chips
โโโ Dialogs
โโโ Bottom sheetsModule 3: Touch & Gestures
TOUCH TARGETS
โโโ iOS: 44x44 pt minimum
โโโ Android: 48x48 dp minimum
โโโ Spacing: 8dp between targets
STANDARD GESTURES
โโโ Tap (select, activate)
โโโ Long press (context menu)
โโโ Swipe (navigate, actions)
โโโ Pinch (zoom)
โโโ Rotate (rotate content)
โโโ Pan (scroll, move)
โโโ Edge swipe (back navigation)
GESTURE CONFLICTS
โโโ System gesture areas
โโโ Platform-specific gestures
โโโ Custom gesture rulesModule 4: Responsive Mobile Design
BREAKPOINTS
โโโ Small phone: 320-375pt
โโโ Regular phone: 375-414pt
โโโ Large phone: 414-428pt
โโโ Small tablet: 768-834pt
โโโ Large tablet: 834-1024pt
โโโ Foldable: Variable
ADAPTIVE LAYOUTS
โโโ Compact (phone portrait)
โโโ Regular (phone landscape, tablet)
โโโ Expanded (tablet landscape)
SAFE AREAS
โโโ Status bar
โโโ Home indicator
โโโ Notch/Dynamic Island
โโโ Gesture areas
โโโ Camera cutoutsModule 5: Platform Optimization
PERFORMANCE
โโโ 60fps animations
โโโ Lazy loading
โโโ Image optimization
โโโ Memory management
โโโ Network efficiency
NATIVE FEEL
โโโ Platform animations
โโโ Haptic feedback
โโโ System sounds
โโโ Platform typography
โโโ Native controlsPlatform Comparison
| Aspect | iOS (HIG) | Android (Material) |
|---|---|---|
| Touch target | 44x44 pt | 48x48 dp |
| Navigation | Tab bar (bottom) | Bottom nav / Drawer |
| Back navigation | Swipe edge, button | System back |
| Typography | SF Pro | Roboto |
| Icons | SF Symbols | Material Icons |
| Elevation | Subtle | Card elevation |
| Haptics | Taptic Engine | Vibration patterns |
Error Handling
| Error Code | Description | Recovery |
|---|---|---|
MUX-001 |
Touch target too small | Increase size |
MUX-002 |
Platform violation | Use native pattern |
MUX-003 |
Gesture conflict | Redesign gesture |
MUX-004 |
Safe area ignored | Add insets |
MUX-005 |
Layout overflow | Use flexible layout |
Troubleshooting
Problem: App doesn't feel native
Diagnosis:
โโโ Check: Navigation patterns
โโโ Check: Component usage
โโโ Check: Animation timing
โโโ Solution: Align with platform
Steps:
1. Audit against HIG/Material
2. Replace custom with native
3. Match platform animations
4. Test with platform usersProblem: Touch interactions unreliable
Diagnosis:
โโโ Check: Touch target sizes
โโโ Check: Gesture areas
โโโ Check: Feedback timing
โโโ Solution: Optimize touch
Steps:
1. Measure all targets
2. Increase to minimum
3. Add haptic feedback
4. Test with real devicesUnit Test Templates
describe("MobileUXSkill", () => {
describe("platform compliance", () => {
it("should meet iOS touch target requirements", async () => {
const result = await invoke({
task: "ios",
scope: "button component"
});
expect(result.touch_target.width).toBeGreaterThanOrEqual(44);
expect(result.touch_target.height).toBeGreaterThanOrEqual(44);
});
it("should meet Android touch target requirements", async () => {
const result = await invoke({
task: "android",
scope: "button component"
});
expect(result.touch_target.width).toBeGreaterThanOrEqual(48);
expect(result.touch_target.height).toBeGreaterThanOrEqual(48);
});
});
describe("responsive adaptation", () => {
it("should provide breakpoint specifications", async () => {
const result = await invoke({
task: "responsive",
scope: "navigation layout"
});
expect(result.breakpoints.compact).toBeDefined();
expect(result.breakpoints.regular).toBeDefined();
});
});
});Quality Metrics
| Metric | Target | Measurement |
|---|---|---|
| Platform compliance | > 95% | HIG/Material audit |
| Touch target compliance | 100% | Size verification |
| Device coverage | > 90% | Matrix testing |
| Performance score | > 90 | Lighthouse/tools |
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2025-12-30 | Production-grade upgrade |