mobileui-os 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/AGENTS.md +47 -0
  2. package/CHANGELOG.md +25 -0
  3. package/README.md +78 -0
  4. package/bin/cli.mjs +375 -0
  5. package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
  6. package/knowledge/android/accessibility.md +333 -0
  7. package/knowledge/android/components-controls.md +270 -0
  8. package/knowledge/android/material-design-3.md +174 -0
  9. package/knowledge/android/navigation-patterns.md +212 -0
  10. package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
  11. package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
  12. package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
  13. package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
  14. package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
  15. package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
  16. package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
  17. package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
  18. package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
  19. package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
  20. package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
  21. package/knowledge/apple/Interaction-behaviour.md +1378 -0
  22. package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
  23. package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
  24. package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
  25. package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
  26. package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
  27. package/knowledge/apple/Patterns-templates-composition.md +647 -0
  28. package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
  29. package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
  30. package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
  31. package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
  32. package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
  33. package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
  34. package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
  35. package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
  36. package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
  37. package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
  38. package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
  39. package/knowledge/apple/accessibility.md +2162 -0
  40. package/knowledge/apple/color.md +1933 -0
  41. package/knowledge/apple/component-architecture.md +2208 -0
  42. package/knowledge/apple/components.md +2172 -0
  43. package/knowledge/apple/design-decision-framework.md +1883 -0
  44. package/knowledge/apple/design-review-engine.md +2108 -0
  45. package/knowledge/apple/design-tokens.md +1943 -0
  46. package/knowledge/apple/designing-for-ios.md +1680 -0
  47. package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
  48. package/knowledge/apple/hig-foundation.md +1806 -0
  49. package/knowledge/apple/iconography.md +1903 -0
  50. package/knowledge/apple/interaction-patterns.md +2513 -0
  51. package/knowledge/apple/interaction.md +2141 -0
  52. package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
  53. package/knowledge/apple/ios-components-and-controls.md +1634 -0
  54. package/knowledge/apple/ios-components-patterns.md +1343 -0
  55. package/knowledge/apple/ios-design-system-architecture.md +1520 -0
  56. package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
  57. package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
  58. package/knowledge/apple/ios-forms-and-input.md +1458 -0
  59. package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
  60. package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
  61. package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
  62. package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
  63. package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
  64. package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
  65. package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
  66. package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
  67. package/knowledge/apple/ios-search-and-discovery.md +1456 -0
  68. package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
  69. package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
  70. package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
  71. package/knowledge/apple/layout.md +2331 -0
  72. package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
  73. package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
  74. package/knowledge/apple/motion-and-animation.md +1698 -0
  75. package/knowledge/apple/motion.md +2087 -0
  76. package/knowledge/apple/navigation.md +2281 -0
  77. package/knowledge/apple/responsive-adaptive.md +2159 -0
  78. package/knowledge/apple/screen-architecture.md +2067 -0
  79. package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
  80. package/knowledge/apple/typography.md +1802 -0
  81. package/knowledge/apple/ui-ux inteligence audit.md +106 -0
  82. package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
  83. package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
  84. package/knowledge/apple/visual-materials.md +2189 -0
  85. package/package.json +53 -0
  86. package/principles/design-principles.md +37 -0
  87. package/principles/platform-principles.md +25 -0
  88. package/principles/ux-principles.md +16 -0
  89. package/references/official-links.md +11 -0
  90. package/skills/accessibility-engineer/SKILL.md +125 -0
  91. package/skills/analytics-engineer/SKILL.md +283 -0
  92. package/skills/animation-engineer/SKILL.md +316 -0
  93. package/skills/component-designer/SKILL.md +75 -0
  94. package/skills/component-library-engineer/SKILL.md +140 -0
  95. package/skills/component-library-ops/SKILL.md +155 -0
  96. package/skills/design-system/SKILL.md +77 -0
  97. package/skills/design-token-engineer/SKILL.md +203 -0
  98. package/skills/design-token-pipeline/SKILL.md +277 -0
  99. package/skills/device-lab-engineer/SKILL.md +387 -0
  100. package/skills/forms-engineer/SKILL.md +79 -0
  101. package/skills/internationalization-engineer/SKILL.md +256 -0
  102. package/skills/motion-designer/SKILL.md +77 -0
  103. package/skills/native-data-fetching/SKILL.md +50 -0
  104. package/skills/navigation-architect/SKILL.md +65 -0
  105. package/skills/performance-engineer/SKILL.md +250 -0
  106. package/skills/platform-specialist/SKILL.md +95 -0
  107. package/skills/pre-release-gate/SKILL.md +75 -0
  108. package/skills/screen-designer/SKILL.md +117 -0
  109. package/skills/security-engineer/SKILL.md +375 -0
  110. package/skills/skills.json +134 -0
  111. package/skills/testing-auditor/SKILL.md +62 -0
  112. package/skills/ui-architect/SKILL.md +86 -0
  113. package/skills/ui-implementer/SKILL.md +188 -0
  114. package/skills/ux-architect/SKILL.md +49 -0
  115. package/skills/ux-auditor/SKILL.md +52 -0
  116. package/skills/visual-auditor/SKILL.md +71 -0
  117. package/templates/audit-report.md +29 -0
  118. package/templates/design-tokens.ts +33 -0
  119. package/templates/screen-spec.md +61 -0
  120. package/workflows/new-screen.md +17 -0
  121. package/workflows/pre-release.md +21 -0
  122. package/workflows/redesign.md +14 -0
  123. package/workflows/ui-audit.md +22 -0
@@ -0,0 +1,1499 @@
1
+
2
+ `/android/00-APPLE-TO-ANDROID-ADAPTATION.md`
3
+
4
+ # Apple → Android UI/UX Adaptation Protocol
5
+
6
+ ## Purpose
7
+
8
+ This document instructs the UI/UX agent how to apply the complete skillset developed under `/apple` to Android applications.
9
+
10
+ The `/apple` directory contains the primary UI/UX intelligence.
11
+
12
+ The agent must **reuse the design knowledge, reasoning patterns, workflows, accessibility principles, interaction models, visual systems, and quality standards from `/apple`**, while translating platform-specific behavior into Android conventions.
13
+
14
+ The goal is:
15
+
16
+ > **Preserve the product's identity while making the experience feel intentionally Android-native.**
17
+
18
+ Do not mechanically copy Apple UI patterns onto Android.
19
+
20
+ Do not redesign the product from scratch simply because the target platform changed.
21
+
22
+ Instead:
23
+
24
+ ```text
25
+ APPLE SKILLSET
26
+ ↓
27
+ EXTRACT PLATFORM-INDEPENDENT PRINCIPLE
28
+ ↓
29
+ IDENTIFY APPLE-SPECIFIC BEHAVIOR
30
+ ↓
31
+ FIND ANDROID EQUIVALENT
32
+ ↓
33
+ ADAPT
34
+ ↓
35
+ VALIDATE AGAINST ANDROID
36
+ ```
37
+
38
+ ---
39
+
40
+ # 1. Core Philosophy
41
+
42
+ The agent must distinguish between:
43
+
44
+ ### Product design
45
+
46
+ Things that should remain consistent:
47
+
48
+ ```text
49
+ Brand
50
+ Visual identity
51
+ Content hierarchy
52
+ Product personality
53
+ Core workflows
54
+ Information architecture
55
+ Design tokens
56
+ Typography intent
57
+ Color system
58
+ Component semantics
59
+ Feature behavior
60
+ User goals
61
+ ```
62
+
63
+ ### Platform behavior
64
+
65
+ Things that may need adaptation:
66
+
67
+ ```text
68
+ Navigation
69
+ Gestures
70
+ System controls
71
+ Back behavior
72
+ System bars
73
+ Permissions
74
+ Dialogs
75
+ Sheets
76
+ Menus
77
+ Keyboard behavior
78
+ Accessibility APIs
79
+ Notifications
80
+ Haptics
81
+ System typography
82
+ Platform conventions
83
+ ```
84
+
85
+ The rule is:
86
+
87
+ > **Keep the product consistent. Adapt the platform behavior.**
88
+
89
+ ---
90
+
91
+ # 2. Read the Apple Skills First
92
+
93
+ When working on Android, the agent should still consult `/apple`.
94
+
95
+ Do not create a second independent knowledge base containing duplicate versions of the same design principles.
96
+
97
+ The relationship should be:
98
+
99
+ ```text
100
+ /apple
101
+ │
102
+ │ source knowledge
103
+ ↓
104
+ ANDROID ADAPTATION
105
+ │
106
+ ↓
107
+ Android-native implementation
108
+ ```
109
+
110
+ ---
111
+
112
+ # 3. Reading Flow
113
+
114
+ For an Android task:
115
+
116
+ ```text
117
+ USER REQUEST
118
+ ↓
119
+ ANDROID ADAPTATION PROTOCOL
120
+ ↓
121
+ UNDERSTAND TASK
122
+ ↓
123
+ READ RELEVANT /apple SKILLS
124
+ ↓
125
+ IDENTIFY PLATFORM-SPECIFIC RULES
126
+ ↓
127
+ MAP APPLE → ANDROID
128
+ ↓
129
+ DESIGN / IMPLEMENT
130
+ ↓
131
+ ANDROID VALIDATION
132
+ ↓
133
+ ACCESSIBILITY
134
+ ↓
135
+ PERFORMANCE
136
+ ↓
137
+ DEVICE / VERSION TESTING
138
+ ↓
139
+ REFINE
140
+ ↓
141
+ DELIVER
142
+ ```
143
+
144
+ ---
145
+
146
+ # 4. Never Read Every Apple File Automatically
147
+
148
+ Use the same progressive-loading philosophy defined by the skill-reading protocol.
149
+
150
+ Start with the task.
151
+
152
+ Then determine which `/apple` skills are relevant.
153
+
154
+ Example:
155
+
156
+ ```text
157
+ Android music player
158
+ ```
159
+
160
+ may require:
161
+
162
+ ```text
163
+ /apple
164
+ Visual system
165
+ Interaction
166
+ Navigation
167
+ Media UI
168
+ Accessibility
169
+ Responsive design
170
+ Performance
171
+ QA
172
+ ```
173
+
174
+ It does not require every Apple skill.
175
+
176
+ ---
177
+
178
+ # 5. Platform Translation Model
179
+
180
+ For every Apple-specific recommendation, ask:
181
+
182
+ ```text
183
+ Is this:
184
+ ↓
185
+ Platform-independent?
186
+ ↓
187
+ YES → Preserve
188
+
189
+ Platform-specific?
190
+ ↓
191
+ YES → Translate
192
+
193
+ Platform-specific but unnecessary?
194
+ ↓
195
+ YES → Replace with Android-native pattern
196
+ ```
197
+
198
+ ---
199
+
200
+ # 6. Translation Priority
201
+
202
+ When translating Apple → Android:
203
+
204
+ ```text
205
+ 1. User goal
206
+ 2. Product identity
207
+ 3. Accessibility
208
+ 4. Android platform conventions
209
+ 5. Technical feasibility
210
+ 6. Existing design system
211
+ 7. Visual consistency
212
+ 8. Apple-specific implementation
213
+ ```
214
+
215
+ Apple conventions should never override Android conventions simply because they came from `/apple`.
216
+
217
+ ---
218
+
219
+ # 7. Navigation
220
+
221
+ Navigation is one of the most important platform differences.
222
+
223
+ The agent should evaluate:
224
+
225
+ ```text
226
+ Primary navigation
227
+ Secondary navigation
228
+ Back navigation
229
+ Deep links
230
+ Nested navigation
231
+ Modal navigation
232
+ Navigation history
233
+ ```
234
+
235
+ Android users expect system-aware back behavior.
236
+
237
+ The agent should design around Android navigation rather than simply reproducing iOS navigation structures.
238
+
239
+ ---
240
+
241
+ # 8. Back Behavior
242
+
243
+ Every Android screen should have a predictable back path.
244
+
245
+ Consider:
246
+
247
+ ```text
248
+ Screen
249
+ ↓
250
+ Back
251
+ ↓
252
+ Previous destination
253
+ ```
254
+
255
+ For nested states:
256
+
257
+ ```text
258
+ Detail
259
+ ↓
260
+ Expanded panel
261
+ ↓
262
+ Back
263
+ ↓
264
+ Collapse panel / return appropriately
265
+ ```
266
+
267
+ The agent should distinguish between:
268
+
269
+ ```text
270
+ Back navigation
271
+ Dismissal
272
+ State reversal
273
+ Application exit
274
+ ```
275
+
276
+ Do not assume that an iOS-style close button can replace Android back behavior.
277
+
278
+ ---
279
+
280
+ # 9. Android System Navigation
281
+
282
+ Account for:
283
+
284
+ ```text
285
+ Gesture navigation
286
+ 3-button navigation
287
+ System back
288
+ Edge-to-edge
289
+ System bars
290
+ Navigation bar
291
+ Status bar
292
+ Display cutouts
293
+ Safe areas
294
+ ```
295
+
296
+ The UI should remain usable across supported navigation configurations.
297
+
298
+ ---
299
+
300
+ # 10. Edge-to-Edge
301
+
302
+ Modern Android applications may use edge-to-edge layouts.
303
+
304
+ The agent should consider:
305
+
306
+ ```text
307
+ Status bar
308
+ Navigation area
309
+ Gesture insets
310
+ System bars
311
+ Content padding
312
+ Bottom controls
313
+ Floating controls
314
+ Dialogs
315
+ Sheets
316
+ ```
317
+
318
+ Do not allow interactive content to collide with system UI.
319
+
320
+ ---
321
+
322
+ # 11. Top App Bars
323
+
324
+ When translating an Apple navigation bar:
325
+
326
+ ```text
327
+ Apple navigation bar
328
+ ↓
329
+ Android top app bar / toolbar
330
+ ```
331
+
332
+ Evaluate:
333
+
334
+ ```text
335
+ Title
336
+ Navigation affordance
337
+ Actions
338
+ Scrolling behavior
339
+ Elevation / separation
340
+ Large-title behavior
341
+ ```
342
+
343
+ Do not blindly reproduce Apple's large navigation-title treatment when Android conventions provide a better solution.
344
+
345
+ ---
346
+
347
+ # 12. Bottom Navigation
348
+
349
+ Apple tab bars and Android bottom navigation can serve similar product purposes.
350
+
351
+ But the agent should preserve the underlying principle:
352
+
353
+ ```text
354
+ Primary destinations
355
+ ```
356
+
357
+ while adapting:
358
+
359
+ ```text
360
+ Icon treatment
361
+ Labels
362
+ Selection state
363
+ Interaction
364
+ Navigation behavior
365
+ ```
366
+
367
+ Avoid unnecessary platform imitation.
368
+
369
+ ---
370
+
371
+ # 13. Drawers
372
+
373
+ Android applications may benefit from navigation drawers when the information architecture requires many destinations.
374
+
375
+ Consider:
376
+
377
+ ```text
378
+ Bottom navigation
379
+ vs
380
+ Navigation drawer
381
+ vs
382
+ Navigation rail
383
+ vs
384
+ Tabs
385
+ ```
386
+
387
+ Choose based on:
388
+
389
+ ```text
390
+ Number of destinations
391
+ Frequency
392
+ Screen size
393
+ Hierarchy
394
+ Platform conventions
395
+ ```
396
+
397
+ ---
398
+
399
+ # 14. Navigation Rail
400
+
401
+ For tablets and large Android screens, consider:
402
+
403
+ ```text
404
+ Navigation rail
405
+ ```
406
+
407
+ when appropriate.
408
+
409
+ The responsive strategy may become:
410
+
411
+ ```text
412
+ Phone
413
+ → Bottom navigation
414
+
415
+ Tablet
416
+ → Navigation rail
417
+
418
+ Large screen
419
+ → Navigation rail / expanded navigation
420
+ ```
421
+
422
+ Do not assume phone navigation should simply scale upward.
423
+
424
+ ---
425
+
426
+ # 15. Android Material
427
+
428
+ The agent may use Android's Material ecosystem when appropriate.
429
+
430
+ However:
431
+
432
+ > **Material is a platform/toolkit reference, not a requirement to make every application visually generic.**
433
+
434
+ The agent should distinguish:
435
+
436
+ ```text
437
+ Material behavior
438
+ Material components
439
+ Material tokens
440
+ Product-specific branding
441
+ ```
442
+
443
+ A branded Android application can use platform conventions without looking like a default Material template.
444
+
445
+ ---
446
+
447
+ # 16. Component Translation
448
+
449
+ Use this conceptual model:
450
+
451
+ ```text
452
+ APPLE COMPONENT
453
+ ↓
454
+ UNDERLYING PURPOSE
455
+ ↓
456
+ ANDROID EQUIVALENT
457
+ ↓
458
+ PRODUCT-SPECIFIC STYLING
459
+ ```
460
+
461
+ Example:
462
+
463
+ ```text
464
+ Apple sheet
465
+ ↓
466
+ Contextual temporary surface
467
+ ↓
468
+ Android bottom sheet
469
+ ↓
470
+ Apply product design system
471
+ ```
472
+
473
+ ---
474
+
475
+ # 17. Dialogs
476
+
477
+ Android dialogs should respect:
478
+
479
+ ```text
480
+ Platform behavior
481
+ Back dismissal
482
+ Focus
483
+ Accessibility
484
+ Button ordering
485
+ Touch targets
486
+ Content density
487
+ ```
488
+
489
+ Do not simply copy iOS alert styling.
490
+
491
+ ---
492
+
493
+ # 18. Bottom Sheets
494
+
495
+ Bottom sheets are particularly important in Android interfaces.
496
+
497
+ Determine whether the sheet is:
498
+
499
+ ```text
500
+ Modal
501
+ Persistent
502
+ Expandable
503
+ Scrollable
504
+ Dismissible
505
+ Blocking
506
+ ```
507
+
508
+ The agent should preserve the user's task context while following Android interaction expectations.
509
+
510
+ ---
511
+
512
+ # 19. Menus
513
+
514
+ Translate Apple menus and contextual actions into Android-appropriate patterns:
515
+
516
+ ```text
517
+ Overflow menu
518
+ Dropdown menu
519
+ Context menu
520
+ Bottom sheet
521
+ Dialog
522
+ Inline action
523
+ ```
524
+
525
+ Choose based on:
526
+
527
+ ```text
528
+ Frequency
529
+ Importance
530
+ Context
531
+ Screen size
532
+ Action count
533
+ ```
534
+
535
+ ---
536
+
537
+ # 20. Buttons
538
+
539
+ Do not blindly copy Apple's button hierarchy.
540
+
541
+ Evaluate:
542
+
543
+ ```text
544
+ Primary
545
+ Secondary
546
+ Tertiary
547
+ Text
548
+ Icon
549
+ Floating
550
+ Destructive
551
+ ```
552
+
553
+ Then apply Android-appropriate:
554
+
555
+ ```text
556
+ Shape
557
+ Height
558
+ Spacing
559
+ Typography
560
+ Elevation
561
+ State
562
+ Feedback
563
+ ```
564
+
565
+ while preserving the product's visual identity.
566
+
567
+ ---
568
+
569
+ # 21. Touch Targets
570
+
571
+ Every interactive element must provide an adequate touch target.
572
+
573
+ The agent should verify:
574
+
575
+ ```text
576
+ Icon buttons
577
+ Toolbar actions
578
+ Navigation
579
+ List rows
580
+ Checkboxes
581
+ Switches
582
+ Tabs
583
+ Floating actions
584
+ ```
585
+
586
+ Visual size and interaction size do not necessarily have to be identical.
587
+
588
+ ---
589
+
590
+ # 22. Android Gestures
591
+
592
+ Translate gestures based on user expectation.
593
+
594
+ Possible interactions:
595
+
596
+ ```text
597
+ Swipe
598
+ Long press
599
+ Drag
600
+ Scroll
601
+ Pinch
602
+ Edge gestures
603
+ Back gesture
604
+ ```
605
+
606
+ Do not introduce an Apple-specific gesture simply because it exists on iOS.
607
+
608
+ ---
609
+
610
+ # 23. Haptics
611
+
612
+ Translate Apple's haptic intent into Android-compatible feedback.
613
+
614
+ The principle is:
615
+
616
+ ```text
617
+ Apple haptic meaning
618
+ ↓
619
+ Android haptic equivalent
620
+ ```
621
+
622
+ Preserve:
623
+
624
+ ```text
625
+ Confirmation
626
+ Selection
627
+ Warning
628
+ Boundary
629
+ Success
630
+ ```
631
+
632
+ rather than copying exact hardware behavior.
633
+
634
+ ---
635
+
636
+ # 24. Motion
637
+
638
+ The motion language should remain consistent with the product.
639
+
640
+ However, adapt:
641
+
642
+ ```text
643
+ Timing
644
+ Physics
645
+ System transitions
646
+ Back gesture interaction
647
+ Navigation transitions
648
+ ```
649
+
650
+ to Android expectations.
651
+
652
+ Avoid platform-inappropriate motion that makes the app feel like an iOS clone.
653
+
654
+ ---
655
+
656
+ # 25. Typography
657
+
658
+ Preserve the hierarchy:
659
+
660
+ ```text
661
+ Display
662
+ Heading
663
+ Title
664
+ Body
665
+ Caption
666
+ Label
667
+ ```
668
+
669
+ But evaluate Android font availability and rendering.
670
+
671
+ The agent should consider:
672
+
673
+ ```text
674
+ Font family
675
+ Weight
676
+ Line height
677
+ Letter spacing
678
+ Text scaling
679
+ Fallback fonts
680
+ Localization
681
+ ```
682
+
683
+ ---
684
+
685
+ # 26. Color
686
+
687
+ The product's semantic color system should remain consistent:
688
+
689
+ ```text
690
+ Primary
691
+ Secondary
692
+ Background
693
+ Surface
694
+ Success
695
+ Warning
696
+ Error
697
+ Info
698
+ Disabled
699
+ ```
700
+
701
+ But adapt system integration for:
702
+
703
+ ```text
704
+ Light theme
705
+ Dark theme
706
+ System theme
707
+ Contrast
708
+ Dynamic color where appropriate
709
+ ```
710
+
711
+ Dynamic Android color should not automatically override a deliberate brand identity.
712
+
713
+ ---
714
+
715
+ # 27. Dark Mode
716
+
717
+ Android adaptation must consider:
718
+
719
+ ```text
720
+ System dark mode
721
+ Manual theme selection
722
+ Dynamic colors
723
+ OLED-friendly surfaces
724
+ Contrast
725
+ Elevation
726
+ Images
727
+ Icons
728
+ System UI
729
+ ```
730
+
731
+ Do not simply invert colors.
732
+
733
+ ---
734
+
735
+ # 28. Dynamic Color
736
+
737
+ If Android dynamic color is supported:
738
+
739
+ ```text
740
+ System palette
741
+ ↓
742
+ Evaluate compatibility
743
+ ↓
744
+ Map into semantic tokens
745
+ ```
746
+
747
+ The agent should avoid allowing system-generated colors to destroy brand hierarchy.
748
+
749
+ ---
750
+
751
+ # 29. Permissions
752
+
753
+ Android permission UX should be designed intentionally.
754
+
755
+ Consider:
756
+
757
+ ```text
758
+ Permission needed
759
+ ↓
760
+ Explain why
761
+ ↓
762
+ Request
763
+ ↓
764
+ Granted
765
+ ```
766
+
767
+ or:
768
+
769
+ ```text
770
+ Denied
771
+ ↓
772
+ Explain consequence
773
+ ↓
774
+ Offer recovery
775
+ ```
776
+
777
+ Handle:
778
+
779
+ ```text
780
+ First request
781
+ Denial
782
+ Repeated denial
783
+ Permanent denial
784
+ Settings recovery
785
+ ```
786
+
787
+ Never design permission flows as if Android permissions behave identically to iOS.
788
+
789
+ ---
790
+
791
+ # 30. Notifications
792
+
793
+ Translate notification concepts to Android notification architecture.
794
+
795
+ Consider:
796
+
797
+ ```text
798
+ Notification
799
+ Notification channel
800
+ Importance
801
+ Actions
802
+ Grouping
803
+ Ongoing notification
804
+ Media notification
805
+ Permission
806
+ ```
807
+
808
+ The product's notification strategy should remain consistent while implementation follows Android behavior.
809
+
810
+ ---
811
+
812
+ # 31. Media Applications
813
+
814
+ For media applications, Android adaptation should consider:
815
+
816
+ ```text
817
+ Media session
818
+ Playback notification
819
+ Lock screen controls
820
+ Bluetooth controls
821
+ Headset actions
822
+ Background playback
823
+ Audio focus
824
+ Interruption
825
+ Playback service
826
+ ```
827
+
828
+ The `/apple` media UX should inform the user experience, but Android's media architecture controls implementation behavior.
829
+
830
+ ---
831
+
832
+ # 32. File and Storage Interfaces
833
+
834
+ For file-oriented applications:
835
+
836
+ ```text
837
+ File picker
838
+ Storage permissions
839
+ Media access
840
+ Documents
841
+ Downloads
842
+ Scoped storage
843
+ System providers
844
+ ```
845
+
846
+ The agent must not assume iOS-style storage behavior.
847
+
848
+ ---
849
+
850
+ # 33. Keyboard
851
+
852
+ Android keyboard behavior should be considered for forms.
853
+
854
+ Check:
855
+
856
+ ```text
857
+ Keyboard type
858
+ IME action
859
+ Keyboard avoidance
860
+ Resize / pan behavior
861
+ Focus
862
+ Next field
863
+ Submit
864
+ Dismissal
865
+ ```
866
+
867
+ The layout must remain usable when the keyboard is visible.
868
+
869
+ ---
870
+
871
+ # 34. Text Input
872
+
873
+ Adapt:
874
+
875
+ ```text
876
+ Input field
877
+ Cursor
878
+ Selection
879
+ Paste
880
+ Autofill
881
+ IME
882
+ Password input
883
+ Error state
884
+ Validation
885
+ ```
886
+
887
+ Do not assume iOS text-input behavior maps one-to-one to Android.
888
+
889
+ ---
890
+
891
+ # 35. Accessibility
892
+
893
+ The Apple accessibility principles remain valid.
894
+
895
+ Android implementation must additionally consider:
896
+
897
+ ```text
898
+ TalkBack
899
+ Accessibility node hierarchy
900
+ Content descriptions
901
+ Traversal order
902
+ State announcements
903
+ Touch exploration
904
+ Large text
905
+ Contrast
906
+ Reduced motion
907
+ ```
908
+
909
+ The principle is:
910
+
911
+ ```text
912
+ Apple accessibility goal
913
+ ↓
914
+ Platform-independent requirement
915
+ ↓
916
+ Android accessibility implementation
917
+ ```
918
+
919
+ ---
920
+
921
+ # 36. Screen Readers
922
+
923
+ Every meaningful control should communicate:
924
+
925
+ ```text
926
+ Role
927
+ Name
928
+ State
929
+ Value
930
+ Action
931
+ ```
932
+
933
+ Avoid exposing decorative elements as interactive accessibility nodes.
934
+
935
+ ---
936
+
937
+ # 37. Android Large Screens
938
+
939
+ Android adaptation must account for:
940
+
941
+ ```text
942
+ Phones
943
+ Foldables
944
+ Tablets
945
+ Chromebooks
946
+ Desktop-like environments
947
+ Landscape
948
+ Split screen
949
+ Multi-window
950
+ ```
951
+
952
+ The layout should adapt structurally rather than simply stretching.
953
+
954
+ ---
955
+
956
+ # 38. Foldables
957
+
958
+ For foldable devices, consider:
959
+
960
+ ```text
961
+ Hinge
962
+ Posture
963
+ Screen separation
964
+ Dual-screen layout
965
+ Continuity
966
+ Window resizing
967
+ ```
968
+
969
+ Avoid putting important controls directly into problematic hinge areas.
970
+
971
+ ---
972
+
973
+ # 39. Responsive Strategy
974
+
975
+ Use:
976
+
977
+ ```text
978
+ PHONE
979
+ ↓
980
+ COMPACT
981
+
982
+ TABLET
983
+ ↓
984
+ MEDIUM
985
+
986
+ LARGE DEVICE
987
+ ↓
988
+ EXPANDED
989
+ ```
990
+
991
+ Adapt:
992
+
993
+ ```text
994
+ Navigation
995
+ Columns
996
+ Spacing
997
+ Content density
998
+ Panels
999
+ Dialogs
1000
+ Lists
1001
+ ```
1002
+
1003
+ ---
1004
+
1005
+ # 40. Android-Specific States
1006
+
1007
+ The agent should explicitly consider:
1008
+
1009
+ ```text
1010
+ App backgrounded
1011
+ App resumed
1012
+ Activity recreated
1013
+ Configuration changed
1014
+ Process death
1015
+ Permission revoked
1016
+ Network lost
1017
+ System theme changed
1018
+ Font size changed
1019
+ Multi-window resized
1020
+ ```
1021
+
1022
+ State persistence becomes especially important.
1023
+
1024
+ ---
1025
+
1026
+ # 41. Lifecycle Awareness
1027
+
1028
+ The UI should not assume the application remains continuously active.
1029
+
1030
+ Consider:
1031
+
1032
+ ```text
1033
+ Launch
1034
+ Resume
1035
+ Pause
1036
+ Background
1037
+ Restore
1038
+ Recreate
1039
+ Terminate
1040
+ ```
1041
+
1042
+ Important user state should survive appropriate lifecycle transitions.
1043
+
1044
+ ---
1045
+
1046
+ # 42. Performance
1047
+
1048
+ Android devices vary significantly.
1049
+
1050
+ Validate across:
1051
+
1052
+ ```text
1053
+ High-end
1054
+ Mid-range
1055
+ Low-end
1056
+ Old Android versions
1057
+ Large screens
1058
+ Small screens
1059
+ ```
1060
+
1061
+ Do not optimize exclusively for flagship hardware.
1062
+
1063
+ ---
1064
+
1065
+ # 43. Rendering
1066
+
1067
+ When applying `/apple` visual systems to Android:
1068
+
1069
+ ```text
1070
+ Visual complexity
1071
+ ↓
1072
+ Rendering cost
1073
+ ↓
1074
+ Memory
1075
+ ↓
1076
+ GPU
1077
+ ↓
1078
+ Battery
1079
+ ```
1080
+
1081
+ Evaluate:
1082
+
1083
+ ```text
1084
+ Blur
1085
+ Glass
1086
+ Gradients
1087
+ Shadows
1088
+ Animations
1089
+ Large images
1090
+ Lists
1091
+ Video
1092
+ Canvas
1093
+ ```
1094
+
1095
+ ---
1096
+
1097
+ # 44. Android Design Integrity
1098
+
1099
+ The final product should pass this test:
1100
+
1101
+ > **Would an Android user feel that this application was designed for Android, rather than an iOS application transplanted onto Android?**
1102
+
1103
+ If the answer is no, identify the platform mismatches.
1104
+
1105
+ ---
1106
+
1107
+ # 45. What Must Stay Consistent
1108
+
1109
+ Across Apple and Android:
1110
+
1111
+ ```text
1112
+ Brand
1113
+ Product personality
1114
+ Core UX
1115
+ Information architecture
1116
+ Terminology
1117
+ Content hierarchy
1118
+ Core workflows
1119
+ Semantic colors
1120
+ Design tokens
1121
+ Component intent
1122
+ Feature behavior
1123
+ Accessibility goals
1124
+ ```
1125
+
1126
+ ---
1127
+
1128
+ # 46. What May Change
1129
+
1130
+ Between Apple and Android:
1131
+
1132
+ ```text
1133
+ Navigation implementation
1134
+ Back behavior
1135
+ System bars
1136
+ Menus
1137
+ Dialogs
1138
+ Sheets
1139
+ Gestures
1140
+ Permissions
1141
+ Notifications
1142
+ Haptics
1143
+ System integration
1144
+ Accessibility implementation
1145
+ Large-screen behavior
1146
+ Keyboard behavior
1147
+ Lifecycle behavior
1148
+ ```
1149
+
1150
+ ---
1151
+
1152
+ # 47. What Should NOT Be Copied Blindly
1153
+
1154
+ Never blindly copy:
1155
+
1156
+ ```text
1157
+ iOS tab bar behavior
1158
+ iOS navigation patterns
1159
+ iOS back-button assumptions
1160
+ iOS sheets
1161
+ iOS alerts
1162
+ iOS gesture conventions
1163
+ iOS permission flows
1164
+ iOS system controls
1165
+ iOS typography assumptions
1166
+ iOS safe-area assumptions
1167
+ iOS notification behavior
1168
+ ```
1169
+
1170
+ Instead:
1171
+
1172
+ ```text
1173
+ Understand intent
1174
+ ↓
1175
+ Map to Android
1176
+ ↓
1177
+ Validate
1178
+ ```
1179
+
1180
+ ---
1181
+
1182
+ # 48. Apple → Android Translation Table
1183
+
1184
+ | Apple concept | Android adaptation |
1185
+ | ---------------------- | ---------------------------------------- |
1186
+ | Navigation bar | Top app bar / Android navigation pattern |
1187
+ | Tab bar | Bottom navigation |
1188
+ | Large navigation title | Context-appropriate Android app bar |
1189
+ | Sheet | Bottom sheet |
1190
+ | Alert | Android dialog |
1191
+ | Context menu | Android menu / sheet / contextual action |
1192
+ | Back navigation | Android system back |
1193
+ | Haptic feedback | Android haptic equivalent |
1194
+ | Safe area | Window/system insets |
1195
+ | Permission prompt | Android runtime permission flow |
1196
+ | Notification | Android notification architecture |
1197
+ | Media controls | Android MediaSession ecosystem |
1198
+ | Dynamic type | Android font scaling |
1199
+ | VoiceOver | TalkBack |
1200
+ | iPad adaptation | Android tablet/large-screen adaptation |
1201
+ | iOS gestures | Android-native gesture equivalents |
1202
+
1203
+ This table is a **conceptual mapping**, not a rigid one-to-one conversion.
1204
+
1205
+ ---
1206
+
1207
+ # 49. Shared Design System
1208
+
1209
+ The preferred architecture is:
1210
+
1211
+ ```text
1212
+ SHARED PRODUCT SYSTEM
1213
+ │
1214
+ ┌──────────────┴──────────────┐
1215
+ ↓ ↓
1216
+ APPLE ANDROID
1217
+ │ │
1218
+ Apple-specific Android-specific
1219
+ interaction interaction
1220
+ │ │
1221
+ ↓ ↓
1222
+ Native UX Native UX
1223
+ ```
1224
+
1225
+ Shared:
1226
+
1227
+ ```text
1228
+ Tokens
1229
+ Brand
1230
+ Components semantics
1231
+ Content
1232
+ UX principles
1233
+ ```
1234
+
1235
+ Platform-specific:
1236
+
1237
+ ```text
1238
+ Behavior
1239
+ Navigation
1240
+ System integration
1241
+ Gestures
1242
+ Permissions
1243
+ Accessibility implementation
1244
+ ```
1245
+
1246
+ ---
1247
+
1248
+ # 50. Cross-Platform Component Architecture
1249
+
1250
+ When implementing a shared component:
1251
+
1252
+ ```text
1253
+ Shared Component
1254
+ ↓
1255
+ Shared API
1256
+ ↓
1257
+ Shared Design Tokens
1258
+ ↓
1259
+ Platform-specific behavior
1260
+ ```
1261
+
1262
+ For example:
1263
+
1264
+ ```text
1265
+ Button
1266
+ ├── shared visual language
1267
+ ├── shared states
1268
+ ├── shared accessibility intent
1269
+ ├── Android interaction behavior
1270
+ └── Apple interaction behavior
1271
+ ```
1272
+
1273
+ ---
1274
+
1275
+ # 51. React Native / Expo
1276
+
1277
+ For React Native or Expo projects:
1278
+
1279
+ ```text
1280
+ Shared JS/TS
1281
+ ↓
1282
+ Shared design system
1283
+ ↓
1284
+ Platform detection where necessary
1285
+ ↓
1286
+ Platform-specific implementation
1287
+ ```
1288
+
1289
+ Use platform-specific code only when the behavior genuinely differs.
1290
+
1291
+ Avoid unnecessary:
1292
+
1293
+ ```text
1294
+ Platform.OS === ...
1295
+ ```
1296
+
1297
+ everywhere.
1298
+
1299
+ Prefer clean abstraction boundaries.
1300
+
1301
+ ---
1302
+
1303
+ # 52. When to Split Platform Implementations
1304
+
1305
+ Create platform-specific implementations when:
1306
+
1307
+ ```text
1308
+ System behavior differs materially
1309
+ Native APIs differ
1310
+ Accessibility behavior differs
1311
+ Navigation differs
1312
+ Performance requires native optimization
1313
+ Platform conventions strongly differ
1314
+ ```
1315
+
1316
+ Do not split merely because the platforms have different names.
1317
+
1318
+ ---
1319
+
1320
+ # 53. Android Validation Checklist
1321
+
1322
+ Before delivery:
1323
+
1324
+ ```text
1325
+ □ Android navigation works
1326
+ □ System back works
1327
+ □ Gesture navigation works
1328
+ □ 3-button navigation works where applicable
1329
+ □ System bars are handled
1330
+ □ Edge-to-edge is correct
1331
+ □ Keyboard behavior works
1332
+ □ Permissions are correct
1333
+ □ Notifications behave correctly
1334
+ □ Dark mode works
1335
+ □ Large text works
1336
+ □ TalkBack works
1337
+ □ Touch targets are adequate
1338
+ □ Loading states work
1339
+ □ Error states work
1340
+ □ Offline states work
1341
+ □ Lifecycle restoration works
1342
+ □ Rotation/resizing works
1343
+ □ Tablet layout works
1344
+ □ Foldable behavior is reasonable
1345
+ □ Performance is acceptable
1346
+ ```
1347
+
1348
+ ---
1349
+
1350
+ # 54. Cross-Platform Validation
1351
+
1352
+ Compare Apple and Android based on:
1353
+
1354
+ ```text
1355
+ Same user goal?
1356
+ Same information hierarchy?
1357
+ Same feature capability?
1358
+ Same terminology?
1359
+ Same product identity?
1360
+ Same core workflow?
1361
+ ```
1362
+
1363
+ Then separately ask:
1364
+
1365
+ ```text
1366
+ Does each platform feel native?
1367
+ ```
1368
+
1369
+ Both answers should be yes.
1370
+
1371
+ ---
1372
+
1373
+ # 55. Final Translation Algorithm
1374
+
1375
+ ```text
1376
+ FUNCTION adapt_apple_to_android(task):
1377
+
1378
+ context = understand(task)
1379
+
1380
+ read(android_adaptation_protocol)
1381
+
1382
+ apple_skills = select_relevant_apple_skills(context)
1383
+
1384
+ read(apple_skills)
1385
+
1386
+ shared_principles = extract_platform_independent_rules()
1387
+
1388
+ apple_specific_rules = identify_apple_specific_rules()
1389
+
1390
+ android_equivalents = map_to_android_patterns(
1391
+ apple_specific_rules
1392
+ )
1393
+
1394
+ design = combine(
1395
+ shared_principles,
1396
+ android_equivalents,
1397
+ product_context
1398
+ )
1399
+
1400
+ validate_android(
1401
+ navigation,
1402
+ accessibility,
1403
+ responsive,
1404
+ lifecycle,
1405
+ performance,
1406
+ system_integration
1407
+ )
1408
+
1409
+ compare_with_apple_product_identity()
1410
+
1411
+ refine()
1412
+
1413
+ deliver()
1414
+ ```
1415
+
1416
+ ---
1417
+
1418
+ # 56. Golden Rule
1419
+
1420
+ > **Do not make Android look like Apple. Make the same product feel correct on Android.**
1421
+
1422
+ The objective is not:
1423
+
1424
+ ```text
1425
+ iOS design
1426
+ ↓
1427
+ copy
1428
+ ↓
1429
+ Android
1430
+ ```
1431
+
1432
+ It is:
1433
+
1434
+ ```text
1435
+ PRODUCT EXPERIENCE
1436
+ ↓
1437
+ SHARED DESIGN PRINCIPLES
1438
+ ↓
1439
+ ├──────────────┐
1440
+ ↓ ↓
1441
+ APPLE ANDROID
1442
+ ↓ ↓
1443
+ Native UX Native UX
1444
+ ```
1445
+
1446
+ ---
1447
+
1448
+ # 57. Final Architecture
1449
+
1450
+ The platform skill system should become:
1451
+
1452
+ ```text
1453
+ SHARED PRODUCT
1454
+ │
1455
+ ┌──────────┴──────────┐
1456
+ ↓ ↓
1457
+ /apple /android
1458
+ │ │
1459
+ Apple UI/UX skills Android adaptation
1460
+ │ │
1461
+ └──────────┬──────────┘
1462
+ ↓
1463
+ SHARED DESIGN SYSTEM
1464
+ ↓
1465
+ PRODUCT IDENTITY
1466
+ ```
1467
+
1468
+ `/apple` remains the **source design intelligence**.
1469
+
1470
+ `/android` becomes the **platform adaptation layer**.
1471
+
1472
+ The Android agent should reuse the Apple knowledge wherever the principle is universal, while replacing Apple-specific behavior with Android-native solutions.
1473
+
1474
+ ---
1475
+
1476
+ # 58. Final Principle
1477
+
1478
+ The complete system should follow:
1479
+
1480
+ ```text
1481
+ READ THE APPLE SKILL
1482
+ ↓
1483
+ UNDERSTAND THE PRINCIPLE
1484
+ ↓
1485
+ SEPARATE PRINCIPLE FROM PLATFORM
1486
+ ↓
1487
+ MAP TO ANDROID
1488
+ ↓
1489
+ PRESERVE PRODUCT IDENTITY
1490
+ ↓
1491
+ USE ANDROID CONVENTIONS
1492
+ ↓
1493
+ VALIDATE ON ANDROID
1494
+ ↓
1495
+ REFINE
1496
+ ```
1497
+
1498
+ **Apple and Android should feel like two native expressions of the same product—not two unrelated designs, and not one platform pretending to be the other.**
1499
+