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,1195 @@
1
+ # iOS Navigation, Screen Architecture & User Flows
2
+
3
+ > Advanced agent module for designing navigation structures, screen relationships,
4
+ > transitions, onboarding, settings, deep links, and complex application flows
5
+ > while preserving platform familiarity and user context.
6
+
7
+ Version: 1.0
8
+ Platform: iOS / iPadOS / React Native / Expo
9
+ Layer: Advanced UX architecture
10
+
11
+ ---
12
+
13
+ # 1. PURPOSE
14
+
15
+ Navigation is not merely a collection of routes.
16
+
17
+ It is the mechanism through which users understand:
18
+
19
+ ```text id="h8s2qy"
20
+ Where am I?
21
+ Where can I go?
22
+ How did I get here?
23
+ How do I return?
24
+ What will happen if I continue?
25
+ ```
26
+
27
+ A strong navigation architecture minimizes cognitive effort while preserving
28
+ context.
29
+
30
+ ---
31
+
32
+ # 2. NAVIGATION FIRST PRINCIPLE
33
+
34
+ Before creating routes, identify:
35
+
36
+ ```text id="e4ub3s"
37
+ Major destinations
38
+ Primary tasks
39
+ Secondary tasks
40
+ Object relationships
41
+ User frequency
42
+ Content hierarchy
43
+ ```
44
+
45
+ Then select the navigation pattern.
46
+
47
+ Do not start by creating screens and inventing navigation afterward.
48
+
49
+ ---
50
+
51
+ # 3. INFORMATION ARCHITECTURE
52
+
53
+ A typical application can be modeled as:
54
+
55
+ ```text id="6i1o5g"
56
+ Application
57
+ │
58
+ ├── Primary destination
59
+ │ ├── Screen
60
+ │ ├── Detail
61
+ │ └── Secondary flow
62
+ │
63
+ ├── Primary destination
64
+ │ ├── Screen
65
+ │ └── Detail
66
+ │
67
+ └── Global functionality
68
+ ```
69
+
70
+ Routes should represent meaningful product concepts, not arbitrary component
71
+ states.
72
+
73
+ ---
74
+
75
+ # 4. ROUTE PURPOSE
76
+
77
+ Every route should answer:
78
+
79
+ ```text id="gdr2vz"
80
+ Why does this screen exist?
81
+ What task does it support?
82
+ What screen led here?
83
+ Where can the user go next?
84
+ ```
85
+
86
+ If a route has no clear answer, reconsider the architecture.
87
+
88
+ ---
89
+
90
+ # 5. PRIMARY DESTINATIONS
91
+
92
+ Major destinations should represent stable areas of the product.
93
+
94
+ Examples:
95
+
96
+ ```text id="k4s1r6"
97
+ Home
98
+ Library
99
+ Search
100
+ Favorites
101
+ Profile
102
+ Settings
103
+ ```
104
+
105
+ Do not create permanent navigation destinations for temporary tasks.
106
+
107
+ ---
108
+
109
+ # 6. TAB BAR
110
+
111
+ A tab bar is appropriate when users frequently switch between major,
112
+ peer-level destinations.
113
+
114
+ Good candidates:
115
+
116
+ ```text id="5xg0c6"
117
+ Home
118
+ Library
119
+ Search
120
+ Favorites
121
+ Profile
122
+ ```
123
+
124
+ Poor candidates:
125
+
126
+ ```text id="shs9xq"
127
+ Delete
128
+ Edit
129
+ Share
130
+ Create
131
+ Import
132
+ ```
133
+
134
+ Those are actions, not destinations.
135
+
136
+ ---
137
+
138
+ # 7. TAB BAR RULE
139
+
140
+ A tab should represent a destination users may return to repeatedly.
141
+
142
+ If users enter a screen once and leave, it probably does not deserve a tab.
143
+
144
+ ---
145
+
146
+ # 8. TAB DESTINATION INDEPENDENCE
147
+
148
+ Each major tab should have a coherent internal hierarchy.
149
+
150
+ Avoid tabs that simply contain one unrelated screen.
151
+
152
+ ---
153
+
154
+ # 9. TAB STATE PRESERVATION
155
+
156
+ When practical, switching between major destinations should preserve useful
157
+ context.
158
+
159
+ For example:
160
+
161
+ ```text id="z8knr5"
162
+ Library
163
+ → Folder A
164
+ → File B
165
+
166
+ Switch tab
167
+
168
+ Settings
169
+
170
+ Return to Library
171
+
172
+ → Folder A
173
+ → File B
174
+ ```
175
+
176
+ Do not unnecessarily reset navigation state.
177
+
178
+ ---
179
+
180
+ # 10. STACK NAVIGATION
181
+
182
+ Stack navigation represents progressive depth:
183
+
184
+ ```text id="k9x4d8"
185
+ Home
186
+ ↓
187
+ Category
188
+ ↓
189
+ Item
190
+ ↓
191
+ Detail
192
+ ```
193
+
194
+ Use it when each screen represents a deeper level of the same task or content
195
+ hierarchy.
196
+
197
+ ---
198
+
199
+ # 11. BACK NAVIGATION
200
+
201
+ Back navigation should reverse the user's meaningful navigation path.
202
+
203
+ Avoid surprising jumps to unrelated destinations.
204
+
205
+ ---
206
+
207
+ # 12. BACK AS CONTEXT RESTORATION
208
+
209
+ When returning from a child screen, preserve useful state:
210
+
211
+ ```text id="d0h4ka"
212
+ Scroll position
213
+ Selected item
214
+ Search query
215
+ Filters
216
+ Sort order
217
+ Expanded sections
218
+ ```
219
+
220
+ when appropriate.
221
+
222
+ ---
223
+
224
+ # 13. NAVIGATION DEPTH
225
+
226
+ Deep navigation creates cognitive and interaction cost.
227
+
228
+ If users frequently need:
229
+
230
+ ```text id="z6e8l7"
231
+ Home
232
+ → Category
233
+ → Subcategory
234
+ → Item
235
+ → Configuration
236
+ → Advanced
237
+ ```
238
+
239
+ consider whether some information can be reorganized.
240
+
241
+ ---
242
+
243
+ # 14. DEEP NAVIGATION WARNING
244
+
245
+ Do not flatten everything into tabs merely to avoid depth.
246
+
247
+ Hierarchy is valuable when it reflects the product's information structure.
248
+
249
+ ---
250
+
251
+ # 15. MODAL NAVIGATION
252
+
253
+ Use modal presentation for temporary tasks that should not become part of the
254
+ main navigation hierarchy.
255
+
256
+ Examples:
257
+
258
+ ```text id="b6rj45"
259
+ Create
260
+ Edit
261
+ Import
262
+ Share
263
+ Filter
264
+ Select
265
+ ```
266
+
267
+ depending on context.
268
+
269
+ ---
270
+
271
+ # 16. SHEET VS FULL SCREEN
272
+
273
+ Choose based on task complexity.
274
+
275
+ ```text id="tx5c6m"
276
+ Short task
277
+ → compact sheet
278
+
279
+ Moderate task
280
+ → larger sheet
281
+
282
+ Complex task
283
+ → dedicated screen
284
+ ```
285
+
286
+ The exact breakpoint depends on content and platform context.
287
+
288
+ ---
289
+
290
+ # 17. MODAL CONTEXT
291
+
292
+ A modal should retain enough context that users understand:
293
+
294
+ ```text id="5g1p5f"
295
+ What they were doing
296
+ Why this appeared
297
+ What completing it will affect
298
+ ```
299
+
300
+ ---
301
+
302
+ # 18. MODAL ESCAPE
303
+
304
+ Every modal flow should have an understandable completion or dismissal path.
305
+
306
+ Avoid trapping users.
307
+
308
+ ---
309
+
310
+ # 19. NAVIGATION BAR
311
+
312
+ Navigation bars communicate:
313
+
314
+ ```text id="l4z0aw"
315
+ Current location
316
+ Hierarchy
317
+ Primary contextual actions
318
+ ```
319
+
320
+ Keep them visually stable.
321
+
322
+ ---
323
+
324
+ # 20. TITLE HIERARCHY
325
+
326
+ Titles should communicate the current destination.
327
+
328
+ Avoid overly decorative titles that reduce clarity.
329
+
330
+ ---
331
+
332
+ # 21. LARGE TITLES
333
+
334
+ Large titles can establish strong hierarchy on top-level destinations.
335
+
336
+ As users move deeper, titles can transition toward a more compact presentation.
337
+
338
+ ---
339
+
340
+ # 22. CONTEXTUAL ACTIONS
341
+
342
+ Navigation bars should expose only high-value contextual actions.
343
+
344
+ Secondary actions can move into menus or other appropriate patterns.
345
+
346
+ ---
347
+
348
+ # 23. TOOLBAR ACTIONS
349
+
350
+ A toolbar should not become an action dump.
351
+
352
+ Prioritize actions according to:
353
+
354
+ ```text id="wl1w8g"
355
+ Frequency
356
+ Importance
357
+ Context
358
+ ```
359
+
360
+ ---
361
+
362
+ # 24. SEARCH ARCHITECTURE
363
+
364
+ Search may be:
365
+
366
+ ```text id="t2i2bj"
367
+ Global
368
+ Destination-specific
369
+ Contextual
370
+ Inline
371
+ ```
372
+
373
+ Choose based on what users need to search.
374
+
375
+ ---
376
+
377
+ # 25. GLOBAL SEARCH
378
+
379
+ Global search is appropriate when users need to discover content across multiple
380
+ major areas.
381
+
382
+ ---
383
+
384
+ # 26. CONTEXTUAL SEARCH
385
+
386
+ Contextual search is better when the user is already inside a specific content
387
+ collection.
388
+
389
+ Example:
390
+
391
+ ```text id="8qg0gj"
392
+ Library
393
+ → Search library
394
+ ```
395
+
396
+ rather than searching the entire application.
397
+
398
+ ---
399
+
400
+ # 27. SEARCH STATE
401
+
402
+ Search navigation should preserve:
403
+
404
+ ```text id="y74q6w"
405
+ Query
406
+ Filters
407
+ Sort
408
+ Selected result
409
+ ```
410
+
411
+ when returning from result details where appropriate.
412
+
413
+ ---
414
+
415
+ # 28. FILTER FLOW
416
+
417
+ Filters should usually modify the current collection rather than send users to
418
+ an unrelated navigation destination.
419
+
420
+ ---
421
+
422
+ # 29. SORT FLOW
423
+
424
+ Sorting is usually contextual.
425
+
426
+ Keep it close to the collection being sorted.
427
+
428
+ ---
429
+
430
+ # 30. DETAIL FLOWS
431
+
432
+ A detail screen should clearly establish:
433
+
434
+ ```text id="v5ecby"
435
+ What object is being viewed
436
+ Important metadata
437
+ Primary action
438
+ Secondary actions
439
+ Return path
440
+ ```
441
+
442
+ ---
443
+
444
+ # 31. OBJECT-CENTERED NAVIGATION
445
+
446
+ For object-based applications:
447
+
448
+ ```text id="04c8op"
449
+ Collection
450
+ ↓
451
+ Object
452
+ ↓
453
+ Object actions
454
+ ↓
455
+ Related objects
456
+ ```
457
+
458
+ should remain understandable.
459
+
460
+ ---
461
+
462
+ # 32. CREATE FLOWS
463
+
464
+ Creation should be treated as a focused task.
465
+
466
+ Typical structure:
467
+
468
+ ```text id="qcvb0g"
469
+ Start creation
470
+ ↓
471
+ Enter information
472
+ ↓
473
+ Review
474
+ ↓
475
+ Create
476
+ ↓
477
+ Return to relevant context
478
+ ```
479
+
480
+ Avoid unnecessary steps.
481
+
482
+ ---
483
+
484
+ # 33. EDIT FLOWS
485
+
486
+ Editing should preserve the identity and context of the object being modified.
487
+
488
+ ---
489
+
490
+ # 34. SAVE BEHAVIOR
491
+
492
+ Choose deliberately between:
493
+
494
+ ```text id="v2v3vl"
495
+ Immediate save
496
+ Explicit save
497
+ Autosave
498
+ Draft
499
+ ```
500
+
501
+ Do not mix models unpredictably.
502
+
503
+ ---
504
+
505
+ # 35. AUTOSAVE
506
+
507
+ Autosave is useful for long-form or continuous work.
508
+
509
+ The interface should communicate the persistence state when necessary.
510
+
511
+ ---
512
+
513
+ # 36. DRAFT STATE
514
+
515
+ If work can remain incomplete, provide a meaningful draft model.
516
+
517
+ ---
518
+
519
+ # 37. DESTRUCTIVE FLOWS
520
+
521
+ Destructive operations should be treated as state transitions:
522
+
523
+ ```text id="f7v0z2"
524
+ Request
525
+ ↓
526
+ Confirmation if justified
527
+ ↓
528
+ Action
529
+ ↓
530
+ Feedback
531
+ ↓
532
+ Updated context
533
+ ```
534
+
535
+ ---
536
+
537
+ # 38. DELETE FLOW
538
+
539
+ After deletion, the application should not leave the user stranded on a screen
540
+ whose primary object no longer exists.
541
+
542
+ ---
543
+
544
+ # 39. UNDO
545
+
546
+ When appropriate, undo can be preferable to confirmation.
547
+
548
+ Example:
549
+
550
+ ```text id="v5z8nq"
551
+ Delete
552
+ ↓
553
+ Immediate removal
554
+ ↓
555
+ Undo
556
+ ```
557
+
558
+ This can reduce interruption.
559
+
560
+ ---
561
+
562
+ # 40. ONBOARDING ARCHITECTURE
563
+
564
+ Onboarding should not become a product tutorial disguised as a slideshow.
565
+
566
+ Its purpose is to establish enough understanding for successful first use.
567
+
568
+ ---
569
+
570
+ # 41. ONBOARDING CONTENT
571
+
572
+ Prioritize:
573
+
574
+ ```text id="f6d5iq"
575
+ Core value
576
+ Essential concepts
577
+ Required setup
578
+ Critical permissions
579
+ ```
580
+
581
+ Avoid teaching everything.
582
+
583
+ ---
584
+
585
+ # 42. PROGRESSIVE ONBOARDING
586
+
587
+ Teach advanced features when they become relevant.
588
+
589
+ ```text id="y70d4n"
590
+ First use
591
+ ↓
592
+ Core task
593
+ ↓
594
+ Feature discovery
595
+ ↓
596
+ Advanced capability
597
+ ```
598
+
599
+ ---
600
+
601
+ # 43. EMPTY-FIRST-RUN
602
+
603
+ A new application should provide meaningful guidance when no content exists.
604
+
605
+ Avoid blank screens with no explanation.
606
+
607
+ ---
608
+
609
+ # 44. FIRST ACTION
610
+
611
+ The onboarding experience should lead toward a concrete action.
612
+
613
+ Examples:
614
+
615
+ ```text id="1tq47p"
616
+ Create first note
617
+ Import media
618
+ Add first file
619
+ Run first calculation
620
+ Create first project
621
+ ```
622
+
623
+ ---
624
+
625
+ # 45. PERMISSION FLOW
626
+
627
+ Permissions should appear near the moment they become necessary.
628
+
629
+ ```text id="g0f8r5"
630
+ User intent
631
+ ↓
632
+ Explain need
633
+ ↓
634
+ System permission
635
+ ↓
636
+ Continue task
637
+ ```
638
+
639
+ ---
640
+
641
+ # 46. PERMISSION FAILURE
642
+
643
+ If permission is denied:
644
+
645
+ ```text id="r0d2b6"
646
+ Explain consequence
647
+ Provide useful alternative
648
+ Offer settings path when appropriate
649
+ ```
650
+
651
+ Do not simply stop the application.
652
+
653
+ ---
654
+
655
+ # 47. AUTHENTICATION FLOW
656
+
657
+ Authentication should minimize friction.
658
+
659
+ Possible structure:
660
+
661
+ ```text id="y7m2tp"
662
+ Launch
663
+ ↓
664
+ Value
665
+ ↓
666
+ Authenticate when necessary
667
+ ↓
668
+ Continue
669
+ ```
670
+
671
+ Do not force account creation before demonstrating value unless the product
672
+ requires it.
673
+
674
+ ---
675
+
676
+ # 48. DEEP LINKS
677
+
678
+ A deep link should navigate directly to the relevant context.
679
+
680
+ Example:
681
+
682
+ ```text id="t9o3cr"
683
+ Deep link
684
+ ↓
685
+ Application
686
+ ↓
687
+ Relevant destination
688
+ ↓
689
+ Relevant object
690
+ ```
691
+
692
+ ---
693
+
694
+ # 49. DEEP LINK AUTHENTICATION
695
+
696
+ If authentication is required:
697
+
698
+ ```text id="j1z7m4"
699
+ Deep link
700
+ ↓
701
+ Authentication
702
+ ↓
703
+ Original destination
704
+ ```
705
+
706
+ The destination should not be lost.
707
+
708
+ ---
709
+
710
+ # 50. DEEP LINK INVALIDATION
711
+
712
+ If the requested object no longer exists:
713
+
714
+ ```text id="5k7m0d"
715
+ Explain
716
+ ↓
717
+ Provide nearby valid destination
718
+ ```
719
+
720
+ Avoid generic crashes or dead ends.
721
+
722
+ ---
723
+
724
+ # 51. NOTIFICATION NAVIGATION
725
+
726
+ Notifications should lead to meaningful context.
727
+
728
+ Bad:
729
+
730
+ ```text id="y4o3sp"
731
+ Notification
732
+ ↓
733
+ Home
734
+ ```
735
+
736
+ Better:
737
+
738
+ ```text id="w5g2a8"
739
+ Notification
740
+ ↓
741
+ Relevant object/event
742
+ ```
743
+
744
+ ---
745
+
746
+ # 52. EXTERNAL ENTRY POINTS
747
+
748
+ The same principle applies to:
749
+
750
+ ```text id="4y8v1w"
751
+ Widgets
752
+ Shortcuts
753
+ Share extensions
754
+ Files
755
+ URLs
756
+ Notifications
757
+ ```
758
+
759
+ Each should preserve context.
760
+
761
+ ---
762
+
763
+ # 53. SHORTCUTS
764
+
765
+ Frequent workflows can be exposed through shortcuts.
766
+
767
+ The shortcut should take the user as close as practical to the intended task.
768
+
769
+ ---
770
+
771
+ # 54. BACKGROUND → FOREGROUND
772
+
773
+ When the application returns from the background, preserve meaningful context.
774
+
775
+ Do not unnecessarily restart the navigation stack.
776
+
777
+ ---
778
+
779
+ # 55. INTERRUPTED FLOWS
780
+
781
+ If the app is interrupted during a task:
782
+
783
+ ```text id="4x3b3g"
784
+ Restore
785
+ Recover
786
+ Or clearly explain why restoration is impossible.
787
+ ```
788
+
789
+ ---
790
+
791
+ # 56. MULTI-STEP FLOWS
792
+
793
+ For complex workflows:
794
+
795
+ ```text id="4r2j0c"
796
+ Step 1
797
+ ↓
798
+ Step 2
799
+ ↓
800
+ Step 3
801
+ ↓
802
+ Review
803
+ ↓
804
+ Complete
805
+ ```
806
+
807
+ Users should understand progress and remaining work.
808
+
809
+ ---
810
+
811
+ # 57. STEP INDICATORS
812
+
813
+ Use progress indicators when users benefit from knowing where they are.
814
+
815
+ Do not create a progress indicator for a two-step trivial interaction.
816
+
817
+ ---
818
+
819
+ # 58. CANCELING FLOWS
820
+
821
+ Cancel should have predictable semantics.
822
+
823
+ Ask:
824
+
825
+ ```text id="0s0n7a"
826
+ Will cancel discard work?
827
+ Will it save a draft?
828
+ Will it simply close the screen?
829
+ ```
830
+
831
+ The interface should make the result understandable.
832
+
833
+ ---
834
+
835
+ # 59. FLOW COMPLETION
836
+
837
+ Completion should return users to the most useful context.
838
+
839
+ Example:
840
+
841
+ ```text id="f7q1qz"
842
+ Create item
843
+ ↓
844
+ Success
845
+ ↓
846
+ New item selected/viewed
847
+ ```
848
+
849
+ rather than:
850
+
851
+ ```text id="z3j8r0"
852
+ Create item
853
+ ↓
854
+ Success
855
+ ↓
856
+ Unrelated home screen
857
+ ```
858
+
859
+ ---
860
+
861
+ # 60. ERROR NAVIGATION
862
+
863
+ Errors should preserve as much context as possible.
864
+
865
+ Do not restart the entire flow because one operation failed.
866
+
867
+ ---
868
+
869
+ # 61. PARTIAL SUCCESS
870
+
871
+ If part of a workflow succeeds:
872
+
873
+ ```text id="y5r3hm"
874
+ Preserve successful work
875
+ Explain failed portion
876
+ Offer recovery
877
+ ```
878
+
879
+ ---
880
+
881
+ # 62. OFFLINE NAVIGATION
882
+
883
+ Offline applications should distinguish:
884
+
885
+ ```text id="6n7y8q"
886
+ Available locally
887
+ Unavailable remotely
888
+ Pending synchronization
889
+ ```
890
+
891
+ Navigation should remain useful whenever possible.
892
+
893
+ ---
894
+
895
+ # 63. STATE + NAVIGATION
896
+
897
+ Navigation and state are connected.
898
+
899
+ A route should not unnecessarily recreate expensive state.
900
+
901
+ ---
902
+
903
+ # 64. ROUTE PARAMETERS
904
+
905
+ Route parameters should identify meaningful entities or state.
906
+
907
+ Avoid encoding large application state into navigation URLs.
908
+
909
+ ---
910
+
911
+ # 65. NAVIGATION STATE
912
+
913
+ Persist only what improves continuity.
914
+
915
+ Do not persist stale state indefinitely.
916
+
917
+ ---
918
+
919
+ # 66. NAVIGATION RESTORATION
920
+
921
+ When restoring state, verify that:
922
+
923
+ ```text id="y3x8c0"
924
+ Destination still exists
925
+ Object still exists
926
+ Permissions still allow access
927
+ Data is still valid
928
+ ```
929
+
930
+ before restoring blindly.
931
+
932
+ ---
933
+
934
+ # 67. NAVIGATION PERFORMANCE
935
+
936
+ Navigation should feel immediate.
937
+
938
+ Optimize:
939
+
940
+ ```text id="h5o7z9"
941
+ Screen mounting
942
+ Heavy data fetching
943
+ Image loading
944
+ Animations
945
+ Navigation transitions
946
+ ```
947
+
948
+ ---
949
+
950
+ # 68. TRANSITION CONTINUITY
951
+
952
+ Transitions should communicate where content came from and where it went.
953
+
954
+ ---
955
+
956
+ # 69. SHARED ELEMENT CONCEPT
957
+
958
+ When appropriate, visual continuity can connect:
959
+
960
+ ```text id="n8w0r2"
961
+ Thumbnail
962
+ ↓
963
+ Detail artwork
964
+ ```
965
+
966
+ or:
967
+
968
+ ```text id="4z5k1b"
969
+ List item
970
+ ↓
971
+ Detail screen
972
+ ```
973
+
974
+ This should support understanding rather than become spectacle.
975
+
976
+ ---
977
+
978
+ # 70. TRANSITION RESTRAINT
979
+
980
+ Not every navigation event needs a custom animation.
981
+
982
+ ---
983
+
984
+ # 71. REDUCED MOTION
985
+
986
+ Navigation must remain understandable without animation.
987
+
988
+ Motion should reinforce the hierarchy, never carry essential meaning alone.
989
+
990
+ ---
991
+
992
+ # 72. IPAD NAVIGATION
993
+
994
+ Larger screens can expose hierarchy simultaneously.
995
+
996
+ Consider:
997
+
998
+ ```text id="h3m6w1"
999
+ Sidebar
1000
+ Split view
1001
+ Persistent navigation
1002
+ Multi-column content
1003
+ ```
1004
+
1005
+ when appropriate.
1006
+
1007
+ ---
1008
+
1009
+ # 73. ADAPTIVE NAVIGATION
1010
+
1011
+ Do not simply stretch an iPhone navigation structure across a large display.
1012
+
1013
+ The information architecture may need to become more simultaneous.
1014
+
1015
+ ---
1016
+
1017
+ # 74. ORIENTATION
1018
+
1019
+ If orientation changes are supported, preserve:
1020
+
1021
+ ```text id="m4h8j2"
1022
+ Current task
1023
+ Current object
1024
+ Selection
1025
+ Scroll position
1026
+ ```
1027
+
1028
+ when possible.
1029
+
1030
+ ---
1031
+
1032
+ # 75. NAVIGATION ANTI-PATTERNS
1033
+
1034
+ Avoid:
1035
+
1036
+ ```text id="g1j5o0"
1037
+ Too many tabs
1038
+ Tabs used as actions
1039
+ Deep unexplained stacks
1040
+ Dead-end screens
1041
+ Modal overload
1042
+ Unexpected resets
1043
+ Lost context
1044
+ Navigation loops
1045
+ Hidden critical destinations
1046
+ Duplicate destinations
1047
+ Unclear back behavior
1048
+ ```
1049
+
1050
+ ---
1051
+
1052
+ # 76. NAVIGATION AUDIT
1053
+
1054
+ For every major flow, map:
1055
+
1056
+ ```text id="9x6b2v"
1057
+ Entry
1058
+ ↓
1059
+ Destination
1060
+ ↓
1061
+ Primary action
1062
+ ↓
1063
+ Secondary actions
1064
+ ↓
1065
+ Child screens
1066
+ ↓
1067
+ Exit
1068
+ ```
1069
+
1070
+ Then test:
1071
+
1072
+ ```text id="1n5d8k"
1073
+ Can users always understand where they are?
1074
+ Can they return?
1075
+ Can they recover?
1076
+ Can they resume?
1077
+ ```
1078
+
1079
+ ---
1080
+
1081
+ # 77. NAVIGATION DECISION TREE
1082
+
1083
+ ```text id="k6c4t8"
1084
+ Is this a major persistent destination?
1085
+ │
1086
+ YES
1087
+ ↓
1088
+ Consider tab/sidebar/navigation destination.
1089
+
1090
+ NO
1091
+ ↓
1092
+ Is it deeper content?
1093
+ │
1094
+ YES
1095
+ ↓
1096
+ Use stack/detail navigation.
1097
+
1098
+ NO
1099
+ ↓
1100
+ Is it a focused temporary task?
1101
+ │
1102
+ YES
1103
+ ↓
1104
+ Consider sheet/modal.
1105
+
1106
+ NO
1107
+ ↓
1108
+ Can it happen inline?
1109
+ │
1110
+ YES
1111
+ ↓
1112
+ Prefer inline interaction.
1113
+ ```
1114
+
1115
+ ---
1116
+
1117
+ # 78. AGENT NAVIGATION WORKFLOW
1118
+
1119
+ When designing navigation:
1120
+
1121
+ ```text id="r8k2m5"
1122
+ 1. Identify user goals
1123
+ 2. Identify major destinations
1124
+ 3. Map content hierarchy
1125
+ 4. Map primary tasks
1126
+ 5. Map secondary tasks
1127
+ 6. Select navigation pattern
1128
+ 7. Define route relationships
1129
+ 8. Define entry points
1130
+ 9. Define exit paths
1131
+ 10. Define restoration behavior
1132
+ 11. Define error paths
1133
+ 12. Define deep links
1134
+ 13. Define interruption recovery
1135
+ 14. Test navigation depth
1136
+ 15. Test context preservation
1137
+ 16. Test platform adaptation
1138
+ 17. Implement
1139
+ 18. Audit
1140
+ ```
1141
+
1142
+ ---
1143
+
1144
+ # 79. NAVIGATION QUALITY GATE
1145
+
1146
+ ```text id="5h0m7q"
1147
+ [ ] Major destinations are clear
1148
+ [ ] Navigation reflects information architecture
1149
+ [ ] Tabs represent destinations
1150
+ [ ] Stack depth is reasonable
1151
+ [ ] Back behavior is predictable
1152
+ [ ] Context is preserved
1153
+ [ ] Modal usage is justified
1154
+ [ ] Search is placed appropriately
1155
+ [ ] Create/edit flows are coherent
1156
+ [ ] Destructive flows recover correctly
1157
+ [ ] Onboarding leads to value
1158
+ [ ] Permissions occur contextually
1159
+ [ ] Deep links preserve destination
1160
+ [ ] Notifications preserve context
1161
+ [ ] Interrupted flows recover
1162
+ [ ] Offline behavior is considered
1163
+ [ ] iPad adaptation is considered
1164
+ [ ] Reduced motion is supported
1165
+ [ ] Navigation performance is acceptable
1166
+ [ ] No dead ends
1167
+ ```
1168
+
1169
+ ---
1170
+
1171
+ # 80. FINAL PRINCIPLE
1172
+
1173
+ The best navigation system is not the one with the fewest screens.
1174
+
1175
+ It is the one where the user rarely has to stop and ask:
1176
+
1177
+ > "Where am I supposed to go now?"
1178
+
1179
+ Navigation should make the product's information architecture feel obvious.
1180
+
1181
+ The user's mental model should remain intact from:
1182
+
1183
+ ```text id="5z6b1q"
1184
+ Entry
1185
+ ↓
1186
+ Discovery
1187
+ ↓
1188
+ Action
1189
+ ↓
1190
+ Result
1191
+ ↓
1192
+ Return
1193
+ ```
1194
+
1195
+ without unnecessary interruption, confusion, or loss of context.