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,1647 @@
1
+
2
+
3
+ # Visual Hierarchy Engine
4
+
5
+ > Agent intelligence module for constructing, analyzing, and correcting visual
6
+ > hierarchy in premium mobile interfaces.
7
+
8
+ Version: 1.0
9
+ Platform: iOS / iPadOS / React Native / Expo
10
+ Role: Visual perception and composition intelligence
11
+ Parent:
12
+
13
+ * design-review-engine.md
14
+ * design-decision-framework.md
15
+ * typography.md
16
+ * layout.md
17
+ * design-tokens.md
18
+ * component-architecture.md
19
+
20
+ # 1. PURPOSE
21
+
22
+ Visual hierarchy determines:
23
+
24
+ ```text
25
+ what users notice
26
+ what users understand
27
+ what users ignore
28
+ what users interact with
29
+ ```
30
+
31
+ The interface should communicate importance visually before the user consciously
32
+ reads every element.
33
+
34
+ # 2. CORE PRINCIPLE
35
+
36
+ Every screen has a visual priority structure.
37
+
38
+ The agent must establish:
39
+
40
+ ```text
41
+ Primary
42
+ Secondary
43
+ Supporting
44
+ Contextual
45
+ Decorative
46
+ ```
47
+
48
+ If all elements have similar visual weight, hierarchy has failed.
49
+
50
+ # 3. THE VISUAL ATTENTION MODEL
51
+
52
+ Attention is influenced by:
53
+
54
+ ```text
55
+ size
56
+ contrast
57
+ position
58
+ spacing
59
+ color
60
+ typography
61
+ shape
62
+ density
63
+ imagery
64
+ motion
65
+ novelty
66
+ alignment
67
+ isolation
68
+ ```
69
+
70
+ These variables interact rather than operating independently.
71
+
72
+ # 4. FIRST-GLANCE TEST
73
+
74
+ Ask:
75
+
76
+ > What does the user see first?
77
+
78
+ Then:
79
+
80
+ > Is that what the product wants them to see first?
81
+
82
+ If not, change hierarchy rather than adding more decoration.
83
+
84
+ # 5. SECOND-GLANCE TEST
85
+
86
+ After the primary element, determine:
87
+
88
+ ```text
89
+ What is noticed second?
90
+ What is noticed third?
91
+ ```
92
+
93
+ A good screen creates an intentional sequence:
94
+
95
+ ```text
96
+ 1 → 2 → 3 → action
97
+ ```
98
+
99
+ # 6. VISUAL SCANNING PATH
100
+
101
+ The agent should predict the likely scanning path.
102
+
103
+ Consider:
104
+
105
+ ```text
106
+ top → bottom
107
+ left → right
108
+ center → edges
109
+ large → small
110
+ high contrast → low contrast
111
+ ```
112
+
113
+ Do not assume every screen follows the same scanning pattern.
114
+
115
+ # 7. VISUAL ENTRY POINT
116
+
117
+ Every screen should have a natural visual entry point.
118
+
119
+ Examples:
120
+
121
+ ```text
122
+ title
123
+ hero image
124
+ primary content
125
+ selected item
126
+ primary action
127
+ ```
128
+
129
+ The entry point must match the user's task.
130
+
131
+ # 8. FOCAL POINT
132
+
133
+ A focal point is the strongest visual destination.
134
+
135
+ A screen normally benefits from:
136
+
137
+ ```text
138
+ one dominant focal point
139
+ ```
140
+
141
+ rather than:
142
+
143
+ ```text
144
+ five equally dominant elements
145
+ ```
146
+
147
+ # 9. FOCAL POINT CREATION
148
+
149
+ A focal point can be created using:
150
+
151
+ ```text
152
+ larger size
153
+ higher contrast
154
+ greater whitespace
155
+ stronger typography
156
+ distinctive color
157
+ imagery
158
+ position
159
+ motion
160
+ ```
161
+
162
+ Use the minimum number of mechanisms necessary.
163
+
164
+ # 10. FOCAL POINT COMPETITION
165
+
166
+ If multiple elements compete:
167
+
168
+ ```text
169
+ identify the most important
170
+ increase its hierarchy
171
+ reduce the others
172
+ ```
173
+
174
+ Do not solve competition by making everything larger.
175
+
176
+ # 11. HIERARCHY LAYERS
177
+
178
+ Recommended conceptual hierarchy:
179
+
180
+ ```text
181
+ LEVEL 1
182
+ screen identity / primary content
183
+
184
+ LEVEL 2
185
+ primary supporting information / primary action
186
+
187
+ LEVEL 3
188
+ secondary information
189
+
190
+ LEVEL 4
191
+ metadata / contextual information
192
+
193
+ LEVEL 5
194
+ decorative content
195
+ ```
196
+
197
+ Not every screen needs five levels.
198
+
199
+ # 12. SIZE AS HIERARCHY
200
+
201
+ Larger elements generally attract more attention.
202
+
203
+ Use size differences intentionally.
204
+
205
+ Bad:
206
+
207
+ ```text
208
+ title 20
209
+ subtitle 19
210
+ metadata 18
211
+ ```
212
+
213
+ Good hierarchy requires meaningful differentiation.
214
+
215
+ # 13. SIZE DOES NOT EQUAL IMPORTANCE
216
+
217
+ Large elements can be visually dominant without being functionally important.
218
+
219
+ Never make something large simply because it is important.
220
+
221
+ Consider the total composition.
222
+
223
+ # 14. SCALE CONTRAST
224
+
225
+ Hierarchy benefits from meaningful scale differences.
226
+
227
+ Example:
228
+
229
+ ```text
230
+ hero
231
+ ↓
232
+ title
233
+ ↓
234
+ supporting text
235
+ ↓
236
+ metadata
237
+ ```
238
+
239
+ Avoid a composition where every element occupies approximately the same scale.
240
+
241
+ # 15. TYPOGRAPHIC HIERARCHY
242
+
243
+ Typography can establish:
244
+
245
+ ```text
246
+ title
247
+ heading
248
+ body
249
+ caption
250
+ metadata
251
+ ```
252
+
253
+ through:
254
+
255
+ ```text
256
+ size
257
+ weight
258
+ line height
259
+ color
260
+ spacing
261
+ ```
262
+
263
+ Avoid creating excessive text styles.
264
+
265
+ # 16. WEIGHT
266
+
267
+ Font weight controls visual density.
268
+
269
+ Use:
270
+
271
+ ```text
272
+ regular
273
+ medium
274
+ semibold
275
+ bold
276
+ ```
277
+
278
+ intentionally.
279
+
280
+ Do not make every important element bold.
281
+
282
+ # 17. WEIGHT CONFLICT
283
+
284
+ If:
285
+
286
+ ```text
287
+ title = bold
288
+ button = bold
289
+ metadata = bold
290
+ tabs = bold
291
+ ```
292
+
293
+ the screen becomes visually noisy.
294
+
295
+ Reserve strong weights for meaningful hierarchy.
296
+
297
+ # 18. COLOR AS HIERARCHY
298
+
299
+ Color can increase attention.
300
+
301
+ Use accent color strategically.
302
+
303
+ Example:
304
+
305
+ ```text
306
+ neutral
307
+ → supporting
308
+
309
+ accent
310
+ → selected / primary
311
+
312
+ semantic red
313
+ → destructive
314
+
315
+ semantic green
316
+ → success
317
+ ```
318
+
319
+ Avoid turning every important element into an accent-colored element.
320
+
321
+ # 19. SATURATION
322
+
323
+ Highly saturated elements attract attention.
324
+
325
+ Use saturation carefully.
326
+
327
+ A single saturated element can establish a focal point.
328
+
329
+ Many saturated elements destroy hierarchy.
330
+
331
+ # 20. CONTRAST
332
+
333
+ Contrast creates visual separation.
334
+
335
+ Useful contrast dimensions:
336
+
337
+ ```text
338
+ light/dark
339
+ large/small
340
+ bold/regular
341
+ filled/outlined
342
+ dense/empty
343
+ opaque/translucent
344
+ ```
345
+
346
+ Contrast should communicate relationships.
347
+
348
+ # 21. CONTRAST STACKING
349
+
350
+ Do not maximize every contrast simultaneously.
351
+
352
+ For example:
353
+
354
+ ```text
355
+ large
356
+ bold
357
+ bright
358
+ saturated
359
+ shadowed
360
+ animated
361
+ ```
362
+
363
+ may produce excessive dominance.
364
+
365
+ Choose the strongest appropriate mechanism.
366
+
367
+ # 22. WHITESPACE AS HIERARCHY
368
+
369
+ Whitespace is not empty.
370
+
371
+ It separates:
372
+
373
+ ```text
374
+ groups
375
+ sections
376
+ actions
377
+ content
378
+ ```
379
+
380
+ and gives important elements room to breathe.
381
+
382
+ # 23. ISOLATION
383
+
384
+ An element surrounded by whitespace gains attention.
385
+
386
+ Use isolation to emphasize:
387
+
388
+ ```text
389
+ primary action
390
+ hero content
391
+ important status
392
+ key metric
393
+ ```
394
+
395
+ .
396
+
397
+ # 24. GROUPING
398
+
399
+ Elements that belong together should appear visually related.
400
+
401
+ Grouping mechanisms:
402
+
403
+ ```text
404
+ proximity
405
+ shared container
406
+ alignment
407
+ background
408
+ divider
409
+ typography
410
+ ```
411
+
412
+ Proximity is usually the least visually expensive.
413
+
414
+ # 25. PROXIMITY PRINCIPLE
415
+
416
+ Elements close together are perceived as related.
417
+
418
+ Therefore:
419
+
420
+ ```text
421
+ small spacing
422
+ → same group
423
+
424
+ large spacing
425
+ → different group
426
+ ```
427
+
428
+ Spacing must communicate semantics.
429
+
430
+ # 26. CONTAINER HIERARCHY
431
+
432
+ A container can establish a relationship.
433
+
434
+ But nested containers can create:
435
+
436
+ ```text
437
+ visual noise
438
+ ```
439
+
440
+ Avoid:
441
+
442
+ ```text
443
+ card
444
+ → card
445
+ → card
446
+ → card
447
+ ```
448
+
449
+ unless hierarchy genuinely requires it.
450
+
451
+ # 27. ALIGNMENT AS HIERARCHY
452
+
453
+ Alignment creates invisible structure.
454
+
455
+ Use shared edges to communicate:
456
+
457
+ ```text
458
+ belonging
459
+ continuity
460
+ order
461
+ ```
462
+
463
+ Misalignment weakens hierarchy.
464
+
465
+ # 28. EDGE ALIGNMENT
466
+
467
+ Important content often benefits from shared edges.
468
+
469
+ Example:
470
+
471
+ ```text
472
+ title
473
+ subtitle
474
+ list
475
+ section
476
+ ```
477
+
478
+ can share the same content margin.
479
+
480
+ This creates a strong visual spine.
481
+
482
+ # 29. CENTERING
483
+
484
+ Center alignment can communicate:
485
+
486
+ ```text
487
+ focus
488
+ symmetry
489
+ simplicity
490
+ ```
491
+
492
+ but can make information-heavy content harder to scan.
493
+
494
+ Do not center everything because it looks clean.
495
+
496
+ # 30. ASYMMETRY
497
+
498
+ Controlled asymmetry can create:
499
+
500
+ ```text
501
+ interest
502
+ direction
503
+ energy
504
+ ```
505
+
506
+ But asymmetry should still have an underlying structure.
507
+
508
+ # 31. DENSITY
509
+
510
+ Density controls how much information is presented in an area.
511
+
512
+ High density:
513
+
514
+ ```text
515
+ professional tools
516
+ data
517
+ management
518
+ lists
519
+ ```
520
+
521
+ Low density:
522
+
523
+ ```text
524
+ focus
525
+ media
526
+ reading
527
+ creation
528
+ ```
529
+
530
+ Choose density based on task.
531
+
532
+ # 32. DENSITY GRADIENT
533
+
534
+ A screen can intentionally transition:
535
+
536
+ ```text
537
+ dense
538
+ ↓
539
+ medium
540
+ ↓
541
+ spacious
542
+ ```
543
+
544
+ This can guide attention toward important content.
545
+
546
+ # 33. VISUAL MASS
547
+
548
+ Large images, cards, dark surfaces, and strong shapes create visual mass.
549
+
550
+ Balance visual mass across the composition.
551
+
552
+ Avoid accidental heaviness on one side.
553
+
554
+ # 34. BALANCE
555
+
556
+ Balance may be:
557
+
558
+ ```text
559
+ symmetrical
560
+ asymmetrical
561
+ ```
562
+
563
+ The goal is not perfect symmetry.
564
+
565
+ The goal is perceived stability.
566
+
567
+ # 35. EDGE WEIGHT
568
+
569
+ Large or high-contrast elements near screen edges can make the composition feel
570
+ heavy.
571
+
572
+ Review edge placement carefully.
573
+
574
+ # 36. CENTER WEIGHT
575
+
576
+ Important content in the center naturally receives attention.
577
+
578
+ Avoid placing everything centrally if it destroys scanning structure.
579
+
580
+ # 37. DEPTH
581
+
582
+ Depth can be communicated through:
583
+
584
+ ```text
585
+ elevation
586
+ blur
587
+ opacity
588
+ scale
589
+ overlap
590
+ shadow
591
+ ```
592
+
593
+ Use depth to establish spatial relationships.
594
+
595
+ # 38. DEPTH HIERARCHY
596
+
597
+ Conceptual layers:
598
+
599
+ ```text
600
+ background
601
+ surface
602
+ content
603
+ floating surface
604
+ modal layer
605
+ system layer
606
+ ```
607
+
608
+ Do not flatten all layers visually.
609
+
610
+ # 39. SHADOW HIERARCHY
611
+
612
+ Shadows should communicate relative elevation.
613
+
614
+ Do not assign identical shadows to every component.
615
+
616
+ # 40. OPACITY
617
+
618
+ Opacity can communicate:
619
+
620
+ ```text
621
+ secondary information
622
+ disabled state
623
+ background relationship
624
+ layering
625
+ ```
626
+
627
+ Do not use low opacity for essential information.
628
+
629
+ # 41. BLUR
630
+
631
+ Blur can reduce background competition.
632
+
633
+ Use it when the underlying content should remain visible but secondary.
634
+
635
+ Do not blur important content.
636
+
637
+ # 42. TRANSLUCENCY
638
+
639
+ Translucency works best when:
640
+
641
+ ```text
642
+ background context matters
643
+ layer relationship matters
644
+ ```
645
+
646
+ It becomes harmful when:
647
+
648
+ ```text
649
+ text readability decreases
650
+ contrast becomes unstable
651
+ visual hierarchy becomes ambiguous
652
+ ```
653
+
654
+ .
655
+
656
+ # 43. IMAGE HIERARCHY
657
+
658
+ Images can dominate a composition.
659
+
660
+ Control image hierarchy through:
661
+
662
+ ```text
663
+ size
664
+ crop
665
+ position
666
+ brightness
667
+ contrast
668
+ overlay
669
+ ```
670
+
671
+ An image should support the screen's purpose.
672
+
673
+ # 44. HERO IMAGE
674
+
675
+ A hero image should be visually dominant only when the content itself is the
676
+ primary experience.
677
+
678
+ Do not use hero imagery on every screen.
679
+
680
+ # 45. IMAGE + TEXT COMPETITION
681
+
682
+ If image and text compete:
683
+
684
+ ```text
685
+ identify which is primary
686
+ ```
687
+
688
+ Then modify:
689
+
690
+ ```text
691
+ crop
692
+ overlay
693
+ text weight
694
+ text placement
695
+ image brightness
696
+ ```
697
+
698
+ .
699
+
700
+ # 46. GRADIENTS
701
+
702
+ Gradients can establish:
703
+
704
+ ```text
705
+ depth
706
+ focus
707
+ text readability
708
+ visual transition
709
+ ```
710
+
711
+ Avoid gradients whose only purpose is decoration.
712
+
713
+ # 47. GLOW
714
+
715
+ Glow creates strong visual attention.
716
+
717
+ Use sparingly.
718
+
719
+ One subtle glow can establish a focal point.
720
+
721
+ Many glowing objects create visual competition.
722
+
723
+ # 48. BORDER RADIUS
724
+
725
+ Radius communicates:
726
+
727
+ ```text
728
+ component family
729
+ softness
730
+ containment
731
+ ```
732
+
733
+ Different radii can establish different semantic levels.
734
+
735
+ Avoid arbitrary radius variation.
736
+
737
+ # 49. SHAPE HIERARCHY
738
+
739
+ Shape can distinguish:
740
+
741
+ ```text
742
+ primary control
743
+ secondary control
744
+ content container
745
+ system element
746
+ ```
747
+
748
+ But excessive shape variation reduces consistency.
749
+
750
+ # 50. MOTION AS HIERARCHY
751
+
752
+ Motion attracts attention.
753
+
754
+ Therefore:
755
+
756
+ ```text
757
+ animated element
758
+ >
759
+ static element
760
+ ```
761
+
762
+ in perceived attention.
763
+
764
+ Never animate multiple unrelated focal points simultaneously.
765
+
766
+ # 51. TEMPORAL HIERARCHY
767
+
768
+ Some hierarchy exists over time.
769
+
770
+ Example:
771
+
772
+ ```text
773
+ user action
774
+ → feedback
775
+ → result
776
+ ```
777
+
778
+ Motion can guide attention through the sequence.
779
+
780
+ # 52. ATTENTION BUDGET
781
+
782
+ Users have limited attention.
783
+
784
+ The agent should treat attention as a resource.
785
+
786
+ Every strong signal spends part of that resource:
787
+
788
+ ```text
789
+ bright color
790
+ large text
791
+ motion
792
+ sound
793
+ strong contrast
794
+ ```
795
+
796
+ Do not spend attention unnecessarily.
797
+
798
+ # 53. ATTENTION STACK
799
+
800
+ Estimate:
801
+
802
+ ```text
803
+ FIRST
804
+ SECOND
805
+ THIRD
806
+ BACKGROUND
807
+ ```
808
+
809
+ If the stack is unclear, hierarchy needs revision.
810
+
811
+ # 54. VISUAL PRIORITY MATRIX
812
+
813
+ Classify each element:
814
+
815
+ ```text
816
+ Importance Visual Weight
817
+ High High
818
+ High Low → potentially hidden
819
+ Low High → potentially distracting
820
+ Low Low → appropriate
821
+ ```
822
+
823
+ The goal is generally:
824
+
825
+ ```text
826
+ importance ≈ visual weight
827
+ ```
828
+
829
+ with intentional exceptions.
830
+
831
+ # 55. HIGH IMPORTANCE / LOW WEIGHT
832
+
833
+ Potential problem:
834
+
835
+ ```text
836
+ critical action
837
+ small gray text
838
+ ```
839
+
840
+ Solution:
841
+
842
+ Increase:
843
+
844
+ ```text
845
+ contrast
846
+ size
847
+ placement
848
+ or interaction prominence
849
+ ```
850
+
851
+ .
852
+
853
+ # 56. LOW IMPORTANCE / HIGH WEIGHT
854
+
855
+ Potential problem:
856
+
857
+ ```text
858
+ decorative graphic
859
+ bright saturated color
860
+ large size
861
+ ```
862
+
863
+ Solution:
864
+
865
+ Reduce visual weight.
866
+
867
+ # 57. HIERARCHY FAILURE
868
+
869
+ Common symptoms:
870
+
871
+ ```text
872
+ everything looks important
873
+ primary action is unclear
874
+ titles compete with content
875
+ metadata is too loud
876
+ decorations dominate
877
+ ```
878
+
879
+ Fix structure rather than adding more UI.
880
+
881
+ # 58. VISUAL COMPETITION AUDIT
882
+
883
+ For each major element ask:
884
+
885
+ ```text
886
+ What is competing with this?
887
+
888
+ Why?
889
+
890
+ Should it win?
891
+ ```
892
+
893
+ Remove unnecessary competition.
894
+
895
+ # 59. FOCAL POINT TEST
896
+
897
+ Temporarily mentally remove:
898
+
899
+ ```text
900
+ color
901
+ icons
902
+ shadows
903
+ gradients
904
+ ```
905
+
906
+ Can the hierarchy still be understood?
907
+
908
+ If not, the composition may depend too heavily on decoration.
909
+
910
+ # 60. GRAYSCALE TEST
911
+
912
+ Evaluate the screen conceptually in grayscale.
913
+
914
+ This reveals:
915
+
916
+ ```text
917
+ size
918
+ contrast
919
+ spacing
920
+ composition
921
+ ```
922
+
923
+ If hierarchy collapses completely, color may be carrying too much responsibility.
924
+
925
+ # 61. BLUR TEST
926
+
927
+ Imagine blurring the screen.
928
+
929
+ Large shapes and major hierarchy should remain recognizable.
930
+
931
+ If everything has identical visual mass, hierarchy is weak.
932
+
933
+ # 62. SQUINT TEST
934
+
935
+ Mentally reduce detail.
936
+
937
+ The dominant visual structure should remain:
938
+
939
+ ```text
940
+ primary
941
+ secondary
942
+ supporting
943
+ ```
944
+
945
+ This is a useful high-level composition test.
946
+
947
+ # 63. SKELETON TEST
948
+
949
+ Remove:
950
+
951
+ ```text
952
+ colors
953
+ images
954
+ icons
955
+ copy details
956
+ ```
957
+
958
+ and inspect the layout skeleton.
959
+
960
+ A strong structure should still feel coherent.
961
+
962
+ # 64. CONTENT REMOVAL TEST
963
+
964
+ Remove secondary content.
965
+
966
+ Ask:
967
+
968
+ > Does the primary task become clearer?
969
+
970
+ If yes, the removed content may have been competing unnecessarily.
971
+
972
+ # 65. SIZES TEST
973
+
974
+ Compare:
975
+
976
+ ```text
977
+ largest
978
+ second largest
979
+ smallest
980
+ ```
981
+
982
+ If their differences are insignificant, hierarchy may be weak.
983
+
984
+ # 66. CONTRAST TEST
985
+
986
+ Identify the highest contrast element.
987
+
988
+ Ask:
989
+
990
+ > Should this be the strongest element?
991
+
992
+ If not, reduce its contrast.
993
+
994
+ # 67. COLOR TEST
995
+
996
+ Identify the most saturated color.
997
+
998
+ Ask:
999
+
1000
+ > Should this receive the most attention?
1001
+
1002
+ If not, reduce saturation or move the accent.
1003
+
1004
+ # 68. SPACING TEST
1005
+
1006
+ Find the largest gap.
1007
+
1008
+ Ask:
1009
+
1010
+ > Does this gap communicate a meaningful separation?
1011
+
1012
+ If not, the layout may feel accidentally fragmented.
1013
+
1014
+ # 69. ALIGNMENT TEST
1015
+
1016
+ Identify the dominant alignment axis.
1017
+
1018
+ Ask:
1019
+
1020
+ > Does it support the content structure?
1021
+
1022
+ If not, establish a clearer grid.
1023
+
1024
+ # 70. VISUAL RHYTHM
1025
+
1026
+ Good interfaces establish rhythm through:
1027
+
1028
+ ```text
1029
+ repetition
1030
+ variation
1031
+ spacing
1032
+ alignment
1033
+ scale
1034
+ ```
1035
+
1036
+ Avoid both:
1037
+
1038
+ ```text
1039
+ perfect monotony
1040
+ ```
1041
+
1042
+ and:
1043
+
1044
+ ```text
1045
+ random variation
1046
+ ```
1047
+
1048
+ # 71. REPETITION
1049
+
1050
+ Repeat:
1051
+
1052
+ ```text
1053
+ spacing
1054
+ typography
1055
+ component geometry
1056
+ alignment
1057
+ ```
1058
+
1059
+ to create coherence.
1060
+
1061
+ # 72. VARIATION
1062
+
1063
+ Introduce variation only when semantic meaning changes.
1064
+
1065
+ Example:
1066
+
1067
+ ```text
1068
+ primary action
1069
+ ≠
1070
+ secondary action
1071
+ ```
1072
+
1073
+ Therefore their visual treatments can differ.
1074
+
1075
+ # 73. VISUAL SEMANTICS
1076
+
1077
+ Visual differences should communicate meaningful differences.
1078
+
1079
+ If two components behave identically, they should generally look related.
1080
+
1081
+ # 74. VISUAL LANGUAGE
1082
+
1083
+ The application should develop a visual vocabulary:
1084
+
1085
+ ```text
1086
+ radius language
1087
+ spacing language
1088
+ type language
1089
+ color language
1090
+ surface language
1091
+ motion language
1092
+ ```
1093
+
1094
+ Random variation weakens product identity.
1095
+
1096
+ # 75. HIERARCHY ACROSS SCREENS
1097
+
1098
+ Hierarchy should remain consistent at the product level.
1099
+
1100
+ For example:
1101
+
1102
+ ```text
1103
+ screen title
1104
+ section heading
1105
+ body
1106
+ metadata
1107
+ ```
1108
+
1109
+ should have recognizable relationships across the application.
1110
+
1111
+ # 76. CROSS-SCREEN CONSISTENCY
1112
+
1113
+ Compare:
1114
+
1115
+ ```text
1116
+ Home
1117
+ Library
1118
+ Detail
1119
+ Settings
1120
+ Search
1121
+ ```
1122
+
1123
+ The user should recognize them as belonging to one product.
1124
+
1125
+ # 77. HIERARCHY AND NAVIGATION
1126
+
1127
+ Navigation should visually communicate:
1128
+
1129
+ ```text
1130
+ current location
1131
+ available destinations
1132
+ current selection
1133
+ ```
1134
+
1135
+ Selected navigation should be recognizable without overwhelming the content.
1136
+
1137
+ # 78. SELECTED STATE
1138
+
1139
+ Selection can use:
1140
+
1141
+ ```text
1142
+ color
1143
+ weight
1144
+ background
1145
+ indicator
1146
+ position
1147
+ ```
1148
+
1149
+ Do not combine every method unless necessary.
1150
+
1151
+ # 79. DISABLED HIERARCHY
1152
+
1153
+ Disabled controls should become less prominent without becoming impossible to
1154
+ understand.
1155
+
1156
+ # 80. ERROR HIERARCHY
1157
+
1158
+ Errors should be prominent enough to notice but not visually dominate the
1159
+ entire product unless the error is critical.
1160
+
1161
+ # 81. SUCCESS HIERARCHY
1162
+
1163
+ Success feedback should communicate completion without unnecessarily hijacking
1164
+ attention.
1165
+
1166
+ # 82. EMPTY STATE HIERARCHY
1167
+
1168
+ An empty state should prioritize:
1169
+
1170
+ ```text
1171
+ 1. explanation
1172
+ 2. next action
1173
+ 3. optional illustration
1174
+ ```
1175
+
1176
+ Do not let decorative artwork dominate the recovery action.
1177
+
1178
+ # 83. LOADING HIERARCHY
1179
+
1180
+ Loading UI should preserve the expected content hierarchy.
1181
+
1182
+ Skeletons should approximate the actual content structure rather than creating
1183
+ an unrelated visual pattern.
1184
+
1185
+ # 84. HIERARCHY UNDER LARGE TEXT
1186
+
1187
+ When text becomes larger:
1188
+
1189
+ ```text
1190
+ preserve semantic hierarchy
1191
+ ```
1192
+
1193
+ rather than shrinking text to preserve the original composition.
1194
+
1195
+ # 85. RESPONSIVE HIERARCHY
1196
+
1197
+ When screen size changes:
1198
+
1199
+ ```text
1200
+ preserve importance
1201
+ ```
1202
+
1203
+ not necessarily exact dimensions.
1204
+
1205
+ # 86. ADAPTIVE HIERARCHY
1206
+
1207
+ A desktop/tablet layout may introduce:
1208
+
1209
+ ```text
1210
+ secondary navigation
1211
+ additional metadata
1212
+ parallel content
1213
+ ```
1214
+
1215
+ without changing the primary task hierarchy.
1216
+
1217
+ # 87. MOBILE HIERARCHY
1218
+
1219
+ On small screens:
1220
+
1221
+ ```text
1222
+ remove secondary content first
1223
+ ```
1224
+
1225
+ rather than shrinking everything.
1226
+
1227
+ # 88. INFORMATION DENSITY
1228
+
1229
+ When information density becomes too high:
1230
+
1231
+ ```text
1232
+ prioritize
1233
+ group
1234
+ collapse
1235
+ progressively disclose
1236
+ ```
1237
+
1238
+ Do not simply reduce font size.
1239
+
1240
+ # 89. DENSITY VS HIERARCHY
1241
+
1242
+ High-density interfaces can still be beautiful if:
1243
+
1244
+ ```text
1245
+ groups are clear
1246
+ alignment is strong
1247
+ hierarchy is deliberate
1248
+ ```
1249
+
1250
+ Density itself is not the problem.
1251
+
1252
+ # 90. VISUAL SILENCE
1253
+
1254
+ Premium interfaces need quiet areas.
1255
+
1256
+ Visual silence provides:
1257
+
1258
+ ```text
1259
+ breathing room
1260
+ focus
1261
+ contrast
1262
+ importance
1263
+ ```
1264
+
1265
+ Do not fill every available pixel.
1266
+
1267
+ # 91. NEGATIVE SPACE
1268
+
1269
+ Negative space can be used to frame:
1270
+
1271
+ ```text
1272
+ hero content
1273
+ primary action
1274
+ important information
1275
+ ```
1276
+
1277
+ It is an active design tool.
1278
+
1279
+ # 92. EDGE-TO-EDGE DESIGN
1280
+
1281
+ Edge-to-edge content can increase immersion.
1282
+
1283
+ But critical controls should respect:
1284
+
1285
+ ```text
1286
+ safe areas
1287
+ gesture regions
1288
+ readability
1289
+ ```
1290
+
1291
+ .
1292
+
1293
+ # 93. SAFE AREA HIERARCHY
1294
+
1295
+ Important content should not compete with system elements.
1296
+
1297
+ Respect:
1298
+
1299
+ ```text
1300
+ status bar
1301
+ home indicator
1302
+ notches
1303
+ Dynamic Island
1304
+ navigation areas
1305
+ ```
1306
+
1307
+ where relevant.
1308
+
1309
+ # 94. DYNAMIC ISLAND / SYSTEM SPACE
1310
+
1311
+ Do not place critical information where system UI can visually compete with it.
1312
+
1313
+ # 95. VISUAL WEIGHT AND PLATFORM UI
1314
+
1315
+ System elements often have high authority.
1316
+
1317
+ Application content should visually coexist with rather than fight platform
1318
+ chrome.
1319
+
1320
+ # 96. PREMIUM COMPOSITION
1321
+
1322
+ A premium screen typically demonstrates:
1323
+
1324
+ ```text
1325
+ clear focal point
1326
+ controlled density
1327
+ strong alignment
1328
+ intentional whitespace
1329
+ restrained color
1330
+ consistent typography
1331
+ limited visual noise
1332
+ ```
1333
+
1334
+ Premium does not mean empty.
1335
+
1336
+ # 97. VISUAL RESTRAINT
1337
+
1338
+ Before adding:
1339
+
1340
+ ```text
1341
+ gradient
1342
+ glow
1343
+ shadow
1344
+ animation
1345
+ blur
1346
+ illustration
1347
+ ```
1348
+
1349
+ ask:
1350
+
1351
+ > What hierarchy problem does this solve?
1352
+
1353
+ # 98. DECORATION TEST
1354
+
1355
+ If removing a decorative element does not reduce:
1356
+
1357
+ ```text
1358
+ clarity
1359
+ meaning
1360
+ orientation
1361
+ brand identity
1362
+ ```
1363
+
1364
+ consider removing it.
1365
+
1366
+ # 99. HIERARCHY REPAIR ORDER
1367
+
1368
+ When hierarchy is weak, fix in this order:
1369
+
1370
+ ```text
1371
+ 1. content priority
1372
+ 2. layout
1373
+ 3. spacing
1374
+ 4. typography
1375
+ 5. contrast
1376
+ 6. color
1377
+ 7. imagery
1378
+ 8. motion
1379
+ 9. decoration
1380
+ ```
1381
+
1382
+ Do not start with gradients or shadows.
1383
+
1384
+ # 100. HIERARCHY RECONSTRUCTION
1385
+
1386
+ When a screen is severely confused:
1387
+
1388
+ ```text
1389
+ remove decoration
1390
+ ↓
1391
+ identify primary content
1392
+ ↓
1393
+ identify secondary content
1394
+ ↓
1395
+ establish grid
1396
+ ↓
1397
+ establish spacing
1398
+ ↓
1399
+ establish typography
1400
+ ↓
1401
+ establish contrast
1402
+ ↓
1403
+ add color
1404
+ ↓
1405
+ add imagery
1406
+ ↓
1407
+ add motion
1408
+ ```
1409
+
1410
+ .
1411
+
1412
+ # 101. VISUAL HIERARCHY SCORE
1413
+
1414
+ Score:
1415
+
1416
+ ```text
1417
+ Focal clarity 20
1418
+ Typography 15
1419
+ Spacing 15
1420
+ Grouping 10
1421
+ Contrast 10
1422
+ Alignment 10
1423
+ Color 5
1424
+ Density 5
1425
+ Depth 5
1426
+ Motion 5
1427
+ ──────────────────────
1428
+ Total 100
1429
+ ```
1430
+
1431
+ Interpretation:
1432
+
1433
+ ```text
1434
+ 95–100 Exceptional
1435
+ 90–94 Excellent
1436
+ 80–89 Strong
1437
+ 70–79 Needs refinement
1438
+ 60–69 Weak
1439
+ <60 Rebuild hierarchy
1440
+ ```
1441
+
1442
+ # 102. REVIEW OUTPUT
1443
+
1444
+ The agent should produce:
1445
+
1446
+ ```text
1447
+ VISUAL HIERARCHY REVIEW
1448
+ ────────────────────────────
1449
+
1450
+ Score: XX/100
1451
+
1452
+ Primary focal point:
1453
+ ...
1454
+
1455
+ Secondary focal point:
1456
+ ...
1457
+
1458
+ Visual scanning path:
1459
+ ...
1460
+
1461
+ Hierarchy strengths:
1462
+ - ...
1463
+
1464
+ Hierarchy failures:
1465
+ - ...
1466
+
1467
+ Competition:
1468
+ - ...
1469
+
1470
+ Spacing:
1471
+ - ...
1472
+
1473
+ Typography:
1474
+ - ...
1475
+
1476
+ Contrast:
1477
+ - ...
1478
+
1479
+ Color:
1480
+ - ...
1481
+
1482
+ Recommended changes:
1483
+ 1. ...
1484
+ 2. ...
1485
+ 3. ...
1486
+ ```
1487
+
1488
+ # 103. REDESIGN OUTPUT
1489
+
1490
+ When asked to improve hierarchy:
1491
+
1492
+ ```text
1493
+ CURRENT
1494
+ → Problem
1495
+
1496
+ TARGET
1497
+ → Desired hierarchy
1498
+
1499
+ CHANGE
1500
+ → Structural modification
1501
+
1502
+ EXPECTED EFFECT
1503
+ → Attention / clarity / usability improvement
1504
+ ```
1505
+
1506
+ # 104. AGENT VISUAL REASONING
1507
+
1508
+ When inspecting a screen, reason in this order:
1509
+
1510
+ ```text
1511
+ What do I see first?
1512
+ ↓
1513
+ Why do I see it first?
1514
+ ↓
1515
+ Should I see it first?
1516
+ ↓
1517
+ What should I see second?
1518
+ ↓
1519
+ What is competing with it?
1520
+ ↓
1521
+ What can be reduced?
1522
+ ↓
1523
+ What must become stronger?
1524
+ ```
1525
+
1526
+ .
1527
+
1528
+ # 105. DO NOT ADD EMPHASIS BLINDLY
1529
+
1530
+ If an element needs attention, do not automatically:
1531
+
1532
+ ```text
1533
+ make it bigger
1534
+ make it brighter
1535
+ make it bold
1536
+ make it colorful
1537
+ ```
1538
+
1539
+ First determine why it is being missed.
1540
+
1541
+ # 106. HIERARCHY THROUGH SUBTRACTION
1542
+
1543
+ Often the best improvement is:
1544
+
1545
+ ```text
1546
+ remove
1547
+ ```
1548
+
1549
+ rather than:
1550
+
1551
+ ```text
1552
+ add
1553
+ ```
1554
+
1555
+ Remove competing elements before increasing the primary element's intensity.
1556
+
1557
+ # 107. ONE STRONG SIGNAL
1558
+
1559
+ When possible, prefer:
1560
+
1561
+ ```text
1562
+ one strong signal
1563
+ +
1564
+ several subtle supporting signals
1565
+ ```
1566
+
1567
+ rather than:
1568
+
1569
+ ```text
1570
+ many strong signals
1571
+ ```
1572
+
1573
+ # 108. HIERARCHY AND USER INTENT
1574
+
1575
+ Visual hierarchy should change according to context.
1576
+
1577
+ Example:
1578
+
1579
+ A music app may prioritize:
1580
+
1581
+ ```text
1582
+ album artwork
1583
+ song title
1584
+ playback controls
1585
+ ```
1586
+
1587
+ while a settings screen prioritizes:
1588
+
1589
+ ```text
1590
+ section
1591
+ setting
1592
+ current value
1593
+ ```
1594
+
1595
+ There is no universal hierarchy independent of task.
1596
+
1597
+ # 109. CONTEXTUAL HIERARCHY
1598
+
1599
+ The same component can have different visual priority depending on its role.
1600
+
1601
+ Never judge visual hierarchy in isolation from context.
1602
+
1603
+ # 110. FINAL PRINCIPLE
1604
+
1605
+ Visual hierarchy is not decoration.
1606
+
1607
+ It is the visual representation of:
1608
+
1609
+ ```text
1610
+ importance
1611
+ relationship
1612
+ sequence
1613
+ context
1614
+ action
1615
+ ```
1616
+
1617
+ A strong interface lets users understand the product's structure before they
1618
+ have consciously analyzed it.
1619
+
1620
+ # 111. FINAL AGENT DIRECTIVE
1621
+
1622
+ When designing or reviewing any screen:
1623
+
1624
+ ```text
1625
+ Do not ask:
1626
+ "How can I make this prettier?"
1627
+
1628
+ Ask:
1629
+ "What should the user notice,
1630
+ understand, and do next?"
1631
+ ```
1632
+
1633
+ Then use:
1634
+
1635
+ ```text
1636
+ size
1637
+ spacing
1638
+ alignment
1639
+ typography
1640
+ contrast
1641
+ color
1642
+ grouping
1643
+ depth
1644
+ imagery
1645
+ motion
1646
+ ```
1647
+