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,1613 @@
1
+ # Navigation, Information Architecture & Spatial Hierarchy
2
+
3
+ > Advanced agent module for designing navigation systems, information
4
+ > architecture, hierarchy, screen relationships, navigation transitions, and
5
+ > scalable app structures across iOS, iPadOS, React Native, and Expo.
6
+
7
+ Version: 1.0
8
+ Platform: iOS / iPadOS / React Native / Expo
9
+ Layer: Advanced product architecture + UX intelligence
10
+
11
+ ---
12
+
13
+ # 1. PURPOSE
14
+
15
+ A beautiful collection of screens does not automatically create a good
16
+ application.
17
+
18
+ Users need to understand:
19
+
20
+ ```text
21
+ Where am I?
22
+ Where can I go?
23
+ How did I get here?
24
+ What can I do here?
25
+ How do I get back?
26
+ Where is the information I need?
27
+ ```
28
+
29
+ Navigation exists to answer these questions.
30
+
31
+ ---
32
+
33
+ # 2. PRIMARY PRINCIPLE
34
+
35
+ Navigation should reflect the user's mental model of the product.
36
+
37
+ Do not organize screens according to internal code structure.
38
+
39
+ Bad:
40
+
41
+ ```text
42
+ Database
43
+ ↓
44
+ Repositories
45
+ ↓
46
+ Services
47
+ ↓
48
+ Screens
49
+ ```
50
+
51
+ Good:
52
+
53
+ ```text
54
+ User goal
55
+ ↓
56
+ Feature
57
+ ↓
58
+ Task
59
+ ↓
60
+ Result
61
+ ```
62
+
63
+ ---
64
+
65
+ # 3. INFORMATION ARCHITECTURE
66
+
67
+ Information architecture defines:
68
+
69
+ ```text
70
+ Content
71
+ Features
72
+ Relationships
73
+ Hierarchy
74
+ Navigation
75
+ Grouping
76
+ ```
77
+
78
+ Before designing navigation, determine what the application actually contains.
79
+
80
+ ---
81
+
82
+ # 4. CONTENT INVENTORY
83
+
84
+ The agent should first identify:
85
+
86
+ ```text
87
+ Screens
88
+ Features
89
+ Objects
90
+ Actions
91
+ Settings
92
+ States
93
+ User-generated content
94
+ System surfaces
95
+ ```
96
+
97
+ Then establish relationships between them.
98
+
99
+ ---
100
+
101
+ # 5. OBJECT-FIRST THINKING
102
+
103
+ Many applications revolve around objects.
104
+
105
+ Examples:
106
+
107
+ ```text
108
+ Music app
109
+ → Songs
110
+ → Albums
111
+ → Artists
112
+ → Playlists
113
+
114
+ Document app
115
+ → Files
116
+ → Folders
117
+ → Collections
118
+
119
+ Notes app
120
+ → Notes
121
+ → Folders
122
+ → Tags
123
+ ```
124
+
125
+ Navigation should reflect these relationships.
126
+
127
+ ---
128
+
129
+ # 6. USER GOALS
130
+
131
+ Map navigation around user goals rather than feature quantity.
132
+
133
+ Example:
134
+
135
+ ```text
136
+ User wants to:
137
+ Listen
138
+ Browse
139
+ Search
140
+ Manage library
141
+ Adjust settings
142
+ ```
143
+
144
+ These may become major navigation destinations.
145
+
146
+ ---
147
+
148
+ # 7. PRIMARY VS SECONDARY NAVIGATION
149
+
150
+ Separate:
151
+
152
+ ```text
153
+ Primary navigation
154
+ ```
155
+
156
+ from:
157
+
158
+ ```text
159
+ Secondary navigation
160
+ ```
161
+
162
+ Primary navigation answers:
163
+
164
+ > Where do I spend most of my time?
165
+
166
+ Secondary navigation answers:
167
+
168
+ > What supporting features do I need?
169
+
170
+ ---
171
+
172
+ # 8. PRIMARY DESTINATIONS
173
+
174
+ Primary destinations should generally represent persistent areas of the
175
+ application.
176
+
177
+ Examples:
178
+
179
+ ```text
180
+ Home
181
+ Library
182
+ Search
183
+ Favorites
184
+ Profile
185
+ Settings
186
+ ```
187
+
188
+ Only include destinations that justify persistent navigation.
189
+
190
+ ---
191
+
192
+ # 9. NAVIGATION DESTINATION TEST
193
+
194
+ For every primary destination ask:
195
+
196
+ ```text
197
+ Will users visit this repeatedly?
198
+
199
+ Does it represent a meaningful area?
200
+
201
+ Would users expect it to exist independently?
202
+ ```
203
+
204
+ If not, consider making it secondary.
205
+
206
+ ---
207
+
208
+ # 10. TAB NAVIGATION
209
+
210
+ Tab navigation is appropriate when users need frequent access to several
211
+ peer-level destinations.
212
+
213
+ Conceptually:
214
+
215
+ ```text
216
+ ┌────────┬────────┬────────┬────────┐
217
+ │ Home │ Search │ Library│ Profile│
218
+ └────────┴────────┴────────┴────────┘
219
+ ```
220
+
221
+ ---
222
+
223
+ # 11. TAB COUNT
224
+
225
+ Avoid filling the tab bar with every feature.
226
+
227
+ The navigation bar should remain cognitively manageable.
228
+
229
+ ---
230
+
231
+ # 12. TAB SEMANTICS
232
+
233
+ Each tab should represent a distinct destination.
234
+
235
+ Avoid tabs that merely perform one-off actions unless the product model strongly
236
+ supports them.
237
+
238
+ ---
239
+
240
+ # 13. TAB LABELS
241
+
242
+ Labels should communicate destination meaning.
243
+
244
+ Prefer:
245
+
246
+ ```text
247
+ Library
248
+ Favorites
249
+ Search
250
+ ```
251
+
252
+ over ambiguous names such as:
253
+
254
+ ```text
255
+ More
256
+ Stuff
257
+ Tools
258
+ Misc
259
+ ```
260
+
261
+ ---
262
+
263
+ # 14. ICONS
264
+
265
+ Icons should reinforce labels rather than replace understandable terminology.
266
+
267
+ Do not assume every icon is universally understood.
268
+
269
+ ---
270
+
271
+ # 15. TAB STATE
272
+
273
+ The active destination should be obvious.
274
+
275
+ Users should immediately recognize:
276
+
277
+ ```text
278
+ Current location
279
+ ```
280
+
281
+ without needing to inspect the screen content.
282
+
283
+ ---
284
+
285
+ # 16. TAB PERSISTENCE
286
+
287
+ Switching tabs should generally preserve useful state.
288
+
289
+ Example:
290
+
291
+ ```text
292
+ Library
293
+ ↓
294
+ Open album
295
+ ↓
296
+ Search
297
+ ↓
298
+ Library
299
+ ```
300
+
301
+ The user should not unexpectedly lose their place unless the product model
302
+ requires it.
303
+
304
+ ---
305
+
306
+ # 17. NAVIGATION STACK
307
+
308
+ Hierarchical content should use a clear parent-child relationship.
309
+
310
+ Example:
311
+
312
+ ```text
313
+ Library
314
+ ↓
315
+ Album
316
+ ↓
317
+ Song
318
+ ```
319
+
320
+ ---
321
+
322
+ # 18. HIERARCHICAL NAVIGATION
323
+
324
+ A hierarchical stack is appropriate when each screen represents increasing
325
+ detail.
326
+
327
+ ```text
328
+ Collection
329
+ ↓
330
+ Category
331
+ ↓
332
+ Item
333
+ ↓
334
+ Detail
335
+ ```
336
+
337
+ ---
338
+
339
+ # 19. BACK NAVIGATION
340
+
341
+ Back navigation should preserve the user's mental model.
342
+
343
+ The user should return to the context from which they came.
344
+
345
+ ---
346
+
347
+ # 20. BACK DESTINATION
348
+
349
+ Avoid always returning users to a generic home screen.
350
+
351
+ Prefer:
352
+
353
+ ```text
354
+ Current context
355
+ ```
356
+
357
+ over:
358
+
359
+ ```text
360
+ Application root
361
+ ```
362
+
363
+ when possible.
364
+
365
+ ---
366
+
367
+ # 21. NAVIGATION DEPTH
368
+
369
+ Deep navigation can make applications difficult to understand.
370
+
371
+ Example:
372
+
373
+ ```text
374
+ Home
375
+ ↓
376
+ Library
377
+ ↓
378
+ Folder
379
+ ↓
380
+ Subfolder
381
+ ↓
382
+ Category
383
+ ↓
384
+ Item
385
+ ↓
386
+ Detail
387
+ ```
388
+
389
+ Consider whether the hierarchy can be simplified.
390
+
391
+ ---
392
+
393
+ # 22. DEEP-LINKING
394
+
395
+ Deep links should map directly to meaningful destinations.
396
+
397
+ Example:
398
+
399
+ ```text
400
+ Notification
401
+ ↓
402
+ Specific item
403
+ ```
404
+
405
+ not:
406
+
407
+ ```text
408
+ Notification
409
+ ↓
410
+ Home
411
+ ↓
412
+ Find feature
413
+ ↓
414
+ Find item
415
+ ```
416
+
417
+ ---
418
+
419
+ # 23. DEEP-LINK SAFETY
420
+
421
+ Deep links should handle:
422
+
423
+ ```text
424
+ Unauthenticated user
425
+ Missing item
426
+ Deleted item
427
+ Expired session
428
+ Unavailable content
429
+ ```
430
+
431
+ ---
432
+
433
+ # 24. DEEP-LINK RECOVERY
434
+
435
+ If a destination is unavailable, provide an understandable fallback.
436
+
437
+ ---
438
+
439
+ # 25. MODAL NAVIGATION
440
+
441
+ Use modal presentation for temporary tasks or focused flows.
442
+
443
+ Examples:
444
+
445
+ ```text
446
+ Create item
447
+ Edit item
448
+ Choose file
449
+ Filter
450
+ Share
451
+ Confirm action
452
+ ```
453
+
454
+ ---
455
+
456
+ # 26. MODAL VS SCREEN
457
+
458
+ Ask:
459
+
460
+ ```text
461
+ Is this a temporary task?
462
+
463
+ Does the user need to finish or dismiss it?
464
+
465
+ Does the underlying screen remain conceptually relevant?
466
+ ```
467
+
468
+ If yes, a modal or sheet may be appropriate.
469
+
470
+ ---
471
+
472
+ # 27. SHEETS
473
+
474
+ Sheets are useful for:
475
+
476
+ ```text
477
+ Quick actions
478
+ Filters
479
+ Options
480
+ Contextual controls
481
+ Short workflows
482
+ ```
483
+
484
+ ---
485
+
486
+ # 28. FULL-SCREEN FLOWS
487
+
488
+ Use full-screen navigation when the task requires substantial attention.
489
+
490
+ Examples:
491
+
492
+ ```text
493
+ Onboarding
494
+ Complex editor
495
+ Camera workflow
496
+ Long form
497
+ Major creation workflow
498
+ ```
499
+
500
+ ---
501
+
502
+ # 29. MODAL STACKS
503
+
504
+ Avoid unnecessary layers of modal presentation.
505
+
506
+ Example of problematic structure:
507
+
508
+ ```text
509
+ Screen
510
+ ↓
511
+ Sheet
512
+ ↓
513
+ Sheet
514
+ ↓
515
+ Modal
516
+ ↓
517
+ Another sheet
518
+ ```
519
+
520
+ This can create orientation problems.
521
+
522
+ ---
523
+
524
+ # 30. CONTEXT PRESERVATION
525
+
526
+ When opening temporary interfaces, preserve enough context for the user to
527
+ understand what they are modifying.
528
+
529
+ ---
530
+
531
+ # 31. DISMISSAL
532
+
533
+ Users should understand how to exit a temporary flow.
534
+
535
+ Potential mechanisms:
536
+
537
+ ```text
538
+ Close
539
+ Cancel
540
+ Back
541
+ Swipe down
542
+ Done
543
+ ```
544
+
545
+ Use patterns appropriate to the platform and context.
546
+
547
+ ---
548
+
549
+ # 32. CANCEL VS CLOSE
550
+
551
+ These communicate different meanings.
552
+
553
+ ```text
554
+ Cancel
555
+ → Abandon current task
556
+
557
+ Close
558
+ → Dismiss interface
559
+
560
+ Done
561
+ → Complete task
562
+ ```
563
+
564
+ Do not use them interchangeably without reason.
565
+
566
+ ---
567
+
568
+ # 33. CONFIRMATION
569
+
570
+ Do not require confirmation for every navigation action.
571
+
572
+ Confirmation is appropriate when leaving may cause:
573
+
574
+ ```text
575
+ Data loss
576
+ Unsaved changes
577
+ Irreversible action
578
+ ```
579
+
580
+ ---
581
+
582
+ # 34. UNSAVED CHANGES
583
+
584
+ When appropriate:
585
+
586
+ ```text
587
+ Edit
588
+ ↓
589
+ User attempts to leave
590
+ ↓
591
+ Unsaved changes
592
+ ↓
593
+ Save / Discard / Cancel
594
+ ```
595
+
596
+ ---
597
+
598
+ # 35. NAVIGATION STATE
599
+
600
+ The navigation system should model:
601
+
602
+ ```text
603
+ Current destination
604
+ Navigation history
605
+ Presentation state
606
+ Modal state
607
+ Deep-link state
608
+ Authentication state
609
+ ```
610
+
611
+ ---
612
+
613
+ # 36. STATE RESTORATION
614
+
615
+ Where appropriate, restore the user's previous location after interruption.
616
+
617
+ Examples:
618
+
619
+ ```text
620
+ App closed
621
+ ↓
622
+ Reopened
623
+ ↓
624
+ Return to useful context
625
+ ```
626
+
627
+ Do not restore stale or invalid states blindly.
628
+
629
+ ---
630
+
631
+ # 37. SCROLL POSITION
632
+
633
+ For long content, preserving scroll position can significantly improve
634
+ navigation continuity.
635
+
636
+ ---
637
+
638
+ # 38. SEARCH NAVIGATION
639
+
640
+ Search should lead directly to relevant results.
641
+
642
+ Example:
643
+
644
+ ```text
645
+ Search
646
+ ↓
647
+ Result
648
+ ↓
649
+ Detail
650
+ ```
651
+
652
+ Avoid unnecessary intermediary screens.
653
+
654
+ ---
655
+
656
+ # 39. SEARCH CONTEXT
657
+
658
+ When users open a result and return, preserve useful search context.
659
+
660
+ ---
661
+
662
+ # 40. FILTER CONTEXT
663
+
664
+ Filters should remain understandable and discoverable.
665
+
666
+ If filters materially change the content, communicate the active filter state.
667
+
668
+ ---
669
+
670
+ # 41. SORT CONTEXT
671
+
672
+ Sorting should clearly indicate the current order.
673
+
674
+ ---
675
+
676
+ # 42. BREADCRUMBS
677
+
678
+ Breadcrumbs can help on large information structures, particularly tablet or
679
+ desktop-style layouts.
680
+
681
+ They are less useful when the navigation stack is already obvious.
682
+
683
+ ---
684
+
685
+ # 43. iPAD INFORMATION ARCHITECTURE
686
+
687
+ Larger screens allow simultaneous presentation of:
688
+
689
+ ```text
690
+ Navigation
691
+ List
692
+ Detail
693
+ ```
694
+
695
+ rather than forcing every relationship into a sequence of full-screen
696
+ transitions.
697
+
698
+ ---
699
+
700
+ # 44. SPLIT VIEW
701
+
702
+ A split layout can communicate:
703
+
704
+ ```text
705
+ Collection
706
+ +
707
+ Selected detail
708
+ ```
709
+
710
+ Example:
711
+
712
+ ```text
713
+ ┌──────────────┬───────────────────────┐
714
+ │ Collections │ Detail │
715
+ │ │ │
716
+ │ Item A │ Item A information │
717
+ │ Item B │ │
718
+ │ Item C │ │
719
+ └──────────────┴───────────────────────┘
720
+ ```
721
+
722
+ ---
723
+
724
+ # 45. RESPONSIVE NAVIGATION
725
+
726
+ Navigation should adapt to available space.
727
+
728
+ Conceptually:
729
+
730
+ ```text
731
+ Phone
732
+ → Tabs / stack
733
+
734
+ Tablet
735
+ → Sidebar / split view
736
+
737
+ Desktop
738
+ → Sidebar + multi-column workspace
739
+ ```
740
+
741
+ Do not simply scale the phone interface.
742
+
743
+ ---
744
+
745
+ # 46. COMPACT VS REGULAR LAYOUTS
746
+
747
+ The agent should distinguish:
748
+
749
+ ```text
750
+ Compact width
751
+ Regular width
752
+ ```
753
+
754
+ and design navigation accordingly.
755
+
756
+ ---
757
+
758
+ # 47. SIDEBARS
759
+
760
+ Sidebars are appropriate for applications with many persistent destinations.
761
+
762
+ Examples:
763
+
764
+ ```text
765
+ Files
766
+ Music
767
+ Notes
768
+ Projects
769
+ Settings
770
+ ```
771
+
772
+ ---
773
+
774
+ # 48. SIDEBAR SELECTION
775
+
776
+ The selected sidebar item should be visually obvious.
777
+
778
+ ---
779
+
780
+ # 49. SIDEBAR GROUPING
781
+
782
+ Group related destinations.
783
+
784
+ Example:
785
+
786
+ ```text
787
+ LIBRARY
788
+
789
+ Home
790
+ Favorites
791
+ Recent
792
+
793
+ MANAGE
794
+
795
+ Playlists
796
+ Folders
797
+
798
+ SYSTEM
799
+
800
+ Settings
801
+ ```
802
+
803
+ Grouping improves scanning.
804
+
805
+ ---
806
+
807
+ # 50. NAVIGATION GROUPS
808
+
809
+ Groups should reflect user concepts rather than internal implementation.
810
+
811
+ Bad:
812
+
813
+ ```text
814
+ Services
815
+ Repositories
816
+ Controllers
817
+ ```
818
+
819
+ Good:
820
+
821
+ ```text
822
+ Library
823
+ Account
824
+ Preferences
825
+ Security
826
+ ```
827
+
828
+ ---
829
+
830
+ # 51. SETTINGS NAVIGATION
831
+
832
+ Settings often require hierarchical organization.
833
+
834
+ Structure:
835
+
836
+ ```text
837
+ Settings
838
+ ↓
839
+ Category
840
+ ↓
841
+ Specific preference
842
+ ```
843
+
844
+ Avoid putting every setting on one enormous page.
845
+
846
+ ---
847
+
848
+ # 52. SETTINGS CATEGORIES
849
+
850
+ Useful conceptual categories include:
851
+
852
+ ```text
853
+ Appearance
854
+ Playback
855
+ Notifications
856
+ Privacy
857
+ Security
858
+ Storage
859
+ Account
860
+ Advanced
861
+ ```
862
+
863
+ Only include categories relevant to the application.
864
+
865
+ ---
866
+
867
+ # 53. NAVIGATION LABELING
868
+
869
+ Navigation labels should describe where the user is going.
870
+
871
+ Avoid labels that describe implementation.
872
+
873
+ ---
874
+
875
+ # 54. INFORMATION HIERARCHY
876
+
877
+ Every screen should have:
878
+
879
+ ```text
880
+ Primary purpose
881
+ Secondary information
882
+ Supporting actions
883
+ ```
884
+
885
+ The primary purpose should dominate visually.
886
+
887
+ ---
888
+
889
+ # 55. SCREEN TITLE
890
+
891
+ The title should communicate the current context.
892
+
893
+ Avoid titles that merely repeat the application name.
894
+
895
+ ---
896
+
897
+ # 56. LARGE TITLES
898
+
899
+ Large titles can establish strong hierarchy on top-level screens.
900
+
901
+ They should not consume excessive space when the screen requires dense content.
902
+
903
+ ---
904
+
905
+ # 57. SUBTITLE
906
+
907
+ Use subtitles when additional context is genuinely useful.
908
+
909
+ Example:
910
+
911
+ ```text
912
+ Library
913
+ 42 albums
914
+ ```
915
+
916
+ ---
917
+
918
+ # 58. CONTEXTUAL ACTIONS
919
+
920
+ Actions should appear near the content they affect when possible.
921
+
922
+ Example:
923
+
924
+ ```text
925
+ Album
926
+ → Album actions
927
+ ```
928
+
929
+ rather than forcing users to search through global menus.
930
+
931
+ ---
932
+
933
+ # 59. PRIMARY ACTION
934
+
935
+ Every major screen should have a clear primary action when one exists.
936
+
937
+ ---
938
+
939
+ # 60. ACTION HIERARCHY
940
+
941
+ Differentiate:
942
+
943
+ ```text
944
+ Primary
945
+ Secondary
946
+ Tertiary
947
+ Destructive
948
+ ```
949
+
950
+ Do not make every button visually dominant.
951
+
952
+ ---
953
+
954
+ # 61. FLOATING ACTIONS
955
+
956
+ Floating actions should represent a clear primary operation.
957
+
958
+ Avoid floating buttons that compete with navigation.
959
+
960
+ ---
961
+
962
+ # 62. TOOLBARS
963
+
964
+ Toolbars should contain actions relevant to the current context.
965
+
966
+ Avoid filling them with every possible command.
967
+
968
+ ---
969
+
970
+ # 63. OVERFLOW MENUS
971
+
972
+ Overflow menus are useful for secondary actions.
973
+
974
+ Do not hide frequently used actions there solely to make the UI look cleaner.
975
+
976
+ ---
977
+
978
+ # 64. COMMAND DISCOVERABILITY
979
+
980
+ Important commands should have at least one discoverable route.
981
+
982
+ Hidden power features may exist, but critical workflows should not depend on
983
+ secret gestures.
984
+
985
+ ---
986
+
987
+ # 65. NAVIGATION CONSISTENCY
988
+
989
+ If a concept is called:
990
+
991
+ ```text
992
+ Library
993
+ ```
994
+
995
+ do not rename it:
996
+
997
+ ```text
998
+ Collection
999
+ ```
1000
+
1001
+ on another screen without a strong reason.
1002
+
1003
+ ---
1004
+
1005
+ # 66. TERMINOLOGY SYSTEM
1006
+
1007
+ Maintain a product-wide vocabulary.
1008
+
1009
+ Examples:
1010
+
1011
+ ```text
1012
+ Save
1013
+ Delete
1014
+ Archive
1015
+ Favorite
1016
+ Download
1017
+ Share
1018
+ ```
1019
+
1020
+ Their meanings should remain consistent.
1021
+
1022
+ ---
1023
+
1024
+ # 67. INFORMATION DENSITY
1025
+
1026
+ Navigation should not overwhelm users with every available feature.
1027
+
1028
+ Use progressive disclosure.
1029
+
1030
+ ---
1031
+
1032
+ # 68. DISCOVERY
1033
+
1034
+ Advanced features can become discoverable through:
1035
+
1036
+ ```text
1037
+ Context menus
1038
+ Tooltips
1039
+ Onboarding
1040
+ Empty states
1041
+ Search
1042
+ Command menus
1043
+ ```
1044
+
1045
+ ---
1046
+
1047
+ # 69. EMPTY STATES
1048
+
1049
+ Empty states should help users understand:
1050
+
1051
+ ```text
1052
+ What is missing?
1053
+ Why is it empty?
1054
+ What can I do?
1055
+ ```
1056
+
1057
+ Example:
1058
+
1059
+ ```text
1060
+ No playlists yet.
1061
+
1062
+ Create your first playlist to organize your music.
1063
+ [Create Playlist]
1064
+ ```
1065
+
1066
+ ---
1067
+
1068
+ # 70. EMPTY STATE NAVIGATION
1069
+
1070
+ An empty state should often provide a direct path to the relevant creation
1071
+ workflow.
1072
+
1073
+ ---
1074
+
1075
+ # 71. ERROR NAVIGATION
1076
+
1077
+ When an error occurs, keep the user near the context that produced it.
1078
+
1079
+ Avoid dumping the user onto a generic error screen when recovery can occur
1080
+ locally.
1081
+
1082
+ ---
1083
+
1084
+ # 72. AUTHENTICATION NAVIGATION
1085
+
1086
+ Unauthenticated states should not destroy useful navigation context.
1087
+
1088
+ Example:
1089
+
1090
+ ```text
1091
+ Protected destination
1092
+ ↓
1093
+ Sign in
1094
+ ↓
1095
+ Return to requested destination
1096
+ ```
1097
+
1098
+ when appropriate.
1099
+
1100
+ ---
1101
+
1102
+ # 73. ONBOARDING NAVIGATION
1103
+
1104
+ Onboarding should not become a permanent obstacle.
1105
+
1106
+ Users should reach the useful product quickly.
1107
+
1108
+ ---
1109
+
1110
+ # 74. ONBOARDING SKIPPING
1111
+
1112
+ If onboarding is not essential for safe operation, allow users to skip it.
1113
+
1114
+ ---
1115
+
1116
+ # 75. FIRST-RUN EXPERIENCE
1117
+
1118
+ The first-run navigation should communicate:
1119
+
1120
+ ```text
1121
+ What is this?
1122
+ What can I do?
1123
+ Where should I start?
1124
+ ```
1125
+
1126
+ without overwhelming the user.
1127
+
1128
+ ---
1129
+
1130
+ # 76. NAVIGATION + NOTIFICATIONS
1131
+
1132
+ Notification destinations should map to actual application contexts.
1133
+
1134
+ Example:
1135
+
1136
+ ```text
1137
+ Download complete
1138
+ ↓
1139
+ Downloads
1140
+ ```
1141
+
1142
+ not simply:
1143
+
1144
+ ```text
1145
+ Home
1146
+ ```
1147
+
1148
+ ---
1149
+
1150
+ # 77. NAVIGATION + SEARCH
1151
+
1152
+ Search should bypass unnecessary hierarchy when the user already knows what they
1153
+ want.
1154
+
1155
+ ---
1156
+
1157
+ # 78. NAVIGATION + DEEP LINKS
1158
+
1159
+ Deep links should be treated as alternate entry points into the same
1160
+ information architecture.
1161
+
1162
+ Do not create completely separate navigation logic unless necessary.
1163
+
1164
+ ---
1165
+
1166
+ # 79. NAVIGATION + SHARE
1167
+
1168
+ Incoming shared content should enter the most appropriate workflow.
1169
+
1170
+ ---
1171
+
1172
+ # 80. NAVIGATION + SHORTCUTS
1173
+
1174
+ Shortcuts should launch directly into meaningful actions.
1175
+
1176
+ ---
1177
+
1178
+ # 81. NAVIGATION + MEDIA
1179
+
1180
+ Media applications often need persistent playback context.
1181
+
1182
+ Example:
1183
+
1184
+ ```text
1185
+ Browse
1186
+ ↓
1187
+ Song
1188
+ ↓
1189
+ Player
1190
+ ```
1191
+
1192
+ The playback state should remain accessible without forcing users to restart
1193
+ navigation.
1194
+
1195
+ ---
1196
+
1197
+ # 82. MINI PLAYER
1198
+
1199
+ A persistent mini-player can act as both:
1200
+
1201
+ ```text
1202
+ Playback state
1203
+ +
1204
+ Navigation entry point
1205
+ ```
1206
+
1207
+ when appropriate.
1208
+
1209
+ ---
1210
+
1211
+ # 83. MINI PLAYER HIERARCHY
1212
+
1213
+ The mini-player should not overpower the primary content.
1214
+
1215
+ It should remain visually secondary to the current task.
1216
+
1217
+ ---
1218
+
1219
+ # 84. NAVIGATION + EDITORS
1220
+
1221
+ Editors require careful exit behavior.
1222
+
1223
+ Potential states:
1224
+
1225
+ ```text
1226
+ Editing
1227
+ Saving
1228
+ Saved
1229
+ Unsaved
1230
+ Conflict
1231
+ Error
1232
+ ```
1233
+
1234
+ ---
1235
+
1236
+ # 85. WORKFLOW NAVIGATION
1237
+
1238
+ Complex workflows should clearly communicate progression.
1239
+
1240
+ Example:
1241
+
1242
+ ```text
1243
+ Select
1244
+ ↓
1245
+ Configure
1246
+ ↓
1247
+ Review
1248
+ ↓
1249
+ Complete
1250
+ ```
1251
+
1252
+ ---
1253
+
1254
+ # 86. STEP NAVIGATION
1255
+
1256
+ For multi-step processes, allow users to understand where they are and what
1257
+ remains.
1258
+
1259
+ ---
1260
+
1261
+ # 87. NON-LINEAR WORKFLOWS
1262
+
1263
+ Do not force linear navigation when users naturally move between tasks.
1264
+
1265
+ ---
1266
+
1267
+ # 88. CONTEXTUAL NAVIGATION
1268
+
1269
+ Navigation should change according to context only when the change improves
1270
+ the user's task.
1271
+
1272
+ Avoid constantly moving controls.
1273
+
1274
+ ---
1275
+
1276
+ # 89. NAVIGATION PREDICTABILITY
1277
+
1278
+ Users should be able to form a reliable prediction:
1279
+
1280
+ > If I tap this, where will I go?
1281
+
1282
+ ---
1283
+
1284
+ # 90. NAVIGATION DEPTH AUDIT
1285
+
1286
+ For every deep flow ask:
1287
+
1288
+ ```text
1289
+ Can this hierarchy be simplified?
1290
+
1291
+ Can two screens become one?
1292
+
1293
+ Can a sheet handle this task?
1294
+
1295
+ Can a split view reduce navigation?
1296
+
1297
+ Can search bypass unnecessary levels?
1298
+ ```
1299
+
1300
+ ---
1301
+
1302
+ # 91. SPATIAL MEMORY
1303
+
1304
+ Users learn interfaces partly through spatial memory.
1305
+
1306
+ Therefore:
1307
+
1308
+ ```text
1309
+ Navigation locations
1310
+ Action positions
1311
+ Toolbar structures
1312
+ Primary controls
1313
+ ```
1314
+
1315
+ should remain relatively stable.
1316
+
1317
+ ---
1318
+
1319
+ # 92. CONTROL STABILITY
1320
+
1321
+ Do not move important navigation controls between screens without a compelling
1322
+ reason.
1323
+
1324
+ ---
1325
+
1326
+ # 93. NAVIGATION TRANSITIONS
1327
+
1328
+ Transitions should reinforce hierarchy.
1329
+
1330
+ Examples:
1331
+
1332
+ ```text
1333
+ Push
1334
+ → Deeper context
1335
+
1336
+ Pop
1337
+ → Return to parent
1338
+
1339
+ Modal
1340
+ → Temporary task
1341
+
1342
+ Sheet
1343
+ → Contextual operation
1344
+ ```
1345
+
1346
+ ---
1347
+
1348
+ # 94. TRANSITION DIRECTION
1349
+
1350
+ Motion direction should communicate navigation direction where appropriate.
1351
+
1352
+ ---
1353
+
1354
+ # 95. TRANSITION SPEED
1355
+
1356
+ Navigation should never feel artificially slow.
1357
+
1358
+ ---
1359
+
1360
+ # 96. BACK NAVIGATION TEST
1361
+
1362
+ The agent should test:
1363
+
1364
+ ```text
1365
+ Open A
1366
+ ↓
1367
+ Open B
1368
+ ↓
1369
+ Open C
1370
+ ↓
1371
+ Back
1372
+ ↓
1373
+ B
1374
+
1375
+ Back
1376
+ ↓
1377
+ A
1378
+ ```
1379
+
1380
+ and ensure the resulting state is correct.
1381
+
1382
+ ---
1383
+
1384
+ # 97. RESTORATION TEST
1385
+
1386
+ Test:
1387
+
1388
+ ```text
1389
+ Open deep screen
1390
+ ↓
1391
+ Background app
1392
+ ↓
1393
+ Return
1394
+ ```
1395
+
1396
+ and:
1397
+
1398
+ ```text
1399
+ Terminate
1400
+ ↓
1401
+ Reopen
1402
+ ```
1403
+
1404
+ where state restoration is expected.
1405
+
1406
+ ---
1407
+
1408
+ # 98. DEEP-LINK TEST
1409
+
1410
+ Test:
1411
+
1412
+ ```text
1413
+ Cold launch
1414
+ Warm launch
1415
+ Authenticated
1416
+ Unauthenticated
1417
+ Missing content
1418
+ Deleted content
1419
+ ```
1420
+
1421
+ ---
1422
+
1423
+ # 99. NAVIGATION PERFORMANCE
1424
+
1425
+ Navigation should feel immediate.
1426
+
1427
+ Avoid loading the entire application before allowing the user to navigate to
1428
+ simple local content.
1429
+
1430
+ ---
1431
+
1432
+ # 100. NAVIGATION ARCHITECTURE
1433
+
1434
+ The implementation should conceptually separate:
1435
+
1436
+ ```text
1437
+ Navigation state
1438
+ UI state
1439
+ Domain state
1440
+ Persistence state
1441
+ ```
1442
+
1443
+ Do not make navigation responsible for application business logic.
1444
+
1445
+ ---
1446
+
1447
+ # 101. NAVIGATION SOURCE OF TRUTH
1448
+
1449
+ The application should have a clear authority for the current navigation state.
1450
+
1451
+ Avoid multiple independent systems fighting over navigation.
1452
+
1453
+ ---
1454
+
1455
+ # 102. NAVIGATION ERROR RECOVERY
1456
+
1457
+ If navigation fails:
1458
+
1459
+ ```text
1460
+ Preserve context
1461
+ Explain problem
1462
+ Provide recovery
1463
+ Avoid dead ends
1464
+ ```
1465
+
1466
+ ---
1467
+
1468
+ # 103. NAVIGATION ANTI-PATTERNS
1469
+
1470
+ Avoid:
1471
+
1472
+ ```text
1473
+ Too many tabs
1474
+ Deep navigation chains
1475
+ Hidden critical actions
1476
+ Inconsistent back behavior
1477
+ Random modal stacking
1478
+ Unclear screen titles
1479
+ Changing terminology
1480
+ Moving navigation controls
1481
+ Generic deep-link destinations
1482
+ Lost scroll position
1483
+ Lost user context
1484
+ Unnecessary confirmation screens
1485
+ Navigation controlled by business logic
1486
+ ```
1487
+
1488
+ ---
1489
+
1490
+ # 104. INFORMATION ARCHITECTURE WORKFLOW
1491
+
1492
+ The agent should follow:
1493
+
1494
+ ```text
1495
+ 1. Inventory content
1496
+ ↓
1497
+ 2. Identify user goals
1498
+ ↓
1499
+ 3. Group related concepts
1500
+ ↓
1501
+ 4. Identify primary destinations
1502
+ ↓
1503
+ 5. Define secondary navigation
1504
+ ↓
1505
+ 6. Define hierarchy
1506
+ ↓
1507
+ 7. Define screen relationships
1508
+ ↓
1509
+ 8. Define modal/sheet boundaries
1510
+ ↓
1511
+ 9. Define deep links
1512
+ ↓
1513
+ 10. Define state restoration
1514
+ ↓
1515
+ 11. Define responsive layouts
1516
+ ↓
1517
+ 12. Define navigation transitions
1518
+ ↓
1519
+ 13. Test back behavior
1520
+ ↓
1521
+ 14. Test interruption
1522
+ ↓
1523
+ 15. Test deep links
1524
+ ↓
1525
+ 16. Audit discoverability
1526
+ ```
1527
+
1528
+ ---
1529
+
1530
+ # 105. NAVIGATION QUALITY GATE
1531
+
1532
+ ```text
1533
+ [ ] Primary destinations are meaningful
1534
+ [ ] Navigation reflects user goals
1535
+ [ ] Tabs are limited and useful
1536
+ [ ] Hierarchy is understandable
1537
+ [ ] Back navigation is predictable
1538
+ [ ] Context is preserved
1539
+ [ ] Deep links work
1540
+ [ ] Missing destinations recover gracefully
1541
+ [ ] Modal use is appropriate
1542
+ [ ] Sheets have clear purpose
1543
+ [ ] Navigation depth is controlled
1544
+ [ ] Search can bypass unnecessary hierarchy
1545
+ [ ] Settings are organized
1546
+ [ ] Terminology is consistent
1547
+ [ ] Empty states provide direction
1548
+ [ ] Error states preserve context
1549
+ [ ] Authentication preserves destination where appropriate
1550
+ [ ] Phone and tablet layouts adapt
1551
+ [ ] Navigation state is separate from business logic
1552
+ [ ] Transitions communicate hierarchy
1553
+ ```
1554
+
1555
+ ---
1556
+
1557
+ # 106. AGENT DECISION RULE
1558
+
1559
+ Before creating a new screen, ask:
1560
+
1561
+ ```text
1562
+ Does this need to be a separate destination?
1563
+
1564
+ Could this be a component?
1565
+
1566
+ Could this be a sheet?
1567
+
1568
+ Could this be an inline state?
1569
+
1570
+ Could this be a detail view?
1571
+
1572
+ Could the user accomplish this from the current context?
1573
+ ```
1574
+
1575
+ Avoid creating screens simply because the feature exists.
1576
+
1577
+ ---
1578
+
1579
+ # 107. FINAL PRINCIPLE
1580
+
1581
+ Excellent navigation disappears into the user's mental model.
1582
+
1583
+ The user should not think:
1584
+
1585
+ > "Which navigation system do I use?"
1586
+
1587
+ They should think:
1588
+
1589
+ > "I know where this belongs."
1590
+
1591
+ The ideal structure is:
1592
+
1593
+ ```text
1594
+ User goal
1595
+ ↓
1596
+ Clear destination
1597
+ ↓
1598
+ Relevant context
1599
+ ↓
1600
+ Focused action
1601
+ ↓
1602
+ Predictable result
1603
+ ↓
1604
+ Easy return
1605
+ ```
1606
+
1607
+ The objective is not to minimize the number of screens.
1608
+
1609
+ The objective is to minimize the **amount of thinking required to move through
1610
+ them.**
1611
+
1612
+ A premium application therefore treats navigation as an invisible architecture
1613
+ supporting the user's mental model rather than as a collection of routes.