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,1431 @@
1
+
2
+
3
+ # iOS Typography, Icons & Visual Hierarchy
4
+
5
+ > Agent intelligence module for typography, iconography, hierarchy, readability,
6
+ > spacing relationships, visual emphasis, and information scanning.
7
+
8
+ Version: 1.0
9
+ Platform: iOS / iPadOS / React Native / Expo
10
+ Role: Visual communication and hierarchy intelligence
11
+
12
+ Parent:
13
+
14
+ * ios-design-system-architecture.md
15
+ * accessibility-inclusive-interaction.md
16
+ * ios-components-and-controls.md
17
+ * ios-navigation-and-information-architecture.md
18
+ * ios-responsive-layout.md
19
+
20
+ # 1. PURPOSE
21
+
22
+ A premium interface does not merely contain good components.
23
+
24
+ It communicates importance through:
25
+
26
+ ```text
27
+ Typography
28
+ Scale
29
+ Weight
30
+ Spacing
31
+ Alignment
32
+ Contrast
33
+ Iconography
34
+ Grouping
35
+ Density
36
+ ```
37
+
38
+ The agent must use these variables deliberately.
39
+
40
+ # 2. CORE PRINCIPLE
41
+
42
+ Visual hierarchy should answer:
43
+
44
+ ```text
45
+ What is this?
46
+ What matters most?
47
+ What can I do?
48
+ What changed?
49
+ What is secondary?
50
+ Where should I look next?
51
+ ```
52
+
53
+ without requiring the user to consciously decode the interface.
54
+
55
+ # 3. HIERARCHY BEFORE DECORATION
56
+
57
+ When improving a UI:
58
+
59
+ ```text
60
+ Hierarchy
61
+ ↓
62
+ Spacing
63
+ ↓
64
+ Typography
65
+ ↓
66
+ Controls
67
+ ↓
68
+ Decoration
69
+ ```
70
+
71
+ Do not attempt to solve weak hierarchy with gradients, shadows, or excessive
72
+ effects.
73
+
74
+ # 4. TYPOGRAPHIC SYSTEM
75
+
76
+ A product should have a deliberate type hierarchy.
77
+
78
+ Typical structure:
79
+
80
+ ```text
81
+ Large title
82
+ Title
83
+ Section heading
84
+ Body
85
+ Secondary body
86
+ Caption
87
+ Metadata
88
+ ```
89
+
90
+ The exact sizes should be determined by the platform and product context.
91
+
92
+ # 5. SYSTEM TYPOGRAPHY
93
+
94
+ Prefer platform-native typography behavior when possible.
95
+
96
+ On iOS, the system typography ecosystem provides:
97
+
98
+ ```text
99
+ Dynamic sizing
100
+ Weight variation
101
+ Accessibility scaling
102
+ Platform familiarity
103
+ ```
104
+
105
+ .
106
+
107
+ # 6. SEMANTIC TEXT ROLES
108
+
109
+ Do not define typography only as:
110
+
111
+ ```text
112
+ fontSize: 17
113
+ fontSize: 14
114
+ fontSize: 12
115
+ ```
116
+
117
+ Prefer semantic roles:
118
+
119
+ ```text
120
+ screenTitle
121
+ sectionTitle
122
+ body
123
+ secondary
124
+ caption
125
+ metadata
126
+ button
127
+ ```
128
+
129
+ .
130
+
131
+ # 7. WHY SEMANTIC TYPOGRAPHY MATTERS
132
+
133
+ It allows the design system to change globally without manually editing every
134
+ screen.
135
+
136
+ # 8. TITLE HIERARCHY
137
+
138
+ A screen title should dominate the visual hierarchy when it establishes the
139
+ current destination.
140
+
141
+ # 9. TITLE RESTRAINT
142
+
143
+ Do not make every title enormous.
144
+
145
+ Large titles are most effective when surrounding content has lower visual weight.
146
+
147
+ # 10. SECTION HEADINGS
148
+
149
+ Section headings create structure within a screen.
150
+
151
+ They should be visually distinct from body content without competing with the
152
+ screen title.
153
+
154
+ # 11. BODY TEXT
155
+
156
+ Body text should optimize:
157
+
158
+ ```text
159
+ Readability
160
+ Line length
161
+ Contrast
162
+ Spacing
163
+ ```
164
+
165
+ rather than visual novelty.
166
+
167
+ # 12. SECONDARY TEXT
168
+
169
+ Secondary text should support the primary content.
170
+
171
+ It should be visually quieter, not unreadable.
172
+
173
+ # 13. CAPTIONS
174
+
175
+ Captions are appropriate for:
176
+
177
+ ```text
178
+ Metadata
179
+ Hints
180
+ Timestamps
181
+ Supporting information
182
+ ```
183
+
184
+ Use sparingly.
185
+
186
+ # 14. TOO MANY TEXT SIZES
187
+
188
+ Avoid creating dozens of unique text styles.
189
+
190
+ Complexity weakens consistency.
191
+
192
+ # 15. WEIGHT
193
+
194
+ Weight is a hierarchy tool.
195
+
196
+ Typical relationship:
197
+
198
+ ```text
199
+ Regular → body
200
+ Medium → controls / emphasis
201
+ Semibold → headings
202
+ Bold → exceptional emphasis
203
+ ```
204
+
205
+ Do not make everything bold.
206
+
207
+ # 16. WEIGHT ≠ HIERARCHY ALONE
208
+
209
+ Hierarchy should also use:
210
+
211
+ ```text
212
+ Size
213
+ Spacing
214
+ Position
215
+ Contrast
216
+ Grouping
217
+ ```
218
+
219
+ .
220
+
221
+ # 17. ITALICS
222
+
223
+ Use italics intentionally.
224
+
225
+ Do not use them as a general-purpose emphasis mechanism.
226
+
227
+ # 18. ALL CAPS
228
+
229
+ All caps can work for small labels but reduce readability when overused.
230
+
231
+ # 19. UNDERLINES
232
+
233
+ Underlining generally communicates links or interaction.
234
+
235
+ Do not use it purely for decoration when it could imply interaction.
236
+
237
+ # 20. LINE HEIGHT
238
+
239
+ Readable text requires appropriate vertical rhythm.
240
+
241
+ Avoid overly compressed paragraphs.
242
+
243
+ # 21. PARAGRAPH WIDTH
244
+
245
+ Long text lines reduce scanning efficiency.
246
+
247
+ For reading-heavy interfaces, control line length.
248
+
249
+ # 22. MOBILE WIDTH
250
+
251
+ Do not automatically stretch text across every available pixel.
252
+
253
+ # 23. TEXT ALIGNMENT
254
+
255
+ Default to platform-appropriate alignment.
256
+
257
+ Left alignment is usually easier to scan for longer text in Latin-based scripts.
258
+
259
+ # 24. CENTERED TEXT
260
+
261
+ Centered text works well for:
262
+
263
+ ```text
264
+ Short headings
265
+ Empty states
266
+ Onboarding
267
+ Compact status messages
268
+ ```
269
+
270
+ It is less effective for long paragraphs.
271
+
272
+ # 25. RIGHT ALIGNMENT
273
+
274
+ Useful for:
275
+
276
+ ```text
277
+ Numbers
278
+ Financial values
279
+ Tables
280
+ Certain metadata
281
+ ```
282
+
283
+ when the context supports it.
284
+
285
+ # 26. NUMERIC ALIGNMENT
286
+
287
+ Numbers representing comparable quantities should often align predictably.
288
+
289
+ # 27. TYPOGRAPHIC CONTRAST
290
+
291
+ Contrast can be created through:
292
+
293
+ ```text
294
+ Size
295
+ Weight
296
+ Color
297
+ Spacing
298
+ ```
299
+
300
+ but not all at once.
301
+
302
+ Too many simultaneous differences create visual noise.
303
+
304
+ # 28. VISUAL NOISE
305
+
306
+ If everything is emphasized:
307
+
308
+ ```text
309
+ Nothing is emphasized.
310
+ ```
311
+
312
+ # 29. EMPHASIS BUDGET
313
+
314
+ Treat emphasis as limited.
315
+
316
+ Ask:
317
+
318
+ ```text
319
+ What is the one thing I want noticed first?
320
+ What comes second?
321
+ What can remain quiet?
322
+ ```
323
+
324
+ # 30. INFORMATION DENSITY
325
+
326
+ High density can be excellent for expert applications.
327
+
328
+ The key is structured density.
329
+
330
+ ```text
331
+ Dense
332
+ +
333
+ Organized
334
+ =
335
+ Powerful
336
+
337
+ Dense
338
+ +
339
+ Unstructured
340
+ =
341
+ Overwhelming
342
+ ```
343
+
344
+ # 31. SPACING SYSTEM
345
+
346
+ Use a consistent spacing scale.
347
+
348
+ For example:
349
+
350
+ ```text
351
+ 4
352
+ 8
353
+ 12
354
+ 16
355
+ 20
356
+ 24
357
+ 32
358
+ 40
359
+ 48
360
+ ```
361
+
362
+ The exact scale may vary by design system.
363
+
364
+ # 32. SPACING SEMANTICS
365
+
366
+ Do not think only:
367
+
368
+ ```text
369
+ marginTop: 17
370
+ ```
371
+
372
+ Think:
373
+
374
+ ```text
375
+ sectionGap
376
+ contentInset
377
+ controlSpacing
378
+ cardPadding
379
+ ```
380
+
381
+ .
382
+
383
+ # 33. SPACING COMMUNICATES GROUPING
384
+
385
+ Small spacing suggests:
386
+
387
+ ```text
388
+ Related
389
+ ```
390
+
391
+ Large spacing suggests:
392
+
393
+ ```text
394
+ Separate
395
+ ```
396
+
397
+ .
398
+
399
+ # 34. GROUPING
400
+
401
+ Visual grouping should reflect conceptual grouping.
402
+
403
+ # 35. PROXIMITY
404
+
405
+ Elements close together are perceived as related.
406
+
407
+ Use this intentionally.
408
+
409
+ # 36. CONTAINER ABUSE
410
+
411
+ Do not put every group inside a card.
412
+
413
+ Cards should communicate meaningful containment.
414
+
415
+ # 37. CARD FATIGUE
416
+
417
+ If every element is a card:
418
+
419
+ ```text
420
+ Hierarchy disappears.
421
+ ```
422
+
423
+ .
424
+
425
+ # 38. DIVIDERS
426
+
427
+ Dividers should clarify structure, not decorate every row.
428
+
429
+ # 39. WHITESPACE
430
+
431
+ Whitespace is an active design tool.
432
+
433
+ It creates:
434
+
435
+ ```text
436
+ Breathing room
437
+ Hierarchy
438
+ Separation
439
+ Focus
440
+ ```
441
+
442
+ .
443
+
444
+ # 40. EMPTY SPACE
445
+
446
+ Do not automatically fill every empty region.
447
+
448
+ # 41. ALIGNMENT
449
+
450
+ Strong interfaces establish alignment anchors.
451
+
452
+ Examples:
453
+
454
+ ```text
455
+ Leading edge
456
+ Title baseline
457
+ Trailing values
458
+ Section boundaries
459
+ ```
460
+
461
+ .
462
+
463
+ # 42. BASELINE ALIGNMENT
464
+
465
+ Text and icons should align visually rather than merely mathematically.
466
+
467
+ # 43. ICONOGRAPHY
468
+
469
+ Icons communicate concepts quickly.
470
+
471
+ They should be:
472
+
473
+ ```text
474
+ Recognizable
475
+ Consistent
476
+ Simple
477
+ Semantically appropriate
478
+ ```
479
+
480
+ .
481
+
482
+ # 44. ICON STYLE
483
+
484
+ Do not mix unrelated icon families.
485
+
486
+ Avoid:
487
+
488
+ ```text
489
+ Filled icon
490
+ +
491
+ thin outline icon
492
+ +
493
+ 3D icon
494
+ +
495
+ emoji
496
+ ```
497
+
498
+ without a deliberate reason.
499
+
500
+ # 45. ICON WEIGHT
501
+
502
+ Icon stroke weight should visually match surrounding typography and controls.
503
+
504
+ # 46. ICON SIZE
505
+
506
+ Use consistent semantic sizes.
507
+
508
+ Example:
509
+
510
+ ```text
511
+ Small utility
512
+ Standard action
513
+ Prominent action
514
+ Navigation icon
515
+ ```
516
+
517
+ Do not randomly resize icons per screen.
518
+
519
+ # 47. ICON + TEXT
520
+
521
+ When both icon and label exist, ensure they communicate complementary
522
+ information rather than duplicate noise.
523
+
524
+ # 48. ICON BUTTONS
525
+
526
+ Icon-only actions require:
527
+
528
+ ```text
529
+ Clear visual affordance
530
+ Adequate hit area
531
+ Accessible label
532
+ ```
533
+
534
+ .
535
+
536
+ # 49. ICON POSITION
537
+
538
+ Consistent icon placement improves scanning.
539
+
540
+ For lists:
541
+
542
+ ```text
543
+ Icon → title → metadata → action
544
+ ```
545
+
546
+ may become a repeatable pattern.
547
+
548
+ # 50. ICON DECORATION
549
+
550
+ Do not use icons merely because a blank space feels empty.
551
+
552
+ # 51. SYMBOL SEMANTICS
553
+
554
+ Prefer established symbols where users already understand the meaning.
555
+
556
+ # 52. CUSTOM ICONS
557
+
558
+ Use custom icons when:
559
+
560
+ ```text
561
+ Brand identity
562
+ Unique functionality
563
+ Missing platform concept
564
+ ```
565
+
566
+ justifies them.
567
+
568
+ # 53. CUSTOM ICON COMPLEXITY
569
+
570
+ Avoid overly detailed icons at small sizes.
571
+
572
+ # 54. ICON LEGIBILITY
573
+
574
+ An icon must remain recognizable at its intended size.
575
+
576
+ # 55. ICON ACCESSIBILITY
577
+
578
+ Every meaningful icon-only control requires accessible semantics.
579
+
580
+ # 56. EMOJI
581
+
582
+ Emoji are not interchangeable with interface icons.
583
+
584
+ They vary in appearance and can carry ambiguous meaning.
585
+
586
+ # 57. SYMBOLS
587
+
588
+ System symbols can provide platform consistency where appropriate.
589
+
590
+ # 58. VISUAL LANGUAGE
591
+
592
+ The icon system should match the product's overall visual language:
593
+
594
+ ```text
595
+ Typography
596
+ Corner radius
597
+ Stroke
598
+ Spacing
599
+ Motion
600
+ ```
601
+
602
+ .
603
+
604
+ # 59. VISUAL HIERARCHY MODEL
605
+
606
+ ```text
607
+ Primary
608
+ ↓
609
+ Secondary
610
+ ↓
611
+ Supporting
612
+ ↓
613
+ Metadata
614
+ ↓
615
+ Decorative
616
+ ```
617
+
618
+ Every element should have an approximate hierarchy level.
619
+
620
+ # 60. PRIMARY ELEMENT
621
+
622
+ The primary element answers:
623
+
624
+ ```text
625
+ What is the user here to see or do?
626
+ ```
627
+
628
+ # 61. SECONDARY ELEMENTS
629
+
630
+ Secondary controls support the primary task without competing with it.
631
+
632
+ # 62. METADATA
633
+
634
+ Metadata should remain available without overpowering the content.
635
+
636
+ # 63. DECORATION
637
+
638
+ Decoration should never obscure function.
639
+
640
+ # 64. CONTRAST HIERARCHY
641
+
642
+ Use stronger contrast for important information.
643
+
644
+ Use softer contrast for supporting information while maintaining accessibility.
645
+
646
+ # 65. SURFACE HIERARCHY
647
+
648
+ Surfaces can create depth:
649
+
650
+ ```text
651
+ Background
652
+ Surface
653
+ Elevated surface
654
+ Overlay
655
+ ```
656
+
657
+ Use elevation intentionally.
658
+
659
+ # 66. SHADOWS
660
+
661
+ Shadows communicate elevation and separation.
662
+
663
+ They should not become a universal styling effect.
664
+
665
+ # 67. BLUR
666
+
667
+ Blur can communicate:
668
+
669
+ ```text
670
+ Depth
671
+ Layering
672
+ Focus
673
+ ```
674
+
675
+ but excessive blur reduces clarity and can harm performance.
676
+
677
+ # 68. MATERIAL
678
+
679
+ When using translucent/material surfaces, maintain sufficient contrast and
680
+ content legibility.
681
+
682
+ # 69. GRADIENTS
683
+
684
+ Gradients should support hierarchy or brand identity.
685
+
686
+ Do not use gradients to compensate for weak layout.
687
+
688
+ # 70. COLOR ROLES
689
+
690
+ Color should be semantic.
691
+
692
+ Example:
693
+
694
+ ```text
695
+ Primary
696
+ Secondary
697
+ Accent
698
+ Success
699
+ Warning
700
+ Destructive
701
+ Background
702
+ Surface
703
+ Label
704
+ Secondary label
705
+ ```
706
+
707
+ .
708
+
709
+ # 71. COLOR CONSISTENCY
710
+
711
+ A color should not mean:
712
+
713
+ ```text
714
+ Success
715
+ ```
716
+
717
+ on one screen and:
718
+
719
+ ```text
720
+ Interactive
721
+ ```
722
+
723
+ on another.
724
+
725
+ # 72. ACCENT COLOR
726
+
727
+ Accent color should guide attention toward meaningful interactions.
728
+
729
+ # 73. ACCENT OVERUSE
730
+
731
+ If everything uses the accent color:
732
+
733
+ ```text
734
+ Nothing stands out.
735
+ ```
736
+
737
+ # 74. DARK INTERFACES
738
+
739
+ Dark UI still requires hierarchy.
740
+
741
+ Do not simply invert a light design.
742
+
743
+ # 75. DARK SURFACE LEVELS
744
+
745
+ Use subtle differences in:
746
+
747
+ ```text
748
+ Surface
749
+ Elevation
750
+ Contrast
751
+ ```
752
+
753
+ to establish hierarchy.
754
+
755
+ # 76. PURE BLACK
756
+
757
+ Pure black may be appropriate for certain experiences, but should be chosen
758
+ intentionally rather than assumed to be the default for every dark interface.
759
+
760
+ # 77. LIGHT INTERFACES
761
+
762
+ Light interfaces should similarly avoid excessive borders and shadows.
763
+
764
+ # 78. VISUAL WEIGHT
765
+
766
+ Large, dark, saturated, or bold elements carry more visual weight.
767
+
768
+ # 79. WEIGHT BALANCING
769
+
770
+ When one area becomes visually heavy, reduce competing elements elsewhere.
771
+
772
+ # 80. FOCAL POINT
773
+
774
+ Every major screen should have an identifiable focal point.
775
+
776
+ # 81. SCANNING PATH
777
+
778
+ Design should guide:
779
+
780
+ ```text
781
+ First glance
782
+ ↓
783
+ Primary information
784
+ ↓
785
+ Primary action
786
+ ↓
787
+ Supporting information
788
+ ```
789
+
790
+ .
791
+
792
+ # 82. F-SHAPED SCANNING
793
+
794
+ Long-form information may benefit from predictable left-aligned hierarchy,
795
+ though the agent should not treat scanning models as absolute laws.
796
+
797
+ # 83. Z-PATTERN
798
+
799
+ Simple marketing-like screens may naturally produce diagonal scanning patterns,
800
+ but task-oriented apps should prioritize functional hierarchy instead.
801
+
802
+ # 84. VISUAL ANCHORS
803
+
804
+ Useful anchors include:
805
+
806
+ ```text
807
+ Title
808
+ Image
809
+ Primary value
810
+ Primary action
811
+ Selected tab
812
+ ```
813
+
814
+ .
815
+
816
+ # 85. REPETITION
817
+
818
+ Repeated patterns teach users the interface.
819
+
820
+ Consistency creates speed.
821
+
822
+ # 86. VARIATION
823
+
824
+ Variation should communicate a meaningful difference.
825
+
826
+ Do not change layout simply for novelty.
827
+
828
+ # 87. PROGRESSIVE HIERARCHY
829
+
830
+ Complex screens should reveal hierarchy gradually.
831
+
832
+ Example:
833
+
834
+ ```text
835
+ Screen title
836
+ ↓
837
+ Primary content
838
+ ↓
839
+ Primary action
840
+ ↓
841
+ Details
842
+ ↓
843
+ Advanced options
844
+ ```
845
+
846
+ .
847
+
848
+ # 88. SECONDARY ACTIONS
849
+
850
+ Secondary actions should remain accessible without visually competing with the
851
+ primary action.
852
+
853
+ # 89. DESTRUCTIVE ACTIONS
854
+
855
+ Destructive actions should use semantic destructive styling and clear labels,
856
+ not visual ambiguity.
857
+
858
+ # 90. BUTTON HIERARCHY
859
+
860
+ A screen may use:
861
+
862
+ ```text
863
+ Primary
864
+ Secondary
865
+ Tertiary
866
+ Destructive
867
+ ```
868
+
869
+ but not every screen needs all four.
870
+
871
+ # 91. BUTTON COMPETITION
872
+
873
+ Avoid two equally dominant buttons when one action is clearly primary.
874
+
875
+ # 92. LIST HIERARCHY
876
+
877
+ A good list row often follows:
878
+
879
+ ```text
880
+ Primary title
881
+ Secondary information
882
+ Trailing state/action
883
+ ```
884
+
885
+ .
886
+
887
+ # 93. LIST DENSITY
888
+
889
+ Adjust density based on task:
890
+
891
+ ```text
892
+ Browsing → More breathing room
893
+ Scanning → Higher density
894
+ Expert tools → High information density
895
+ ```
896
+
897
+ .
898
+
899
+ # 94. TABLES
900
+
901
+ Tables require consistent:
902
+
903
+ ```text
904
+ Column alignment
905
+ Header hierarchy
906
+ Row rhythm
907
+ Numeric formatting
908
+ ```
909
+
910
+ .
911
+
912
+ # 95. DATA VISUALIZATION
913
+
914
+ Visual hierarchy should emphasize the insight rather than decoration.
915
+
916
+ # 96. NUMBERS
917
+
918
+ Large numbers can become focal points for dashboards.
919
+
920
+ Supporting labels should make the number understandable.
921
+
922
+ # 97. TYPOGRAPHIC NUMBERS
923
+
924
+ Use consistent numeric formatting for:
925
+
926
+ ```text
927
+ Currency
928
+ Percentages
929
+ Dates
930
+ Durations
931
+ Counts
932
+ ```
933
+
934
+ .
935
+
936
+ # 98. MONOSPACING
937
+
938
+ Monospaced typography is useful for:
939
+
940
+ ```text
941
+ Code
942
+ Identifiers
943
+ Technical values
944
+ Aligned data
945
+ ```
946
+
947
+ when appropriate.
948
+
949
+ # 99. CODE UI
950
+
951
+ Developer tools should prioritize:
952
+
953
+ ```text
954
+ Legibility
955
+ Alignment
956
+ Syntax distinction
957
+ Copyability
958
+ ```
959
+
960
+ over decorative typography.
961
+
962
+ # 100. TEXT + ICON ALIGNMENT
963
+
964
+ Icons should visually align with the text they accompany.
965
+
966
+ Avoid floating icons that feel disconnected from the baseline.
967
+
968
+ # 101. TOUCH + TYPOGRAPHY
969
+
970
+ Text controls need enough surrounding space for reliable touch interaction.
971
+
972
+ # 102. HIERARCHY IN SETTINGS
973
+
974
+ Settings interfaces should emphasize:
975
+
976
+ ```text
977
+ Setting name
978
+ Current state
979
+ Optional explanation
980
+ ```
981
+
982
+ rather than decorative cards.
983
+
984
+ # 103. HIERARCHY IN MEDIA APPS
985
+
986
+ Media applications may prioritize:
987
+
988
+ ```text
989
+ Artwork
990
+ Title
991
+ Artist
992
+ Playback state
993
+ Primary controls
994
+ Secondary controls
995
+ ```
996
+
997
+ depending on context.
998
+
999
+ # 104. HIERARCHY IN PRODUCTIVITY APPS
1000
+
1001
+ Productivity applications may prioritize:
1002
+
1003
+ ```text
1004
+ Current task
1005
+ Context
1006
+ Status
1007
+ Primary action
1008
+ Secondary operations
1009
+ ```
1010
+
1011
+ .
1012
+
1013
+ # 105. HIERARCHY IN DASHBOARDS
1014
+
1015
+ Dashboards should prioritize:
1016
+
1017
+ ```text
1018
+ Important metric
1019
+ Trend
1020
+ Context
1021
+ Detail
1022
+ ```
1023
+
1024
+ rather than presenting all metrics equally.
1025
+
1026
+ # 106. HIERARCHY IN AI INTERFACES
1027
+
1028
+ AI interfaces should distinguish:
1029
+
1030
+ ```text
1031
+ User input
1032
+ System state
1033
+ Generated output
1034
+ Actions
1035
+ Citations / sources
1036
+ Status
1037
+ ```
1038
+
1039
+ clearly.
1040
+
1041
+ # 107. AI OUTPUT
1042
+
1043
+ Generated content should not visually overpower the interaction required to
1044
+ control it.
1045
+
1046
+ # 108. TYPOGRAPHY + AI
1047
+
1048
+ Long generated content requires:
1049
+
1050
+ ```text
1051
+ Readable line length
1052
+ Clear headings
1053
+ Paragraph spacing
1054
+ Code styling
1055
+ Lists
1056
+ ```
1057
+
1058
+ where appropriate.
1059
+
1060
+ # 109. RESPONSIVE TYPOGRAPHY
1061
+
1062
+ Typography should adapt to:
1063
+
1064
+ ```text
1065
+ Screen width
1066
+ Orientation
1067
+ Text size
1068
+ Device class
1069
+ ```
1070
+
1071
+ .
1072
+
1073
+ # 110. SMALL SCREENS
1074
+
1075
+ On smaller screens:
1076
+
1077
+ ```text
1078
+ Reduce decorative scale
1079
+ Preserve readability
1080
+ Allow wrapping
1081
+ Collapse secondary controls
1082
+ ```
1083
+
1084
+ .
1085
+
1086
+ # 111. LARGE SCREENS
1087
+
1088
+ On iPad:
1089
+
1090
+ ```text
1091
+ Increase information density
1092
+ Use additional columns
1093
+ Use sidebars
1094
+ Preserve comfortable reading width
1095
+ ```
1096
+
1097
+ where appropriate.
1098
+
1099
+ # 112. SPLIT VIEW
1100
+
1101
+ Layouts should remain coherent when available width changes dynamically.
1102
+
1103
+ # 113. LANDSCAPE
1104
+
1105
+ Do not simply rotate the portrait layout.
1106
+
1107
+ Re-evaluate hierarchy and available space.
1108
+
1109
+ # 114. ADAPTIVE HIERARCHY
1110
+
1111
+ The hierarchy can remain constant while layout changes.
1112
+
1113
+ Example:
1114
+
1115
+ ```text
1116
+ Primary action
1117
+ ```
1118
+
1119
+ should remain primary even if its position changes.
1120
+
1121
+ # 115. DESIGN TOKENS
1122
+
1123
+ Typography and visual hierarchy should be represented as reusable tokens.
1124
+
1125
+ Example:
1126
+
1127
+ ```text id="b6t0d9"
1128
+ --font-screen-title
1129
+ --font-section-title
1130
+ --font-body
1131
+ --font-secondary
1132
+ --font-caption
1133
+
1134
+ --space-xs
1135
+ --space-sm
1136
+ --space-md
1137
+ --space-lg
1138
+ --space-xl
1139
+
1140
+ --color-label
1141
+ --color-secondary-label
1142
+ --color-accent
1143
+ --color-destructive
1144
+ ```
1145
+
1146
+ .
1147
+
1148
+ # 116. TOKEN BENEFITS
1149
+
1150
+ Tokens enable:
1151
+
1152
+ ```text
1153
+ Consistency
1154
+ Theming
1155
+ Accessibility
1156
+ Responsive adaptation
1157
+ Fast iteration
1158
+ ```
1159
+
1160
+ .
1161
+
1162
+ # 117. AGENT HIERARCHY CHECK
1163
+
1164
+ Before generating a screen:
1165
+
1166
+ ```text id="m4oc3z"
1167
+ What is the primary information?
1168
+ What is the primary action?
1169
+ What is secondary?
1170
+ What is metadata?
1171
+ What is decoration?
1172
+ ```
1173
+
1174
+ .
1175
+
1176
+ # 118. AGENT TYPOGRAPHY CHECK
1177
+
1178
+ Ask:
1179
+
1180
+ ```text id="x5l0jm"
1181
+ Can this hierarchy work without color?
1182
+ Can text scale?
1183
+ Are there too many styles?
1184
+ Are headings clearly distinct?
1185
+ Is body text comfortable to read?
1186
+ ```
1187
+
1188
+ .
1189
+
1190
+ # 119. AGENT ICON CHECK
1191
+
1192
+ Ask:
1193
+
1194
+ ```text id="b7xv6n"
1195
+ Is the icon recognizable?
1196
+ Is its meaning consistent?
1197
+ Does it need a label?
1198
+ Is its touch target adequate?
1199
+ Does its visual weight match the UI?
1200
+ ```
1201
+
1202
+ .
1203
+
1204
+ # 120. AGENT SPACING CHECK
1205
+
1206
+ Ask:
1207
+
1208
+ ```text id="p9y1m4"
1209
+ Which elements belong together?
1210
+ Which need separation?
1211
+ Is spacing consistent?
1212
+ Is there unnecessary whitespace?
1213
+ Is the screen too dense?
1214
+ ```
1215
+
1216
+ .
1217
+
1218
+ # 121. AGENT VISUAL-NOISE CHECK
1219
+
1220
+ Count competing visual signals:
1221
+
1222
+ ```text id="9q1i3m"
1223
+ Cards
1224
+ Borders
1225
+ Shadows
1226
+ Colors
1227
+ Icons
1228
+ Bold text
1229
+ Gradients
1230
+ Animations
1231
+ ```
1232
+
1233
+ If too many compete simultaneously, simplify.
1234
+
1235
+ # 122. HIERARCHY FAILURE PATTERNS
1236
+
1237
+ Avoid:
1238
+
1239
+ ```text id="u4x9xq"
1240
+ Everything bold
1241
+ Everything colorful
1242
+ Everything inside cards
1243
+ Everything animated
1244
+ Everything large
1245
+ Every action primary
1246
+ ```
1247
+
1248
+ .
1249
+
1250
+ # 123. PREMIUM UI PRINCIPLE
1251
+
1252
+ Premium design often comes from:
1253
+
1254
+ ```text id="wq4k9e"
1255
+ Restraint
1256
+ Consistency
1257
+ Spacing
1258
+ Typography
1259
+ Precision
1260
+ ```
1261
+
1262
+ rather than visual complexity.
1263
+
1264
+ # 124. IOS-LIKE QUALITY
1265
+
1266
+ The goal is not to copy Apple's exact appearance.
1267
+
1268
+ The goal is to reproduce qualities such as:
1269
+
1270
+ ```text id="3n7j9f"
1271
+ Clarity
1272
+ Hierarchy
1273
+ Consistency
1274
+ Adaptability
1275
+ Semantic interaction
1276
+ Restraint
1277
+ ```
1278
+
1279
+ .
1280
+
1281
+ # 125. VISUAL HIERARCHY DECISION TREE
1282
+
1283
+ ```text id="9q4q4x"
1284
+ What is the primary task?
1285
+ ↓
1286
+ What information supports it?
1287
+ ↓
1288
+ What is secondary?
1289
+ ↓
1290
+ What can be hidden?
1291
+ ↓
1292
+ Apply:
1293
+ Size
1294
+ Weight
1295
+ Spacing
1296
+ Position
1297
+ Contrast
1298
+ ```
1299
+
1300
+ .
1301
+
1302
+ # 126. TYPOGRAPHY DECISION TREE
1303
+
1304
+ ```text id="bqk8h4"
1305
+ Text purpose
1306
+ ↓
1307
+ Semantic role
1308
+ ↓
1309
+ Typography token
1310
+ ↓
1311
+ Scale
1312
+ ↓
1313
+ Weight
1314
+ ↓
1315
+ Line height
1316
+ ↓
1317
+ Accessibility scaling
1318
+ ```
1319
+
1320
+ .
1321
+
1322
+ # 127. ICON DECISION TREE
1323
+
1324
+ ```text id="9n8qwu"
1325
+ Does an established symbol exist?
1326
+ ├── YES → Use familiar symbol
1327
+ └── NO → Design custom icon
1328
+ ↓
1329
+ Is it recognizable?
1330
+ ↓
1331
+ Is accessible label provided?
1332
+ ```
1333
+
1334
+ .
1335
+
1336
+ # 128. VISUAL HIERARCHY REVIEW
1337
+
1338
+ ```text id="o2l8kx"
1339
+ [ ] Primary information obvious
1340
+ [ ] Primary action obvious
1341
+ [ ] Secondary content quieter
1342
+ [ ] Typography consistent
1343
+ [ ] Spacing consistent
1344
+ [ ] Icons consistent
1345
+ [ ] Contrast sufficient
1346
+ [ ] Cards used intentionally
1347
+ [ ] Decoration does not compete
1348
+ [ ] Large text supported
1349
+ [ ] Dark/light hierarchy works
1350
+ [ ] Responsive hierarchy works
1351
+ ```
1352
+
1353
+ .
1354
+
1355
+ # 129. QUALITY SCORE
1356
+
1357
+ ```text id="0g5e8d"
1358
+ Hierarchy 20
1359
+ Typography 15
1360
+ Spacing 15
1361
+ Iconography 10
1362
+ Contrast 10
1363
+ Consistency 10
1364
+ Responsive behavior 10
1365
+ Accessibility 5
1366
+ Visual restraint 5
1367
+ ──────────────────────────────
1368
+ Total 100
1369
+ ```
1370
+
1371
+ Interpretation:
1372
+
1373
+ ```text id="g4z8w3"
1374
+ 95–100 Exceptional
1375
+ 90–94 Excellent
1376
+ 80–89 Strong
1377
+ 70–79 Needs refinement
1378
+ 60–69 Weak
1379
+ <60 Redesign
1380
+ ```
1381
+
1382
+ # 130. FINAL PRINCIPLE
1383
+
1384
+ Visual hierarchy is not about making some elements bigger.
1385
+
1386
+ It is about making the user's next thought obvious.
1387
+
1388
+ ```text id="v9c2xq"
1389
+ See
1390
+ ↓
1391
+ Understand
1392
+ ↓
1393
+ Decide
1394
+ ↓
1395
+ Act
1396
+ ```
1397
+
1398
+ .
1399
+
1400
+ # 131. FINAL AGENT DIRECTIVE
1401
+
1402
+ When designing any screen:
1403
+
1404
+ ```text id="5v8x4z"
1405
+ Do not begin with colors.
1406
+ Do not begin with gradients.
1407
+ Do not begin with cards.
1408
+ Do not begin with shadows.
1409
+ Do not begin with animations.
1410
+ ```
1411
+
1412
+ Begin with:
1413
+
1414
+ ```text id="9c0f5e"
1415
+ Information
1416
+ ↓
1417
+ Hierarchy
1418
+ ↓
1419
+ Structure
1420
+ ↓
1421
+ Typography
1422
+ ↓
1423
+ Spacing
1424
+ ↓
1425
+ Interaction
1426
+ ↓
1427
+ Visual polish
1428
+ ```
1429
+
1430
+ The strongest interfaces feel visually simple because the complexity has been
1431
+ **organized rather than displayed**.