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,551 @@
1
+ ## File 67 — Advanced Navigation, Information Architecture & Wayfinding
2
+
3
+ File 66 taught the agent how the interface **communicates**.
4
+
5
+ File 67 teaches it how users **find their way through the product**.
6
+
7
+ > **Navigation is not a collection of buttons. It is the spatial model users build in their minds while using the product.**
8
+
9
+ The agent should design navigation around **information architecture, user goals, context, frequency, hierarchy, and platform conventions**.
10
+
11
+ ---
12
+
13
+ # 1. Navigation architecture
14
+
15
+ The agent should reason through:
16
+
17
+ ```text id="n8x4q2"
18
+ PRODUCT
19
+ ↓
20
+ INFORMATION ARCHITECTURE
21
+ ↓
22
+ DESTINATIONS
23
+ ↓
24
+ NAVIGATION HIERARCHY
25
+ ↓
26
+ ENTRY POINTS
27
+ ↓
28
+ USER FLOWS
29
+ ↓
30
+ WAYFINDING
31
+ ```
32
+
33
+ Navigation should emerge from the product structure rather than being added afterward.
34
+
35
+ ---
36
+
37
+ # 2. Information architecture
38
+
39
+ Determine:
40
+
41
+ ```text id="m5r8c1"
42
+ What exists?
43
+ ↓
44
+ What belongs together?
45
+ ↓
46
+ What is primary?
47
+ ↓
48
+ What is secondary?
49
+ ↓
50
+ What is contextual?
51
+ ↓
52
+ What should remain hidden until needed?
53
+ ```
54
+
55
+ The agent should organize information according to **user mental models**, not internal database structure.
56
+
57
+ ---
58
+
59
+ # 3. Content hierarchy
60
+
61
+ Classify destinations:
62
+
63
+ ```text id="q7v3n9"
64
+ Primary
65
+ ↓
66
+ Secondary
67
+ ↓
68
+ Contextual
69
+ ↓
70
+ Utility
71
+ ↓
72
+ Advanced
73
+ ```
74
+
75
+ Not every destination deserves permanent navigation.
76
+
77
+ ---
78
+
79
+ # 4. Navigation models
80
+
81
+ Evaluate appropriate structures:
82
+
83
+ ### Bottom tabs
84
+
85
+ Useful for:
86
+
87
+ ```text id="x2m7p4"
88
+ Small number of high-value destinations
89
+ Frequent switching
90
+ Mobile-first applications
91
+ ```
92
+
93
+ ### Stack navigation
94
+
95
+ Useful for:
96
+
97
+ ```text id="c8v5n2"
98
+ Hierarchical journeys
99
+ List → Detail → Sub-detail
100
+ ```
101
+
102
+ ### Drawer
103
+
104
+ Useful for:
105
+
106
+ ```text id="j4q8m1"
107
+ Large destination sets
108
+ Secondary destinations
109
+ Utility-heavy applications
110
+ ```
111
+
112
+ ### Sidebar
113
+
114
+ Useful for:
115
+
116
+ ```text id="r6n3x9"
117
+ Large screens
118
+ Complex applications
119
+ Persistent navigation
120
+ ```
121
+
122
+ ### Contextual navigation
123
+
124
+ Useful for:
125
+
126
+ ```text id="w5p2k7"
127
+ Actions related to current content
128
+ ```
129
+
130
+ The agent should select based on information architecture—not fashion.
131
+
132
+ ---
133
+
134
+ # 5. Navigation depth
135
+
136
+ Avoid unnecessary depth:
137
+
138
+ ```text id="a9m4q2"
139
+ Home
140
+ ↓
141
+ Category
142
+ ↓
143
+ Subcategory
144
+ ↓
145
+ Item
146
+ ↓
147
+ Action
148
+ ```
149
+
150
+ Ask:
151
+
152
+ > Can the user reach the same goal with less unnecessary navigation?
153
+
154
+ But shallow navigation isn't automatically better if it creates overwhelming menus.
155
+
156
+ ---
157
+
158
+ # 6. Wayfinding
159
+
160
+ Users should know:
161
+
162
+ ```text id="v3k8m5"
163
+ Where am I?
164
+ Where did I come from?
165
+ What can I do here?
166
+ Where can I go next?
167
+ How do I return?
168
+ ```
169
+
170
+ The interface should establish these answers through:
171
+
172
+ * titles
173
+ * navigation state
174
+ * hierarchy
175
+ * breadcrumbs where appropriate
176
+ * contextual headers
177
+ * selected states
178
+ * back behavior
179
+ * persistent navigation
180
+
181
+ ---
182
+
183
+ # 7. Current-location indicators
184
+
185
+ The active destination should be obvious.
186
+
187
+ Possible mechanisms:
188
+
189
+ ```text id="n5q2r8"
190
+ Active tab
191
+ Highlighted navigation item
192
+ Selected sidebar item
193
+ Breadcrumb
194
+ Page title
195
+ Section indicator
196
+ ```
197
+
198
+ Don't rely exclusively on subtle color differences.
199
+
200
+ ---
201
+
202
+ # 8. Back navigation
203
+
204
+ Back behavior should follow user expectations.
205
+
206
+ The agent should determine:
207
+
208
+ ```text id="k7x3m4"
209
+ Where did the user come from?
210
+ ↓
211
+ What state should be restored?
212
+ ↓
213
+ What should Back do?
214
+ ```
215
+
216
+ Important considerations:
217
+
218
+ * Preserve scroll position where appropriate
219
+ * Preserve search/filter context
220
+ * Avoid unexpected resets
221
+ * Don't create navigation loops
222
+ * Handle deep links correctly
223
+
224
+ ---
225
+
226
+ # 9. Deep linking
227
+
228
+ Modern applications can enter at arbitrary points.
229
+
230
+ Example:
231
+
232
+ ```text id="f4m8q2"
233
+ External link
234
+ ↓
235
+ Specific detail screen
236
+ ↓
237
+ User navigates backward
238
+ ```
239
+
240
+ The agent should ensure the resulting navigation history makes sense.
241
+
242
+ A deep-linked screen should not leave the user trapped in an unintelligible navigation state.
243
+
244
+ ---
245
+
246
+ # 10. Entry-point architecture
247
+
248
+ Users may enter through:
249
+
250
+ ```text id="p6v2n9"
251
+ Home
252
+ Search
253
+ Notification
254
+ Deep link
255
+ Widget
256
+ External share
257
+ Push notification
258
+ Shortcut
259
+ Recently viewed
260
+ ```
261
+
262
+ The experience should remain coherent regardless of entry point.
263
+
264
+ ---
265
+
266
+ # 11. Search as navigation
267
+
268
+ Search can sometimes outperform deep navigation.
269
+
270
+ Use it when:
271
+
272
+ ```text id="x8q4m1"
273
+ Many destinations
274
+ Large content volume
275
+ Known-item retrieval
276
+ Complex hierarchy
277
+ ```
278
+
279
+ But don't use search to compensate for poor information architecture.
280
+
281
+ The agent should distinguish:
282
+
283
+ > **Finding something**
284
+
285
+ from:
286
+
287
+ > **Exploring something.**
288
+
289
+ ---
290
+
291
+ # 12. Navigation vs actions
292
+
293
+ Not everything belongs in navigation.
294
+
295
+ Separate:
296
+
297
+ ```text id="c5n7r3"
298
+ Destination
299
+ → Takes user somewhere
300
+
301
+ Action
302
+ → Changes something
303
+
304
+ Utility
305
+ → Helps with current task
306
+ ```
307
+
308
+ For example, "Settings" may be navigation, while "Delete" is an action.
309
+
310
+ This distinction prevents navigation bars from becoming action dumping grounds.
311
+
312
+ ---
313
+
314
+ # 13. Contextual actions
315
+
316
+ Actions should appear where their context is strongest.
317
+
318
+ Example:
319
+
320
+ ```text id="h3v8p5"
321
+ Photo detail
322
+ ├── Share
323
+ ├── Edit
324
+ ├── Favorite
325
+ └── Delete
326
+ ```
327
+
328
+ Don't force users to navigate to a global "Actions" screen for everything.
329
+
330
+ ---
331
+
332
+ # 14. Navigation persistence
333
+
334
+ Frequently used destinations may deserve persistent access.
335
+
336
+ Evaluate:
337
+
338
+ ```text id="z2m6q8"
339
+ Frequency
340
+ Importance
341
+ Switching frequency
342
+ Context
343
+ Screen space
344
+ ```
345
+
346
+ High-frequency destinations should be easier to reach.
347
+
348
+ ---
349
+
350
+ # 15. Navigation state
351
+
352
+ Navigation itself has states:
353
+
354
+ ```text id="u4r7m2"
355
+ Default
356
+ Active
357
+ Pressed
358
+ Focused
359
+ Disabled
360
+ Unavailable
361
+ Loading
362
+ Unread
363
+ New
364
+ ```
365
+
366
+ The agent should ensure state communicates meaningful information.
367
+
368
+ ---
369
+
370
+ # 16. Notification-driven navigation
371
+
372
+ Notifications often become navigation entry points.
373
+
374
+ The agent should reason:
375
+
376
+ ```text id="j8q3x6"
377
+ Notification
378
+ ↓
379
+ Relevant destination
380
+ ↓
381
+ Relevant context
382
+ ↓
383
+ Relevant action
384
+ ```
385
+
386
+ Avoid sending users to a generic home screen when the notification clearly refers to a specific object.
387
+
388
+ ---
389
+
390
+ # 17. Breadcrumbs
391
+
392
+ Breadcrumbs are useful when hierarchy matters:
393
+
394
+ ```text id="m5x8q1"
395
+ Projects
396
+ › Mobile
397
+ › Lumora
398
+ › Settings
399
+ ```
400
+
401
+ They are less useful for shallow mobile flows.
402
+
403
+ Don't add breadcrumbs merely because they exist as a pattern.
404
+
405
+ ---
406
+
407
+ # 18. Navigation consistency
408
+
409
+ Equivalent navigation should behave consistently across the product.
410
+
411
+ Audit:
412
+
413
+ ```text id="v9k4p2"
414
+ Back
415
+ Headers
416
+ Tabs
417
+ Sidebars
418
+ Deep links
419
+ Transitions
420
+ Selected states
421
+ Navigation labels
422
+ ```
423
+
424
+ The user should not need to relearn navigation on every screen.
425
+
426
+ ---
427
+
428
+ # 19. Navigation failure states
429
+
430
+ Navigation can fail too.
431
+
432
+ Consider:
433
+
434
+ ```text id="r2m7x5"
435
+ Destination unavailable
436
+ Permission denied
437
+ Deleted content
438
+ Expired session
439
+ Broken deep link
440
+ Offline destination
441
+ Authentication required
442
+ ```
443
+
444
+ The user should receive a meaningful recovery path.
445
+
446
+ ---
447
+
448
+ # 20. Information architecture testing
449
+
450
+ For complex products, validate:
451
+
452
+ ```text id="c8q4n6"
453
+ Can users predict where something lives?
454
+ Can they find it?
455
+ Can they return?
456
+ Can they distinguish similar destinations?
457
+ Can they understand the hierarchy?
458
+ ```
459
+
460
+ If users repeatedly fail to find something, the solution may be **architectural**, not visual.
461
+
462
+ ---
463
+
464
+ # 21. Navigation anti-patterns
465
+
466
+ The agent should detect:
467
+
468
+ ```text id="y3m8q5"
469
+ Too many tabs
470
+ Deep navigation chains
471
+ Hidden primary destinations
472
+ Duplicate navigation
473
+ Ambiguous labels
474
+ Navigation disguised as actions
475
+ Actions disguised as navigation
476
+ Inconsistent back behavior
477
+ Dead-end screens
478
+ Mystery icons
479
+ Overloaded drawers
480
+ Nested navigation without purpose
481
+ ```
482
+
483
+ ---
484
+
485
+ # 22. Navigation decision framework
486
+
487
+ ```text id="q6x2m9"
488
+ What does the user need?
489
+ ↓
490
+ How often?
491
+ ↓
492
+ How many destinations?
493
+ ↓
494
+ How hierarchical?
495
+ ↓
496
+ How much screen space?
497
+ ↓
498
+ What does the platform expect?
499
+ ↓
500
+ What navigation model minimizes friction?
501
+ ```
502
+
503
+ ---
504
+
505
+ # 23. Navigation validation checklist
506
+
507
+ ```text id="f7m3r8"
508
+ □ User knows where they are
509
+ □ Primary destinations are obvious
510
+ □ Labels are understandable
511
+ □ Active state is clear
512
+ □ Back behavior is predictable
513
+ □ Deep links work logically
514
+ □ Context is preserved
515
+ □ Entry points are coherent
516
+ □ Navigation isn't overloaded
517
+ □ Actions aren't mixed with destinations
518
+ □ Dead ends are avoided
519
+ □ Error paths have recovery
520
+ □ Accessibility navigation works
521
+ ```
522
+
523
+ ---
524
+
525
+ ## File 67 operating principle
526
+
527
+ ```text id="b8q4n1"
528
+ INFORMATION ARCHITECTURE
529
+ ↓
530
+ DESTINATION HIERARCHY
531
+ ↓
532
+ NAVIGATION MODEL
533
+ ↓
534
+ WAYFINDING
535
+ ↓
536
+ CONTEXTUAL ACTIONS
537
+ ↓
538
+ STATE + HISTORY
539
+ ↓
540
+ VALIDATION
541
+ ```
542
+
543
+ The agent should constantly ask:
544
+
545
+ > **"If I dropped a user onto this screen right now, would they understand where they are, why they're here, and how to get where they need to go?"**
546
+
547
+ If the answer is no, the problem may be deeper than the navigation UI itself.
548
+
549
+ ---
550
+
551
+