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,1674 @@
1
+
2
+
3
+ # iOS Navigation & Information Architecture
4
+
5
+ > Agent intelligence module for structuring apps into coherent navigation,
6
+ > flows, destinations, hierarchy, state transitions, and task-oriented
7
+ > experiences inspired by modern iOS interaction patterns.
8
+
9
+ Version: 1.0
10
+ Platform: iOS / iPadOS / React Native / Expo
11
+ Role: Navigation and information-architecture intelligence
12
+
13
+ Parent:
14
+
15
+ * design-review-engine.md
16
+ * design-decision-framework.md
17
+ * visual-hierarchy-engine.md
18
+ * accessibility-and-inclusive-design.md
19
+ * layout.md
20
+ * interaction-patterns.md
21
+ * components.md
22
+
23
+ # 1. PURPOSE
24
+
25
+ The agent must design the application as a connected system.
26
+
27
+ Do not design:
28
+
29
+ ```text
30
+ Screen A
31
+ Screen B
32
+ Screen C
33
+ Screen D
34
+ ```
35
+
36
+ as isolated artifacts.
37
+
38
+ Design:
39
+
40
+ ```text
41
+ User goal
42
+ ↓
43
+ Entry point
44
+ ↓
45
+ Navigation
46
+ ↓
47
+ Destination
48
+ ↓
49
+ Action
50
+ ↓
51
+ Result
52
+ ↓
53
+ Next possible action
54
+ ```
55
+
56
+ The app must form a coherent mental model.
57
+
58
+ # 2. CORE PRINCIPLE
59
+
60
+ Navigation exists to answer:
61
+
62
+ ```text
63
+ Where am I?
64
+
65
+ How did I get here?
66
+
67
+ Where can I go?
68
+
69
+ How do I go back?
70
+
71
+ What is the most important destination?
72
+
73
+ What happens if I leave?
74
+
75
+ How do I return later?
76
+ ```
77
+
78
+ If users cannot answer these intuitively, the information architecture needs work.
79
+
80
+ # 3. INFORMATION ARCHITECTURE FIRST
81
+
82
+ Before designing screens, identify:
83
+
84
+ ```text
85
+ entities
86
+ content
87
+ actions
88
+ relationships
89
+ user goals
90
+ destinations
91
+ flows
92
+ ```
93
+
94
+ Then determine navigation.
95
+
96
+ # 4. APP MODEL
97
+
98
+ Represent the application as:
99
+
100
+ ```text
101
+ APP
102
+ │
103
+ ├── Primary destinations
104
+ │
105
+ ├── Secondary destinations
106
+ │
107
+ ├── Tasks
108
+ │
109
+ ├── Modal flows
110
+ │
111
+ ├── Settings
112
+ │
113
+ └── System interactions
114
+ ```
115
+
116
+ .
117
+
118
+ # 5. PRIMARY DESTINATIONS
119
+
120
+ Primary destinations represent the main areas of the product.
121
+
122
+ Examples:
123
+
124
+ ```text
125
+ Home
126
+ Library
127
+ Search
128
+ Favorites
129
+ Profile
130
+ Settings
131
+ ```
132
+
133
+ Do not make every feature a primary destination.
134
+
135
+ # 6. PRIMARY NAVIGATION
136
+
137
+ Primary navigation should expose the application's most important destinations.
138
+
139
+ Use it when users frequently move between those areas.
140
+
141
+ # 7. TAB BAR
142
+
143
+ A tab bar is appropriate when the app has a small set of persistent,
144
+ peer-level destinations.
145
+
146
+ Conceptually:
147
+
148
+ ```text
149
+ ┌─────────────────────────────┐
150
+ │ │
151
+ │ Current screen │
152
+ │ │
153
+ ├─────────────────────────────┤
154
+ │ Home Library Search Profile │
155
+ └─────────────────────────────┘
156
+ ```
157
+
158
+ Tabs should represent destinations, not arbitrary actions.
159
+
160
+ # 8. TAB BAR ANTI-PATTERN
161
+
162
+ Do not use tabs for:
163
+
164
+ ```text
165
+ Save
166
+ Share
167
+ Add
168
+ Edit
169
+ Sort
170
+ Filter
171
+ ```
172
+
173
+ These are actions, not primary destinations.
174
+
175
+ # 9. TAB DESTINATION TEST
176
+
177
+ Ask:
178
+
179
+ > Would users reasonably expect to return to this area repeatedly?
180
+
181
+ If yes, it may be a candidate for primary navigation.
182
+
183
+ If no, consider another navigation mechanism.
184
+
185
+ # 10. TAB COUNT
186
+
187
+ Keep primary destinations limited.
188
+
189
+ When the number becomes excessive:
190
+
191
+ ```text
192
+ information architecture
193
+ >
194
+ adding more tabs
195
+ ```
196
+
197
+ Consider:
198
+
199
+ ```text
200
+ search
201
+ menus
202
+ secondary navigation
203
+ grouping
204
+ ```
205
+
206
+ .
207
+
208
+ # 11. TAB LABELS
209
+
210
+ Labels should communicate destinations clearly.
211
+
212
+ Prefer:
213
+
214
+ ```text
215
+ Library
216
+ Favorites
217
+ Settings
218
+ ```
219
+
220
+ over ambiguous labels such as:
221
+
222
+ ```text
223
+ More
224
+ Stuff
225
+ Main
226
+ Other
227
+ ```
228
+
229
+ .
230
+
231
+ # 12. TAB ICONS
232
+
233
+ Icons should reinforce labels rather than replace clarity.
234
+
235
+ Use familiar iconography where possible.
236
+
237
+ # 13. TAB STATE
238
+
239
+ The active tab should be unmistakable.
240
+
241
+ Use a combination of:
242
+
243
+ ```text
244
+ icon state
245
+ label emphasis
246
+ color
247
+ ```
248
+
249
+ rather than relying on a tiny visual difference.
250
+
251
+ # 14. TAB PERSISTENCE
252
+
253
+ Switching between primary destinations should preserve useful context when
254
+ appropriate.
255
+
256
+ Example:
257
+
258
+ ```text
259
+ Library
260
+ ↓
261
+ Search
262
+ ↓
263
+ Library
264
+ ```
265
+
266
+ The user should not unexpectedly lose their previous position unless the
267
+ product intentionally resets it.
268
+
269
+ # 15. NAVIGATION STACK
270
+
271
+ A navigation stack represents hierarchical movement.
272
+
273
+ Example:
274
+
275
+ ```text
276
+ Library
277
+ ↓
278
+ Album
279
+ ↓
280
+ Track
281
+ ↓
282
+ Lyrics
283
+ ```
284
+
285
+ Each destination is conceptually deeper than the previous one.
286
+
287
+ # 16. HIERARCHICAL NAVIGATION
288
+
289
+ Use hierarchical navigation when:
290
+
291
+ ```text
292
+ A contains B
293
+ B contains C
294
+ ```
295
+
296
+ or when users naturally explore deeper into content.
297
+
298
+ # 17. STACK DEPTH
299
+
300
+ Deep navigation is not automatically bad.
301
+
302
+ The problem is when users lose:
303
+
304
+ ```text
305
+ context
306
+ orientation
307
+ easy return path
308
+ ```
309
+
310
+ .
311
+
312
+ # 18. BACK BEHAVIOR
313
+
314
+ Back navigation should normally reverse the user's navigation path.
315
+
316
+ Conceptually:
317
+
318
+ ```text
319
+ A → B → C
320
+
321
+ Back:
322
+ C → B
323
+
324
+ Back:
325
+ B → A
326
+ ```
327
+
328
+ Do not unexpectedly send users to an unrelated destination.
329
+
330
+ # 19. BACK IS A STATE OPERATION
331
+
332
+ Back may mean:
333
+
334
+ ```text
335
+ leave screen
336
+ close temporary state
337
+ dismiss overlay
338
+ collapse flow
339
+ ```
340
+
341
+ depending on the hierarchy.
342
+
343
+ The agent must understand which state is being reversed.
344
+
345
+ # 20. MODAL VS NAVIGATION
346
+
347
+ Use a modal when the user is entering a temporary task or focused interruption.
348
+
349
+ Use navigation when the user is moving to another persistent destination.
350
+
351
+ # 21. MODAL QUESTIONS
352
+
353
+ Ask:
354
+
355
+ ```text
356
+ Is this task temporary?
357
+
358
+ Does the user need to complete it before returning?
359
+
360
+ Does it interrupt the current context?
361
+
362
+ Should the previous screen remain conceptually underneath?
363
+ ```
364
+
365
+ If yes, modal presentation may be appropriate.
366
+
367
+ # 22. SHEETS
368
+
369
+ Sheets are useful for:
370
+
371
+ ```text
372
+ secondary tasks
373
+ quick actions
374
+ selection
375
+ filters
376
+ short forms
377
+ contextual information
378
+ ```
379
+
380
+ .
381
+
382
+ # 23. FULL-SCREEN FLOWS
383
+
384
+ Use full-screen presentation when:
385
+
386
+ ```text
387
+ task is immersive
388
+ content needs space
389
+ modal hierarchy needs stronger separation
390
+ ```
391
+
392
+ .
393
+
394
+ # 24. MODAL OVERUSE
395
+
396
+ Do not turn every destination into a modal.
397
+
398
+ This creates:
399
+
400
+ ```text
401
+ navigation confusion
402
+ stack complexity
403
+ unclear dismissal
404
+ ```
405
+
406
+ .
407
+
408
+ # 25. SHEET OVERUSE
409
+
410
+ Do not use sheets simply because they look modern.
411
+
412
+ Choose based on task semantics.
413
+
414
+ # 26. ACTION SHEETS
415
+
416
+ Action-oriented temporary choices may be presented in a contextual sheet or
417
+ menu depending on importance and number of actions.
418
+
419
+ # 27. MENUS
420
+
421
+ Menus are appropriate for:
422
+
423
+ ```text
424
+ secondary actions
425
+ rare actions
426
+ compact choices
427
+ contextual operations
428
+ ```
429
+
430
+ .
431
+
432
+ # 28. MENU VS SCREEN
433
+
434
+ If a choice requires:
435
+
436
+ ```text
437
+ explanation
438
+ multiple fields
439
+ complex configuration
440
+ ```
441
+
442
+ it probably deserves a destination or focused task screen instead of a tiny
443
+ menu.
444
+
445
+ # 29. SEARCH
446
+
447
+ Search should exist when users need to locate:
448
+
449
+ ```text
450
+ large content collections
451
+ entities
452
+ settings
453
+ destinations
454
+ ```
455
+
456
+ .
457
+
458
+ # 30. SEARCH AS NAVIGATION
459
+
460
+ Search can become a global navigation mechanism when the product has many
461
+ destinations.
462
+
463
+ Example:
464
+
465
+ ```text
466
+ Search
467
+ ↓
468
+ Result
469
+ ↓
470
+ Destination
471
+ ```
472
+
473
+ .
474
+
475
+ # 31. SEARCH SCOPE
476
+
477
+ Clearly communicate what search covers:
478
+
479
+ ```text
480
+ songs
481
+ documents
482
+ people
483
+ settings
484
+ projects
485
+ ```
486
+
487
+ Avoid ambiguous global search when the domain is unclear.
488
+
489
+ # 32. SEARCH RESULTS
490
+
491
+ Results should provide enough context to identify the destination before
492
+ opening it.
493
+
494
+ # 33. SEARCH STATE
495
+
496
+ Preserve useful search state when users navigate into a result and return.
497
+
498
+ Example:
499
+
500
+ ```text
501
+ query
502
+ filters
503
+ scroll position
504
+ ```
505
+
506
+ may be preserved.
507
+
508
+ # 34. DEEP LINKS
509
+
510
+ Every meaningful destination should have a conceptual route.
511
+
512
+ Example:
513
+
514
+ ```text
515
+ lumora://album/123
516
+ ```
517
+
518
+ or a web/deep-link equivalent.
519
+
520
+ The implementation can vary, but the information architecture should support
521
+ direct destination access.
522
+
523
+ # 35. DEEP LINK DESTINATION
524
+
525
+ A deep link should place the user into the correct context.
526
+
527
+ Do not simply open the app's home screen and expect users to navigate manually.
528
+
529
+ # 36. DEEP LINK + AUTH
530
+
531
+ If authentication is required:
532
+
533
+ ```text
534
+ Deep link
535
+ ↓
536
+ Authentication
537
+ ↓
538
+ Original destination
539
+ ```
540
+
541
+ The intended destination should be preserved where appropriate.
542
+
543
+ # 37. DEEP LINK + MODAL
544
+
545
+ Determine whether the destination is:
546
+
547
+ ```text
548
+ persistent destination
549
+ ```
550
+
551
+ or:
552
+
553
+ ```text
554
+ temporary task
555
+ ```
556
+
557
+ before deciding how the deep link should present it.
558
+
559
+ # 38. ONBOARDING
560
+
561
+ Onboarding should explain enough to begin using the product.
562
+
563
+ It should not become an unnecessary tutorial marathon.
564
+
565
+ # 39. ONBOARDING PRINCIPLE
566
+
567
+ Prefer:
568
+
569
+ ```text
570
+ value
571
+ →
572
+ first useful action
573
+ ```
574
+
575
+ over:
576
+
577
+ ```text
578
+ 10 slides
579
+ →
580
+ permissions
581
+ →
582
+ tutorial
583
+ →
584
+ finally use app
585
+ ```
586
+
587
+ .
588
+
589
+ # 40. PROGRESSIVE ONBOARDING
590
+
591
+ Teach features when users encounter them.
592
+
593
+ This reduces initial cognitive load.
594
+
595
+ # 41. FIRST-LAUNCH FLOW
596
+
597
+ Typical structure:
598
+
599
+ ```text
600
+ Launch
601
+ ↓
602
+ Essential setup
603
+ ↓
604
+ Permission if necessary
605
+ ↓
606
+ First useful experience
607
+ ```
608
+
609
+ Avoid unnecessary gates.
610
+
611
+ # 42. PERMISSIONS
612
+
613
+ Ask for permissions in context when possible.
614
+
615
+ Explain why the capability is needed before or alongside the request.
616
+
617
+ # 43. PERMISSION TIMING
618
+
619
+ Do not request every permission during first launch.
620
+
621
+ Ask when the user reaches the feature that requires it.
622
+
623
+ # 44. AUTHENTICATION
624
+
625
+ Authentication should only appear when required.
626
+
627
+ Do not force account creation before users understand the product unless the
628
+ product fundamentally requires an account.
629
+
630
+ # 45. AUTHENTICATION FLOW
631
+
632
+ A coherent auth flow may be:
633
+
634
+ ```text
635
+ Entry
636
+ ↓
637
+ Sign in / Sign up
638
+ ↓
639
+ Verification
640
+ ↓
641
+ Setup
642
+ ↓
643
+ Destination
644
+ ```
645
+
646
+ Keep the flow recoverable.
647
+
648
+ # 46. ACCOUNT RECOVERY
649
+
650
+ Users should have a clear path when:
651
+
652
+ ```text
653
+ forgot password
654
+ verification failed
655
+ session expired
656
+ account unavailable
657
+ ```
658
+
659
+ .
660
+
661
+ # 47. SETTINGS
662
+
663
+ Settings are secondary infrastructure.
664
+
665
+ Do not let settings dominate primary navigation unless configuration is the
666
+ core product.
667
+
668
+ # 48. SETTINGS STRUCTURE
669
+
670
+ Group settings by concept.
671
+
672
+ Example:
673
+
674
+ ```text
675
+ Appearance
676
+ Playback
677
+ Notifications
678
+ Privacy
679
+ Storage
680
+ Account
681
+ About
682
+ ```
683
+
684
+ Avoid a flat list of unrelated switches.
685
+
686
+ # 49. SETTINGS DEPTH
687
+
688
+ Avoid:
689
+
690
+ ```text
691
+ Settings
692
+ → General
693
+ → Advanced
694
+ → More
695
+ → Extra
696
+ ```
697
+
698
+ unless the complexity genuinely requires it.
699
+
700
+ # 50. SETTINGS SEARCH
701
+
702
+ Large settings systems may benefit from search.
703
+
704
+ # 51. DETAIL SCREENS
705
+
706
+ A detail screen should answer:
707
+
708
+ ```text
709
+ What is this?
710
+ What can I do with it?
711
+ What related information exists?
712
+ Where can I go next?
713
+ ```
714
+
715
+ .
716
+
717
+ # 52. DETAIL → ACTION
718
+
719
+ Primary actions should be discoverable without overwhelming the screen.
720
+
721
+ # 53. ACTION HIERARCHY
722
+
723
+ Actions can be classified:
724
+
725
+ ```text
726
+ primary
727
+ secondary
728
+ contextual
729
+ destructive
730
+ rare
731
+ ```
732
+
733
+ Navigation and presentation should reflect these priorities.
734
+
735
+ # 54. PRIMARY ACTION
736
+
737
+ The primary action should be easy to find.
738
+
739
+ Do not hide it in a secondary menu merely to keep the interface visually clean.
740
+
741
+ # 55. SECONDARY ACTIONS
742
+
743
+ Secondary actions can live in:
744
+
745
+ ```text
746
+ toolbar
747
+ menu
748
+ contextual sheet
749
+ ```
750
+
751
+ depending on frequency.
752
+
753
+ # 56. DESTRUCTIVE ACTIONS
754
+
755
+ Destructive actions require stronger confirmation when consequences are
756
+ significant.
757
+
758
+ Do not hide important warnings.
759
+
760
+ # 57. DESTRUCTIVE CONFIRMATION
761
+
762
+ Confirmation should explain the consequence when necessary.
763
+
764
+ Avoid generic:
765
+
766
+ ```text
767
+ Are you sure?
768
+ ```
769
+
770
+ when the consequence can be stated clearly.
771
+
772
+ # 58. IRREVERSIBLE ACTIONS
773
+
774
+ For irreversible operations, prioritize:
775
+
776
+ ```text
777
+ clarity
778
+ intentionality
779
+ recovery
780
+ ```
781
+
782
+ .
783
+
784
+ # 59. UNDO
785
+
786
+ When practical, undo can be superior to confirmation dialogs.
787
+
788
+ Example:
789
+
790
+ ```text
791
+ Delete
792
+ ↓
793
+ Item removed
794
+ ↓
795
+ Undo
796
+ ```
797
+
798
+ This reduces interruption.
799
+
800
+ # 60. FLOW CONTINUITY
801
+
802
+ After an action, determine:
803
+
804
+ ```text
805
+ Where should the user go?
806
+
807
+ Should they remain here?
808
+
809
+ Should the destination update?
810
+
811
+ Should feedback appear?
812
+
813
+ ```
814
+
815
+ Never navigate automatically without a reason.
816
+
817
+ # 61. AUTOMATIC NAVIGATION
818
+
819
+ Automatic navigation is appropriate when:
820
+
821
+ ```text
822
+ the user's explicit action logically creates a new destination
823
+ ```
824
+
825
+ Avoid unexpected navigation after ordinary actions.
826
+
827
+ # 62. STATE PRESERVATION
828
+
829
+ Navigation should preserve useful state:
830
+
831
+ ```text
832
+ scroll position
833
+ selected item
834
+ search query
835
+ filters
836
+ draft data
837
+ ```
838
+
839
+ when appropriate.
840
+
841
+ # 63. STATE RESTORATION
842
+
843
+ When the app is reopened, restore the most useful previous context when the
844
+ product model supports it.
845
+
846
+ Do not always force users back to the home screen.
847
+
848
+ # 64. INTERRUPTED FLOWS
849
+
850
+ If the app closes during:
851
+
852
+ ```text
853
+ editing
854
+ uploading
855
+ creation
856
+ configuration
857
+ ```
858
+
859
+ consider how the flow can resume safely.
860
+
861
+ # 65. DRAFTS
862
+
863
+ User-created work should be protected from accidental navigation loss when
864
+ practical.
865
+
866
+ # 66. NAVIGATION ERRORS
867
+
868
+ If a destination cannot be opened:
869
+
870
+ ```text
871
+ explain
872
+ recover
873
+ return
874
+ ```
875
+
876
+ Do not leave the user in a dead-end screen.
877
+
878
+ # 67. DEAD ENDS
879
+
880
+ A destination should normally provide a meaningful next action or clear return
881
+ path.
882
+
883
+ # 68. EMPTY DESTINATIONS
884
+
885
+ An empty destination should guide the user toward its first useful action.
886
+
887
+ Example:
888
+
889
+ ```text
890
+ No playlists yet
891
+
892
+ Create your first playlist
893
+ ```
894
+
895
+ rather than a blank screen.
896
+
897
+ # 69. FLOW MAP
898
+
899
+ Before implementation, create:
900
+
901
+ ```text
902
+ Entry
903
+ ↓
904
+ Primary navigation
905
+ ↓
906
+ Destination
907
+ ↓
908
+ Detail
909
+ ↓
910
+ Action
911
+ ↓
912
+ Result
913
+ ```
914
+
915
+ for major user journeys.
916
+
917
+ # 70. USER JOURNEY MODEL
918
+
919
+ For every important feature:
920
+
921
+ ```text
922
+ Trigger
923
+ ↓
924
+ Intent
925
+ ↓
926
+ Interaction
927
+ ↓
928
+ System response
929
+ ↓
930
+ Result
931
+ ↓
932
+ Next action
933
+ ```
934
+
935
+ .
936
+
937
+ # 71. NAVIGATION GRAPH
938
+
939
+ Represent the app as a graph:
940
+
941
+ ```text
942
+ Search
943
+ / \
944
+ / \
945
+ Home Detail
946
+ │ │
947
+ Library Edit
948
+ │ │
949
+ Collection Save
950
+ ```
951
+
952
+ This makes navigation complexity visible.
953
+
954
+ # 72. GRAPH COMPLEXITY
955
+
956
+ If the navigation graph becomes excessively tangled:
957
+
958
+ ```text
959
+ simplify information architecture
960
+ ```
961
+
962
+ Do not solve structural complexity with more buttons.
963
+
964
+ # 73. NAVIGATION DEPTH
965
+
966
+ Track:
967
+
968
+ ```text
969
+ primary
970
+ secondary
971
+ tertiary
972
+ ```
973
+
974
+ levels.
975
+
976
+ Deep levels should have clear context.
977
+
978
+ # 74. CONTEXT PRESERVATION
979
+
980
+ Every deeper destination should preserve enough context to explain:
981
+
982
+ ```text
983
+ where the user came from
984
+ what the current object belongs to
985
+ ```
986
+
987
+ .
988
+
989
+ # 75. BREADCRUMBS
990
+
991
+ On mobile, explicit breadcrumbs are often unnecessary.
992
+
993
+ Use:
994
+
995
+ ```text
996
+ navigation hierarchy
997
+ titles
998
+ back behavior
999
+ ```
1000
+
1001
+ to communicate context.
1002
+
1003
+ # 76. TITLE HIERARCHY
1004
+
1005
+ Screen titles should describe the current destination.
1006
+
1007
+ Avoid generic titles:
1008
+
1009
+ ```text
1010
+ Details
1011
+ Page
1012
+ Screen
1013
+ View
1014
+ ```
1015
+
1016
+ when a specific name is available.
1017
+
1018
+ # 77. NAVIGATION TITLES
1019
+
1020
+ Titles can reflect:
1021
+
1022
+ ```text
1023
+ destination
1024
+ content
1025
+ task
1026
+ ```
1027
+
1028
+ depending on context.
1029
+
1030
+ # 78. BACK TITLE / BACK CONTEXT
1031
+
1032
+ Back navigation should communicate enough context to understand the return
1033
+ destination where the platform pattern supports it.
1034
+
1035
+ # 79. NAVIGATION TRANSITIONS
1036
+
1037
+ Transitions should reinforce spatial relationships.
1038
+
1039
+ Example:
1040
+
1041
+ ```text
1042
+ list
1043
+ →
1044
+ detail
1045
+ ```
1046
+
1047
+ should feel like moving deeper into the same hierarchy.
1048
+
1049
+ # 80. MODAL TRANSITIONS
1050
+
1051
+ Temporary tasks should visually communicate that they are separate from the
1052
+ underlying destination.
1053
+
1054
+ # 81. TRANSITION CONSISTENCY
1055
+
1056
+ Similar navigation operations should use similar transitions.
1057
+
1058
+ Avoid arbitrary animation per screen.
1059
+
1060
+ # 82. NAVIGATION MOTION
1061
+
1062
+ Motion should answer:
1063
+
1064
+ ```text
1065
+ Where did this come from?
1066
+ Where is it going?
1067
+ What changed?
1068
+ ```
1069
+
1070
+ .
1071
+
1072
+ # 83. REDUCED MOTION
1073
+
1074
+ Navigation must remain understandable when motion is reduced or disabled.
1075
+
1076
+ # 84. NAVIGATION ACCESSIBILITY
1077
+
1078
+ Navigation destinations should have meaningful accessible names.
1079
+
1080
+ The accessibility hierarchy should match the information architecture.
1081
+
1082
+ # 85. TAB ACCESSIBILITY
1083
+
1084
+ Each tab should expose:
1085
+
1086
+ ```text
1087
+ destination name
1088
+ selected state
1089
+ ```
1090
+
1091
+ .
1092
+
1093
+ # 86. NAVIGATION STATE
1094
+
1095
+ Represent navigation as state, not as visual guesses.
1096
+
1097
+ Conceptually:
1098
+
1099
+ ```text
1100
+ NavigationState
1101
+ ├── currentDestination
1102
+ ├── stack
1103
+ ├── modal
1104
+ ├── selectedTab
1105
+ └── restorationState
1106
+ ```
1107
+
1108
+ .
1109
+
1110
+ # 87. NAVIGATION + DATA
1111
+
1112
+ Navigation should not assume data always exists.
1113
+
1114
+ Handle:
1115
+
1116
+ ```text
1117
+ missing item
1118
+ deleted item
1119
+ unavailable item
1120
+ loading item
1121
+ offline item
1122
+ ```
1123
+
1124
+ .
1125
+
1126
+ # 88. DELETED DESTINATION
1127
+
1128
+ If the user is viewing content that disappears:
1129
+
1130
+ ```text
1131
+ explain
1132
+ return to nearest valid destination
1133
+ ```
1134
+
1135
+ rather than leaving an invalid screen.
1136
+
1137
+ # 89. OFFLINE NAVIGATION
1138
+
1139
+ Offline-capable applications should distinguish:
1140
+
1141
+ ```text
1142
+ available locally
1143
+ unavailable
1144
+ pending synchronization
1145
+ ```
1146
+
1147
+ .
1148
+
1149
+ # 90. NETWORK FAILURE
1150
+
1151
+ Do not automatically eject users from the current context merely because a
1152
+ network request failed.
1153
+
1154
+ # 91. LOADING NAVIGATION
1155
+
1156
+ If navigation requires asynchronous data:
1157
+
1158
+ ```text
1159
+ destination
1160
+ ↓
1161
+ loading state
1162
+ ↓
1163
+ content
1164
+ ```
1165
+
1166
+ rather than:
1167
+
1168
+ ```text
1169
+ tap
1170
+ ↓
1171
+ nothing
1172
+ ```
1173
+
1174
+ .
1175
+
1176
+ # 92. NAVIGATION FEEDBACK
1177
+
1178
+ Users should receive immediate feedback when navigation starts.
1179
+
1180
+ # 93. NAVIGATION LOCKS
1181
+
1182
+ Prevent accidental duplicate navigation when a transition or critical action
1183
+ is already executing.
1184
+
1185
+ # 94. DOUBLE-TAP NAVIGATION
1186
+
1187
+ Rapid repeated taps should not create:
1188
+
1189
+ ```text
1190
+ duplicate screens
1191
+ duplicate requests
1192
+ broken stack states
1193
+ ```
1194
+
1195
+ .
1196
+
1197
+ # 95. ROUTE NAMING
1198
+
1199
+ Routes should represent semantic destinations.
1200
+
1201
+ Prefer:
1202
+
1203
+ ```text
1204
+ /library
1205
+ /album/:id
1206
+ /settings/playback
1207
+ ```
1208
+
1209
+ over meaningless names such as:
1210
+
1211
+ ```text
1212
+ /page1
1213
+ /page2
1214
+ /viewA
1215
+ ```
1216
+
1217
+ .
1218
+
1219
+ # 96. ROUTE OWNERSHIP
1220
+
1221
+ Each route should have a clear purpose and owner.
1222
+
1223
+ Avoid routes that exist only because a component needed somewhere to render.
1224
+
1225
+ # 97. SCREEN RESPONSIBILITY
1226
+
1227
+ A screen should have a coherent responsibility.
1228
+
1229
+ If a screen contains:
1230
+
1231
+ ```text
1232
+ dashboard
1233
+ settings
1234
+ editor
1235
+ search
1236
+ profile
1237
+ ```
1238
+
1239
+ the architecture is likely wrong.
1240
+
1241
+ # 98. FEATURE BOUNDARIES
1242
+
1243
+ Features should have clear navigation boundaries.
1244
+
1245
+ Example:
1246
+
1247
+ ```text
1248
+ Music
1249
+ ├── Library
1250
+ ├── Albums
1251
+ ├── Artists
1252
+ ├── Playlists
1253
+ └── Now Playing
1254
+ ```
1255
+
1256
+ .
1257
+
1258
+ # 99. FEATURE ENTRY POINTS
1259
+
1260
+ Important features should have obvious entry points.
1261
+
1262
+ Avoid requiring users to discover core functionality through hidden gestures.
1263
+
1264
+ # 100. GLOBAL ACTIONS
1265
+
1266
+ Global actions should be reserved for genuinely global functionality.
1267
+
1268
+ Examples:
1269
+
1270
+ ```text
1271
+ global search
1272
+ global add
1273
+ global profile
1274
+ ```
1275
+
1276
+ depending on the application.
1277
+
1278
+ # 101. CONTEXTUAL ACTIONS
1279
+
1280
+ Actions specific to an object should remain close to that object.
1281
+
1282
+ Example:
1283
+
1284
+ ```text
1285
+ Song
1286
+ ├── Play
1287
+ ├── Add to queue
1288
+ ├── Favorite
1289
+ └── Share
1290
+ ```
1291
+
1292
+ .
1293
+
1294
+ # 102. NAVIGATION VS ACTION
1295
+
1296
+ Always distinguish:
1297
+
1298
+ ```text
1299
+ "Where do I go?"
1300
+ ```
1301
+
1302
+ from:
1303
+
1304
+ ```text
1305
+ "What do I do?"
1306
+ ```
1307
+
1308
+ Navigation solves the first.
1309
+
1310
+ Controls solve the second.
1311
+
1312
+ # 103. NAVIGATION VS FILTERING
1313
+
1314
+ Filtering modifies the current content context.
1315
+
1316
+ It usually should not become a new primary destination.
1317
+
1318
+ # 104. NAVIGATION VS SORTING
1319
+
1320
+ Sorting modifies presentation.
1321
+
1322
+ It generally belongs to:
1323
+
1324
+ ```text
1325
+ menu
1326
+ sheet
1327
+ control
1328
+ ```
1329
+
1330
+ rather than primary navigation.
1331
+
1332
+ # 105. NAVIGATION VS CREATION
1333
+
1334
+ Creating something can be a temporary task.
1335
+
1336
+ Example:
1337
+
1338
+ ```text
1339
+ Library
1340
+ ↓
1341
+ Create playlist
1342
+ ↓
1343
+ creation flow
1344
+ ↓
1345
+ Playlist
1346
+ ```
1347
+
1348
+ .
1349
+
1350
+ # 106. CREATION FLOW
1351
+
1352
+ Creation flows should have:
1353
+
1354
+ ```text
1355
+ entry
1356
+ editing
1357
+ validation
1358
+ save
1359
+ completion
1360
+ ```
1361
+
1362
+ .
1363
+
1364
+ # 107. CANCEL BEHAVIOR
1365
+
1366
+ Cancel should clearly return to the previous context.
1367
+
1368
+ If unsaved work exists:
1369
+
1370
+ ```text
1371
+ save
1372
+ discard
1373
+ continue editing
1374
+ ```
1375
+
1376
+ may be appropriate.
1377
+
1378
+ # 108. DRAFT PROTECTION
1379
+
1380
+ Do not silently discard meaningful user input.
1381
+
1382
+ # 109. NAVIGATION CONFIRMATION
1383
+
1384
+ Do not ask for confirmation on every navigation action.
1385
+
1386
+ Confirmation is primarily justified when meaningful user work may be lost.
1387
+
1388
+ # 110. USER INTENT
1389
+
1390
+ Navigation decisions should be based on user intent rather than implementation
1391
+ convenience.
1392
+
1393
+ Do not create a screen because:
1394
+
1395
+ ```text
1396
+ "the component is getting large."
1397
+ ```
1398
+
1399
+ Create a screen because:
1400
+
1401
+ ```text
1402
+ "the user has entered a distinct task or destination."
1403
+ ```
1404
+
1405
+ # 111. INFORMATION ARCHITECTURE REVIEW
1406
+
1407
+ Before implementation, review:
1408
+
1409
+ ```text
1410
+ Primary destinations
1411
+ Secondary destinations
1412
+ Navigation hierarchy
1413
+ Task flows
1414
+ Modal flows
1415
+ Settings
1416
+ Search
1417
+ Deep links
1418
+ State restoration
1419
+ Error paths
1420
+ Empty states
1421
+ ```
1422
+
1423
+ .
1424
+
1425
+ # 112. NAVIGATION SCORE
1426
+
1427
+ Suggested evaluation:
1428
+
1429
+ ```text
1430
+ Information architecture 20
1431
+ Task flow clarity 20
1432
+ Hierarchy 15
1433
+ Destination clarity 10
1434
+ State preservation 10
1435
+ Navigation consistency 10
1436
+ Accessibility 5
1437
+ Error recovery 5
1438
+ Deep linking 5
1439
+ ────────────────────────────
1440
+ Total 100
1441
+ ```
1442
+
1443
+ Interpretation:
1444
+
1445
+ ```text
1446
+ 95–100 Exceptional
1447
+ 90–94 Excellent
1448
+ 80–89 Strong
1449
+ 70–79 Needs refinement
1450
+ 60–69 Weak
1451
+ <60 Re-architect
1452
+ ```
1453
+
1454
+ # 113. NAVIGATION REVIEW OUTPUT
1455
+
1456
+ ```text
1457
+ NAVIGATION REVIEW
1458
+ ────────────────────────
1459
+
1460
+ Primary destinations:
1461
+ ...
1462
+
1463
+ Secondary destinations:
1464
+ ...
1465
+
1466
+ Navigation hierarchy:
1467
+ ...
1468
+
1469
+ Major flows:
1470
+ ...
1471
+
1472
+ Modal flows:
1473
+ ...
1474
+
1475
+ Deep links:
1476
+ ...
1477
+
1478
+ State restoration:
1479
+ ...
1480
+
1481
+ Potential dead ends:
1482
+ ...
1483
+
1484
+ Navigation conflicts:
1485
+ ...
1486
+
1487
+ Accessibility:
1488
+ ...
1489
+
1490
+ Architecture recommendation:
1491
+ ...
1492
+ ```
1493
+
1494
+ # 114. NAVIGATION DECISION ALGORITHM
1495
+
1496
+ ```text
1497
+ INPUT
1498
+ ↓
1499
+ Identify user goal
1500
+ ↓
1501
+ Identify destination
1502
+ ↓
1503
+ Determine whether destination is persistent
1504
+ ↓
1505
+ If persistent → primary/secondary navigation
1506
+ ↓
1507
+ If hierarchical → navigation stack
1508
+ ↓
1509
+ If temporary task → sheet/modal/full-screen flow
1510
+ ↓
1511
+ If contextual choice → menu/sheet
1512
+ ↓
1513
+ If object-specific action → contextual action
1514
+ ↓
1515
+ Define back behavior
1516
+ ↓
1517
+ Define state preservation
1518
+ ↓
1519
+ Define loading/error/empty states
1520
+ ↓
1521
+ Define deep-link behavior
1522
+ ↓
1523
+ Test accessibility
1524
+ ↓
1525
+ IMPLEMENT
1526
+ ```
1527
+
1528
+ # 115. DESTINATION DECISION TREE
1529
+
1530
+ ```text
1531
+ Is this a persistent area of the product?
1532
+ │
1533
+ YES
1534
+ ↓
1535
+ Primary or secondary destination
1536
+
1537
+ NO
1538
+ ↓
1539
+ Is this a distinct hierarchical object?
1540
+ │
1541
+ YES
1542
+ ↓
1543
+ Navigation stack
1544
+
1545
+ NO
1546
+ ↓
1547
+ Is this a temporary task?
1548
+ │
1549
+ YES
1550
+ ↓
1551
+ Sheet / modal / full-screen flow
1552
+
1553
+ NO
1554
+ ↓
1555
+ Is it a contextual action?
1556
+ │
1557
+ YES
1558
+ ↓
1559
+ Menu / contextual control
1560
+
1561
+ NO
1562
+ ↓
1563
+ Keep within current screen
1564
+ ```
1565
+
1566
+ # 116. PRIMARY NAVIGATION DECISION
1567
+
1568
+ ```text
1569
+ User repeatedly switches between areas?
1570
+ │
1571
+ YES
1572
+ ↓
1573
+ Candidate for primary navigation
1574
+
1575
+ NO
1576
+ ↓
1577
+ Keep it secondary
1578
+ ```
1579
+
1580
+ # 117. MODAL DECISION
1581
+
1582
+ ```text
1583
+ Does the task temporarily interrupt current context?
1584
+ │
1585
+ YES
1586
+ ↓
1587
+ Modal candidate
1588
+
1589
+ NO
1590
+ ↓
1591
+ Use normal navigation
1592
+ ```
1593
+
1594
+ # 118. SCREEN CREATION TEST
1595
+
1596
+ Before creating a new screen ask:
1597
+
1598
+ ```text
1599
+ Does this represent a new destination?
1600
+
1601
+ Does it represent a new task?
1602
+
1603
+ Does it need independent navigation state?
1604
+
1605
+ Does it require separate context?
1606
+
1607
+ ```
1608
+
1609
+ If all answers are no:
1610
+
1611
+ ```text
1612
+ keep it within the current screen.
1613
+ ```
1614
+
1615
+ # 119. NAVIGATION COMPLEXITY TEST
1616
+
1617
+ If the user needs to remember:
1618
+
1619
+ ```text
1620
+ where they came from
1621
+ why they are here
1622
+ how to return
1623
+ ```
1624
+
1625
+ the architecture is too complex.
1626
+
1627
+ # 120. FINAL PRINCIPLE
1628
+
1629
+ Great navigation is invisible.
1630
+
1631
+ Users should feel:
1632
+
1633
+ ```text
1634
+ "I know where I am."
1635
+
1636
+ "I know what I can do."
1637
+
1638
+ "I know how to go back."
1639
+
1640
+ "I know where this will take me."
1641
+ ```
1642
+
1643
+ without consciously studying the navigation system.
1644
+
1645
+ # 121. FINAL AGENT DIRECTIVE
1646
+
1647
+ Never begin with:
1648
+
1649
+ > "What screens should we build?"
1650
+
1651
+ Begin with:
1652
+
1653
+ > "What does the user want to accomplish?"
1654
+
1655
+ Then derive:
1656
+
1657
+ ```text
1658
+ user goal
1659
+ ↓
1660
+ task
1661
+ ↓
1662
+ information
1663
+ ↓
1664
+ destination
1665
+ ↓
1666
+ navigation
1667
+ ↓
1668
+ interaction
1669
+ ↓
1670
+ feedback
1671
+ ↓
1672
+ result
1673
+ ```
1674
+