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,1883 @@
1
+
2
+
3
+ # Apple Design Decision Framework
4
+
5
+ > Agent reasoning module for choosing between competing UI/UX solutions,
6
+ > resolving design trade-offs, and producing justified interface decisions.
7
+
8
+ Version: 1.0
9
+ Platform: iOS / iPadOS / React Native / Expo
10
+ Role: Design decision intelligence
11
+ Parent:
12
+
13
+ * design-review-engine.md
14
+ * screen-architecture.md
15
+ * component-architecture.md
16
+ * interaction-patterns.md
17
+ * layout.md
18
+ * accessibility.md
19
+ * responsive-adaptive.md
20
+
21
+ # 1. PURPOSE
22
+
23
+ Design rarely has one universally correct answer.
24
+
25
+ The agent must frequently choose between:
26
+
27
+ ```text
28
+ A vs B
29
+ simple vs powerful
30
+ native vs custom
31
+ compact vs spacious
32
+ visible vs hidden
33
+ modal vs navigation
34
+ tab vs sidebar
35
+ card vs flat layout
36
+ animation vs immediate transition
37
+ ```
38
+
39
+ This framework teaches the agent how to make those decisions systematically.
40
+
41
+ # 2. PRIMARY PRINCIPLE
42
+
43
+ Do not ask:
44
+
45
+ > Which design looks better?
46
+
47
+ Ask:
48
+
49
+ > Which design best serves the user's goal under the project's constraints?
50
+
51
+ # 3. DECISION PRIORITY
52
+
53
+ When evaluating alternatives, prioritize:
54
+
55
+ ```text
56
+ 1. User safety
57
+ 2. Task completion
58
+ 3. Clarity
59
+ 4. Accessibility
60
+ 5. Discoverability
61
+ 6. Consistency
62
+ 7. Platform familiarity
63
+ 8. Performance
64
+ 9. Efficiency
65
+ 10. Visual refinement
66
+ ```
67
+
68
+ Visual beauty does not override usability.
69
+
70
+ # 4. DECISION MODEL
71
+
72
+ For every meaningful design decision:
73
+
74
+ ```text
75
+ PROBLEM
76
+ ↓
77
+ CONTEXT
78
+ ↓
79
+ OPTIONS
80
+ ↓
81
+ CONSTRAINTS
82
+ ↓
83
+ CRITERIA
84
+ ↓
85
+ TRADE-OFFS
86
+ ↓
87
+ DECISION
88
+ ↓
89
+ RATIONALE
90
+ ↓
91
+ VALIDATION
92
+ ```
93
+
94
+ # 5. PROBLEM DEFINITION
95
+
96
+ Before choosing a UI pattern, define:
97
+
98
+ ```text
99
+ What problem are we solving?
100
+
101
+ Who experiences it?
102
+
103
+ When does it occur?
104
+
105
+ What does success look like?
106
+ ```
107
+
108
+ # 6. USER GOAL
109
+
110
+ Identify the user's immediate goal.
111
+
112
+ Examples:
113
+
114
+ ```text
115
+ find
116
+ create
117
+ edit
118
+ consume
119
+ compare
120
+ configure
121
+ navigate
122
+ monitor
123
+ share
124
+ delete
125
+ recover
126
+ ```
127
+
128
+ The UI should optimize around this goal.
129
+
130
+ # 7. USER FREQUENCY
131
+
132
+ Determine how frequently the action occurs:
133
+
134
+ ```text
135
+ constant
136
+ frequent
137
+ occasional
138
+ rare
139
+ one-time
140
+ ```
141
+
142
+ Frequency strongly affects visibility.
143
+
144
+ # 8. FREQUENCY RULE
145
+
146
+ Frequent actions:
147
+
148
+ ```text
149
+ visible
150
+ reachable
151
+ predictable
152
+ ```
153
+
154
+ Rare actions:
155
+
156
+ ```text
157
+ contextual
158
+ secondary
159
+ progressively disclosed
160
+ ```
161
+
162
+ Dangerous actions:
163
+
164
+ ```text
165
+ clear
166
+ deliberate
167
+ recoverable where possible
168
+ ```
169
+
170
+ # 9. USER EXPERTISE
171
+
172
+ Consider:
173
+
174
+ ```text
175
+ beginner
176
+ intermediate
177
+ power user
178
+ mixed audience
179
+ ```
180
+
181
+ Do not optimize the primary interface exclusively for experts.
182
+
183
+ # 10. PRIMARY VS ADVANCED USERS
184
+
185
+ For mixed audiences:
186
+
187
+ ```text
188
+ default experience
189
+ +
190
+ progressive power features
191
+ ```
192
+
193
+ is usually preferable to exposing everything immediately.
194
+
195
+ # 11. CONTEXT
196
+
197
+ Consider:
198
+
199
+ ```text
200
+ environment
201
+ device
202
+ screen size
203
+ orientation
204
+ network
205
+ attention
206
+ task urgency
207
+ ```
208
+
209
+ Example:
210
+
211
+ A music player used while walking has different interaction requirements
212
+ from a developer dashboard used at a desk.
213
+
214
+ # 12. DECISION CONSTRAINTS
215
+
216
+ List constraints before choosing.
217
+
218
+ Possible constraints:
219
+
220
+ ```text
221
+ platform
222
+ existing architecture
223
+ design system
224
+ performance
225
+ accessibility
226
+ screen size
227
+ implementation complexity
228
+ dependencies
229
+ time
230
+ offline behavior
231
+ ```
232
+
233
+ A design that violates critical constraints is not a valid solution.
234
+
235
+ # 13. HARD VS SOFT CONSTRAINTS
236
+
237
+ Hard constraints:
238
+
239
+ ```text
240
+ must support
241
+ must not break
242
+ must remain accessible
243
+ must work offline
244
+ must fit platform architecture
245
+ ```
246
+
247
+ Soft constraints:
248
+
249
+ ```text
250
+ preferred
251
+ nice to have
252
+ visual preference
253
+ future enhancement
254
+ ```
255
+
256
+ Hard constraints take priority.
257
+
258
+ # 14. OPTION GENERATION
259
+
260
+ Generate 2–4 plausible solutions.
261
+
262
+ Do not compare:
263
+
264
+ ```text
265
+ one realistic design
266
+ vs
267
+ one intentionally bad design
268
+ ```
269
+
270
+ Options must be viable.
271
+
272
+ # 15. OPTION DIVERSITY
273
+
274
+ When appropriate, generate fundamentally different approaches:
275
+
276
+ ```text
277
+ Option A → inline
278
+ Option B → sheet
279
+ Option C → dedicated screen
280
+ ```
281
+
282
+ rather than:
283
+
284
+ ```text
285
+ Option A → blue button
286
+ Option B → green button
287
+ Option C → purple button
288
+ ```
289
+
290
+ The goal is architectural comparison.
291
+
292
+ # 16. DECISION CRITERIA
293
+
294
+ Typical criteria:
295
+
296
+ ```text
297
+ clarity
298
+ speed
299
+ discoverability
300
+ frequency
301
+ accessibility
302
+ platform fit
303
+ consistency
304
+ performance
305
+ complexity
306
+ scalability
307
+ ```
308
+
309
+ Not every decision needs every criterion.
310
+
311
+ # 17. CRITERIA WEIGHTING
312
+
313
+ For important decisions, assign weights.
314
+
315
+ Example:
316
+
317
+ ```text
318
+ Clarity 30%
319
+ Efficiency 20%
320
+ Discoverability 20%
321
+ Accessibility 15%
322
+ Consistency 10%
323
+ Visual refinement 5%
324
+ ```
325
+
326
+ The weights depend on the task.
327
+
328
+ # 18. SCORING
329
+
330
+ Score each option from:
331
+
332
+ ```text
333
+ 1 = poor
334
+ 2 = weak
335
+ 3 = acceptable
336
+ 4 = strong
337
+ 5 = excellent
338
+ ```
339
+
340
+ Then calculate:
341
+
342
+ ```text
343
+ weighted score =
344
+ criterion score × criterion weight
345
+ ```
346
+
347
+ The numerical score supports reasoning.
348
+
349
+ It does not replace judgment.
350
+
351
+ # 19. QUALITATIVE OVERRIDE
352
+
353
+ A higher numerical score does not automatically win.
354
+
355
+ An option can be rejected if it violates a critical requirement.
356
+
357
+ Example:
358
+
359
+ ```text
360
+ Option A = 4.6
361
+ Option B = 4.3
362
+
363
+ Option A violates accessibility.
364
+ → Choose B.
365
+ ```
366
+
367
+ # 20. DECISION CONFIDENCE
368
+
369
+ Classify:
370
+
371
+ ```text
372
+ High
373
+ Medium
374
+ Low
375
+ ```
376
+
377
+ High confidence:
378
+
379
+ ```text
380
+ strong evidence
381
+ clear platform convention
382
+ obvious user benefit
383
+ ```
384
+
385
+ Medium:
386
+
387
+ ```text
388
+ reasonable evidence
389
+ some trade-offs
390
+ ```
391
+
392
+ Low:
393
+
394
+ ```text
395
+ insufficient evidence
396
+ unusual context
397
+ unknown user behavior
398
+ ```
399
+
400
+ Low-confidence decisions should be validated.
401
+
402
+ # 21. NATIVE VS CUSTOM
403
+
404
+ Ask:
405
+
406
+ ```text
407
+ Is there a familiar platform pattern?
408
+
409
+ Does the custom design provide meaningful benefit?
410
+
411
+ Does customization create additional learning?
412
+
413
+ Does it increase implementation cost?
414
+
415
+ Does it reduce accessibility?
416
+ ```
417
+
418
+ Default toward familiar patterns unless customization has a clear benefit.
419
+
420
+ # 22. NATIVE PRINCIPLE
421
+
422
+ Use platform conventions when:
423
+
424
+ ```text
425
+ the action is common
426
+ the user expects standard behavior
427
+ accessibility is important
428
+ system integration matters
429
+ ```
430
+
431
+ Custom design is appropriate when:
432
+
433
+ ```text
434
+ the product has a unique workflow
435
+ branding requires differentiation
436
+ standard patterns cannot express the task well
437
+ ```
438
+
439
+ Never customize purely for novelty.
440
+
441
+ # 23. INLINE VS MODAL
442
+
443
+ Prefer inline when:
444
+
445
+ ```text
446
+ task is lightweight
447
+ context should remain visible
448
+ changes are easy to understand
449
+ ```
450
+
451
+ Prefer modal/sheet when:
452
+
453
+ ```text
454
+ task needs focus
455
+ temporary decision
456
+ short configuration
457
+ confirmation
458
+ ```
459
+
460
+ Avoid modal interruption for ordinary information.
461
+
462
+ # 24. SHEET VS SCREEN
463
+
464
+ Choose a sheet when:
465
+
466
+ ```text
467
+ task is contextual
468
+ temporary
469
+ small-to-medium complexity
470
+ ```
471
+
472
+ Choose a full screen when:
473
+
474
+ ```text
475
+ task is substantial
476
+ requires navigation
477
+ requires extensive content
478
+ requires persistent context
479
+ ```
480
+
481
+ Ask:
482
+
483
+ > Does the user need to feel they entered a new place?
484
+
485
+ If yes, a screen may be better.
486
+
487
+ # 25. TAB VS NAVIGATION
488
+
489
+ Use tabs for:
490
+
491
+ ```text
492
+ major stable destinations
493
+ frequent switching
494
+ independent sections
495
+ ```
496
+
497
+ Use navigation for:
498
+
499
+ ```text
500
+ hierarchical depth
501
+ detail
502
+ workflow progression
503
+ ```
504
+
505
+ Do not turn every screen into a tab.
506
+
507
+ # 26. TAB VS SIDEBAR
508
+
509
+ Use tabs when:
510
+
511
+ ```text
512
+ screen width is limited
513
+ few major destinations exist
514
+ ```
515
+
516
+ Consider sidebar navigation when:
517
+
518
+ ```text
519
+ large screen
520
+ many destinations
521
+ master-detail workflow
522
+ persistent navigation
523
+ ```
524
+
525
+ Adapt architecture to available space.
526
+
527
+ # 27. LIST VS GRID
528
+
529
+ Use list when:
530
+
531
+ ```text
532
+ textual scanning
533
+ metadata
534
+ comparison
535
+ long titles
536
+ high information density
537
+ ```
538
+
539
+ Use grid when:
540
+
541
+ ```text
542
+ visual recognition
543
+ media
544
+ short labels
545
+ browsing
546
+ ```
547
+
548
+ Hybrid layouts may be appropriate.
549
+
550
+ # 28. CARD VS FLAT CONTENT
551
+
552
+ Choose cards when:
553
+
554
+ ```text
555
+ grouping is important
556
+ items are independent
557
+ elevation has meaning
558
+ ```
559
+
560
+ Choose flat composition when:
561
+
562
+ ```text
563
+ content belongs to one hierarchy
564
+ containers add unnecessary noise
565
+ ```
566
+
567
+ Do not use cards as default decoration.
568
+
569
+ # 29. CAROUSEL VS SCROLLING LIST
570
+
571
+ Use carousel when:
572
+
573
+ ```text
574
+ small number of visual items
575
+ horizontal discovery
576
+ peek interaction has value
577
+ ```
578
+
579
+ Use list/grid when:
580
+
581
+ ```text
582
+ many items
583
+ scanning
584
+ searching
585
+ comparison
586
+ ```
587
+
588
+ Avoid hiding important content inside horizontal carousels.
589
+
590
+ # 30. ICON VS TEXT
591
+
592
+ Use icon when:
593
+
594
+ ```text
595
+ meaning is universally recognizable
596
+ space is constrained
597
+ action is familiar
598
+ ```
599
+
600
+ Use text when:
601
+
602
+ ```text
603
+ meaning is ambiguous
604
+ action is important
605
+ user needs explicit clarity
606
+ ```
607
+
608
+ Use icon + text when both recognition and clarity matter.
609
+
610
+ # 31. VISIBLE VS CONTEXTUAL ACTION
611
+
612
+ Visible action when:
613
+
614
+ ```text
615
+ frequent
616
+ important
617
+ discoverability required
618
+ ```
619
+
620
+ Contextual action when:
621
+
622
+ ```text
623
+ rare
624
+ secondary
625
+ space constrained
626
+ ```
627
+
628
+ Do not hide critical functionality merely to make the interface cleaner.
629
+
630
+ # 32. FLOATING ACTION VS INLINE ACTION
631
+
632
+ Use floating action when:
633
+
634
+ ```text
635
+ one dominant creation/action exists
636
+ ```
637
+
638
+ Use inline action when:
639
+
640
+ ```text
641
+ action belongs directly to content
642
+ multiple competing actions exist
643
+ ```
644
+
645
+ Avoid floating actions for unrelated tasks.
646
+
647
+ # 33. SEARCH VS FILTER
648
+
649
+ Search is best for:
650
+
651
+ ```text
652
+ known or unknown target
653
+ large datasets
654
+ specific discovery
655
+ ```
656
+
657
+ Filters are best for:
658
+
659
+ ```text
660
+ constraining an existing dataset
661
+ known categories
662
+ structured attributes
663
+ ```
664
+
665
+ Use both when appropriate.
666
+
667
+ # 34. SEARCH VS BROWSE
668
+
669
+ Search optimizes:
670
+
671
+ ```text
672
+ intentional retrieval
673
+ ```
674
+
675
+ Browse optimizes:
676
+
677
+ ```text
678
+ discovery
679
+ exploration
680
+ serendipity
681
+ ```
682
+
683
+ Do not replace browsing with search when discovery is central to the product.
684
+
685
+ # 35. AUTO-SUGGEST VS MANUAL ENTRY
686
+
687
+ Use suggestions when:
688
+
689
+ ```text
690
+ predictable inputs
691
+ repeated patterns
692
+ large search space
693
+ ```
694
+
695
+ Ensure users can still complete the task without being trapped by suggestions.
696
+
697
+ # 36. IMMEDIATE ACTION VS CONFIRMATION
698
+
699
+ Use immediate action when:
700
+
701
+ ```text
702
+ reversible
703
+ low risk
704
+ easy to undo
705
+ ```
706
+
707
+ Use confirmation when:
708
+
709
+ ```text
710
+ destructive
711
+ irreversible
712
+ high consequence
713
+ ```
714
+
715
+ Prefer undo over confirmation when the workflow allows it.
716
+
717
+ # 37. TOAST VS INLINE FEEDBACK
718
+
719
+ Use inline feedback when:
720
+
721
+ ```text
722
+ message belongs to a specific field/component
723
+ ```
724
+
725
+ Use toast/banner when:
726
+
727
+ ```text
728
+ short global confirmation
729
+ background operation
730
+ temporary status
731
+ ```
732
+
733
+ Do not hide important errors in transient notifications.
734
+
735
+ # 38. INLINE ERROR VS ERROR SCREEN
736
+
737
+ Use inline error when:
738
+
739
+ ```text
740
+ one component failed
741
+ ```
742
+
743
+ Use full error state when:
744
+
745
+ ```text
746
+ screen cannot function
747
+ ```
748
+
749
+ Localize failures whenever possible.
750
+
751
+ # 39. SKELETON VS SPINNER
752
+
753
+ Use skeleton when:
754
+
755
+ ```text
756
+ layout is predictable
757
+ loading is meaningful
758
+ ```
759
+
760
+ Use spinner when:
761
+
762
+ ```text
763
+ small operation
764
+ short wait
765
+ localized action
766
+ ```
767
+
768
+ Use progress when:
769
+
770
+ ```text
771
+ duration is meaningful
772
+ ```
773
+
774
+ Do not use skeletons simply because they look modern.
775
+
776
+ # 40. ANIMATION VS NO ANIMATION
777
+
778
+ Use animation when it explains:
779
+
780
+ ```text
781
+ state change
782
+ spatial relationship
783
+ causality
784
+ feedback
785
+ ```
786
+
787
+ Avoid animation when:
788
+
789
+ ```text
790
+ it delays interaction
791
+ creates distraction
792
+ adds processing cost
793
+ does not communicate anything
794
+ ```
795
+
796
+ Motion must earn its existence.
797
+
798
+ # 41. BLUR VS SOLID SURFACE
799
+
800
+ Use blur when:
801
+
802
+ ```text
803
+ underlying content should remain contextually visible
804
+ layer relationship matters
805
+ ```
806
+
807
+ Use solid surface when:
808
+
809
+ ```text
810
+ readability is critical
811
+ content is dense
812
+ background interference is high
813
+ ```
814
+
815
+ Never sacrifice readability for material aesthetics.
816
+
817
+ # 42. DARK VS LIGHT SURFACE
818
+
819
+ Choose based on:
820
+
821
+ ```text
822
+ content
823
+ environment
824
+ brand
825
+ readability
826
+ platform context
827
+ ```
828
+
829
+ Dark does not automatically mean premium.
830
+
831
+ # 43. COMPACT VS SPACIOUS
832
+
833
+ Choose compact when:
834
+
835
+ ```text
836
+ data density
837
+ frequent scanning
838
+ professional tooling
839
+ ```
840
+
841
+ Choose spacious when:
842
+
843
+ ```text
844
+ content consumption
845
+ focus
846
+ touch simplicity
847
+ visual hierarchy
848
+ ```
849
+
850
+ Provide adaptive density where appropriate.
851
+
852
+ # 44. ONE COLUMN VS MULTI-COLUMN
853
+
854
+ One column:
855
+
856
+ ```text
857
+ narrow screen
858
+ linear workflow
859
+ reading
860
+ ```
861
+
862
+ Multi-column:
863
+
864
+ ```text
865
+ wide screen
866
+ comparison
867
+ master-detail
868
+ high information density
869
+ ```
870
+
871
+ Do not create multiple columns merely to fill empty space.
872
+
873
+ # 45. SCROLL VS PAGINATION
874
+
875
+ Prefer continuous scrolling when:
876
+
877
+ ```text
878
+ exploration
879
+ feed
880
+ long content
881
+ ```
882
+
883
+ Consider pagination when:
884
+
885
+ ```text
886
+ large datasets
887
+ explicit result boundaries
888
+ comparison
889
+ navigation between result sets
890
+ ```
891
+
892
+ Choose based on task semantics.
893
+
894
+ # 46. VIRTUALIZED LIST VS STATIC LAYOUT
895
+
896
+ Use virtualization for large dynamic collections.
897
+
898
+ Use simple layouts for small fixed content.
899
+
900
+ Do not introduce complex list infrastructure for five static items.
901
+
902
+ # 47. PERFORMANCE TRADE-OFF
903
+
904
+ When a visual effect is expensive:
905
+
906
+ ```text
907
+ 1. simplify
908
+ 2. reduce frequency
909
+ 3. reduce area
910
+ 4. reduce layers
911
+ 5. use static alternative
912
+ ```
913
+
914
+ before removing the design entirely.
915
+
916
+ # 48. ACCESSIBILITY TRADE-OFF
917
+
918
+ When visual elegance conflicts with accessibility:
919
+
920
+ ```text
921
+ accessibility wins
922
+ ```
923
+
924
+ Find another visual solution.
925
+
926
+ # 49. CONSISTENCY TRADE-OFF
927
+
928
+ If a new pattern is slightly better individually but creates major inconsistency,
929
+ prefer the existing pattern unless the improvement is significant.
930
+
931
+ # 50. CONSISTENCY EXCEPTION
932
+
933
+ Break consistency when:
934
+
935
+ ```text
936
+ new context requires different behavior
937
+ old pattern creates usability problems
938
+ platform behavior requires adaptation
939
+ ```
940
+
941
+ Consistency is a tool, not a religion.
942
+
943
+ # 51. SIMPLICITY VS POWER
944
+
945
+ The best solution often provides:
946
+
947
+ ```text
948
+ simple default
949
+ +
950
+ advanced capability
951
+ ```
952
+
953
+ rather than:
954
+
955
+ ```text
956
+ simple OR powerful
957
+ ```
958
+
959
+ # 52. FEWER FEATURES VS MORE FEATURES
960
+
961
+ Ask:
962
+
963
+ ```text
964
+ Does the feature solve a real problem?
965
+
966
+ How frequently is it used?
967
+
968
+ Can it remain contextual?
969
+
970
+ Does it increase cognitive load?
971
+
972
+ Does it create maintenance cost?
973
+ ```
974
+
975
+ Do not add features merely because competitors have them.
976
+
977
+ # 53. DEFAULTS
978
+
979
+ Good defaults reduce:
980
+
981
+ ```text
982
+ typing
983
+ decision-making
984
+ configuration
985
+ ```
986
+
987
+ Defaults should be:
988
+
989
+ ```text
990
+ safe
991
+ predictable
992
+ reversible
993
+ ```
994
+
995
+ when possible.
996
+
997
+ # 54. PERSONALIZATION VS PREDICTABILITY
998
+
999
+ Personalization should modify content without destroying interaction structure.
1000
+
1001
+ # 55. AUTOMATION VS CONTROL
1002
+
1003
+ Automation is useful when:
1004
+
1005
+ ```text
1006
+ task is repetitive
1007
+ risk is low
1008
+ result is predictable
1009
+ ```
1010
+
1011
+ Give users control when:
1012
+
1013
+ ```text
1014
+ consequences are significant
1015
+ preferences vary
1016
+ automation may surprise
1017
+ ```
1018
+
1019
+ Provide override mechanisms where appropriate.
1020
+
1021
+ # 56. SMART VS EXPLICIT
1022
+
1023
+ Do not make an interface "smart" at the cost of predictability.
1024
+
1025
+ Prefer:
1026
+
1027
+ ```text
1028
+ smart assistance
1029
+ +
1030
+ explicit control
1031
+ ```
1032
+
1033
+ over opaque automation.
1034
+
1035
+ # 57. DISCOVERY VS EFFICIENCY
1036
+
1037
+ New users need:
1038
+
1039
+ ```text
1040
+ discoverability
1041
+ ```
1042
+
1043
+ Experienced users need:
1044
+
1045
+ ```text
1046
+ efficiency
1047
+ ```
1048
+
1049
+ A mature interface supports both through:
1050
+
1051
+ ```text
1052
+ visible basics
1053
+ +
1054
+ shortcuts
1055
+ +
1056
+ contextual actions
1057
+ ```
1058
+
1059
+ .
1060
+
1061
+ # 58. MINIMUM INTERACTION PATH
1062
+
1063
+ For each major task calculate:
1064
+
1065
+ ```text
1066
+ entry
1067
+ → action
1068
+ → completion
1069
+ ```
1070
+
1071
+ Then count unnecessary steps.
1072
+
1073
+ # 59. INTERACTION COST
1074
+
1075
+ Interaction cost includes:
1076
+
1077
+ ```text
1078
+ tap count
1079
+ navigation depth
1080
+ typing
1081
+ scroll distance
1082
+ mental decisions
1083
+ waiting
1084
+ ```
1085
+
1086
+ Optimize total cost, not only taps.
1087
+
1088
+ # 60. SCROLL COST
1089
+
1090
+ Scrolling is not inherently bad.
1091
+
1092
+ Ask:
1093
+
1094
+ > Is the user scrolling because the content is naturally long, or because the
1095
+ > architecture is inefficient?
1096
+
1097
+ # 61. COGNITIVE COST
1098
+
1099
+ A single tap can be more expensive than three taps if the action is ambiguous.
1100
+
1101
+ Optimize cognitive effort, not raw interaction count.
1102
+
1103
+ # 62. DECISION COST
1104
+
1105
+ Reduce unnecessary choices with:
1106
+
1107
+ ```text
1108
+ defaults
1109
+ grouping
1110
+ recommendations
1111
+ context
1112
+ progressive disclosure
1113
+ ```
1114
+
1115
+ .
1116
+
1117
+ # 63. ERROR COST
1118
+
1119
+ Consider:
1120
+
1121
+ ```text
1122
+ How easy is it to make a mistake?
1123
+ How easy is it to recover?
1124
+ ```
1125
+
1126
+ Prefer designs that make common mistakes less likely.
1127
+
1128
+ # 64. RECOVERY COST
1129
+
1130
+ A strong interface minimizes the cost of:
1131
+
1132
+ ```text
1133
+ mistakes
1134
+ navigation errors
1135
+ failed operations
1136
+ misunderstandings
1137
+ ```
1138
+
1139
+ .
1140
+
1141
+ # 65. REVERSIBILITY
1142
+
1143
+ When two options are otherwise similar, prefer the one that makes mistakes
1144
+ easier to reverse.
1145
+
1146
+ # 66. DESIGN REVERSIBILITY
1147
+
1148
+ Prefer:
1149
+
1150
+ ```text
1151
+ Undo
1152
+ ```
1153
+
1154
+ over:
1155
+
1156
+ ```text
1157
+ Are you sure?
1158
+ ```
1159
+
1160
+ when appropriate.
1161
+
1162
+ # 67. PROGRESSIVE DISCLOSURE DECISION
1163
+
1164
+ Hide complexity when:
1165
+
1166
+ ```text
1167
+ most users do not need it
1168
+ ```
1169
+
1170
+ Reveal complexity when:
1171
+
1172
+ ```text
1173
+ user expresses intent
1174
+ ```
1175
+
1176
+ Never hide functionality so deeply that users cannot discover it.
1177
+
1178
+ # 68. INFORMATION PRIORITY
1179
+
1180
+ When space is limited:
1181
+
1182
+ ```text
1183
+ 1. critical
1184
+ 2. primary
1185
+ 3. useful
1186
+ 4. contextual
1187
+ 5. decorative
1188
+ ```
1189
+
1190
+ Remove from the bottom upward.
1191
+
1192
+ # 69. ACTION PRIORITY
1193
+
1194
+ When space is limited:
1195
+
1196
+ ```text
1197
+ 1. primary
1198
+ 2. frequent secondary
1199
+ 3. occasional
1200
+ 4. advanced
1201
+ 5. destructive
1202
+ ```
1203
+
1204
+ Destructive actions may require deliberate separation rather than simply
1205
+ being placed last.
1206
+
1207
+ # 70. VISUAL PRIORITY
1208
+
1209
+ Visual emphasis should follow:
1210
+
1211
+ ```text
1212
+ importance
1213
+ ```
1214
+
1215
+ not implementation convenience.
1216
+
1217
+ # 71. MOBILE-FIRST DECISION
1218
+
1219
+ Start with the smallest meaningful layout.
1220
+
1221
+ Determine:
1222
+
1223
+ ```text
1224
+ what must survive
1225
+ ```
1226
+
1227
+ before designing larger layouts.
1228
+
1229
+ # 72. TABLET ENHANCEMENT
1230
+
1231
+ Larger screens should gain:
1232
+
1233
+ ```text
1234
+ context
1235
+ parallelism
1236
+ comparison
1237
+ navigation efficiency
1238
+ ```
1239
+
1240
+ not merely larger empty margins.
1241
+
1242
+ # 73. IPAD DECISION
1243
+
1244
+ When width allows:
1245
+
1246
+ ```text
1247
+ list + detail
1248
+ sidebar + content
1249
+ multi-column
1250
+ ```
1251
+
1252
+ may reduce navigation depth.
1253
+
1254
+ # 74. LANDSCAPE DECISION
1255
+
1256
+ Use landscape when it materially improves:
1257
+
1258
+ ```text
1259
+ media
1260
+ editing
1261
+ comparison
1262
+ data
1263
+ ```
1264
+
1265
+ Do not force every screen to support a completely different layout if the
1266
+ content gains nothing.
1267
+
1268
+ # 75. ACCESSIBILITY DECISION
1269
+
1270
+ When choosing between alternatives, test:
1271
+
1272
+ ```text
1273
+ normal text
1274
+ large text
1275
+ VoiceOver
1276
+ reduced motion
1277
+ high contrast
1278
+ touch interaction
1279
+ ```
1280
+
1281
+ The best design must survive accessibility modes.
1282
+
1283
+ # 76. PERFORMANCE DECISION
1284
+
1285
+ Before choosing an advanced effect:
1286
+
1287
+ ```text
1288
+ estimate cost
1289
+ ```
1290
+
1291
+ Classify:
1292
+
1293
+ ```text
1294
+ low
1295
+ medium
1296
+ high
1297
+ ```
1298
+
1299
+ If high-cost and low-value:
1300
+
1301
+ ```text
1302
+ reject
1303
+ ```
1304
+
1305
+ .
1306
+
1307
+ # 77. IMPLEMENTATION COMPLEXITY
1308
+
1309
+ Evaluate:
1310
+
1311
+ ```text
1312
+ dependency count
1313
+ native code
1314
+ state complexity
1315
+ animation complexity
1316
+ testing burden
1317
+ maintenance
1318
+ ```
1319
+
1320
+ Prefer simpler implementation when user value is similar.
1321
+
1322
+ # 78. DESIGN ROI
1323
+
1324
+ A useful conceptual model:
1325
+
1326
+ ```text
1327
+ Design ROI =
1328
+ user benefit
1329
+ ────────────
1330
+ complexity cost
1331
+ ```
1332
+
1333
+ Prefer high-impact, low-complexity improvements.
1334
+
1335
+ # 79. BREAK-EVEN TEST
1336
+
1337
+ If a complex design is only marginally better:
1338
+
1339
+ ```text
1340
+ choose the simpler design
1341
+ ```
1342
+
1343
+ unless strategic product value justifies the complexity.
1344
+
1345
+ # 80. REVERSIBLE DECISIONS
1346
+
1347
+ Some decisions are easy to change:
1348
+
1349
+ ```text
1350
+ spacing
1351
+ color
1352
+ radius
1353
+ copy
1354
+ ```
1355
+
1356
+ Others are expensive:
1357
+
1358
+ ```text
1359
+ navigation architecture
1360
+ data model
1361
+ component architecture
1362
+ native modules
1363
+ ```
1364
+
1365
+ Validate expensive decisions more carefully.
1366
+
1367
+ # 81. DECISION REVERSIBILITY
1368
+
1369
+ For expensive decisions:
1370
+
1371
+ ```text
1372
+ prototype
1373
+ test
1374
+ compare
1375
+ then commit
1376
+ ```
1377
+
1378
+ Do not over-engineer irreversible architecture based on assumptions.
1379
+
1380
+ # 82. PROTOTYPE FIRST
1381
+
1382
+ Prototype when:
1383
+
1384
+ ```text
1385
+ decision is high impact
1386
+ uncertainty is high
1387
+ implementation cost is high
1388
+ ```
1389
+
1390
+ A small prototype can prevent expensive rework.
1391
+
1392
+ # 83. USER TESTING
1393
+
1394
+ When evidence is uncertain, validate with real users.
1395
+
1396
+ Useful questions:
1397
+
1398
+ ```text
1399
+ What would you tap first?
1400
+
1401
+ Where would you expect this setting?
1402
+
1403
+ What do you think this button does?
1404
+
1405
+ How would you complete this task?
1406
+ ```
1407
+
1408
+ Avoid leading questions.
1409
+
1410
+ # 84. HEURISTIC EVIDENCE
1411
+
1412
+ Use:
1413
+
1414
+ ```text
1415
+ platform conventions
1416
+ design system
1417
+ existing product behavior
1418
+ accessibility guidance
1419
+ real user behavior
1420
+ ```
1421
+
1422
+ as evidence.
1423
+
1424
+ # 85. AVOID DESIGN DOGMA
1425
+
1426
+ Never say:
1427
+
1428
+ ```text
1429
+ Apple always does X
1430
+ ```
1431
+
1432
+ without evidence.
1433
+
1434
+ Patterns evolve.
1435
+
1436
+ Context matters.
1437
+
1438
+ # 86. APPLE-INSPIRED ≠ APPLE-COPIED
1439
+
1440
+ The target qualities are:
1441
+
1442
+ ```text
1443
+ clarity
1444
+ restraint
1445
+ hierarchy
1446
+ accessibility
1447
+ spatial consistency
1448
+ platform coherence
1449
+ responsiveness
1450
+ ```
1451
+
1452
+ not visual duplication.
1453
+
1454
+ # 87. DECISION MATRIX
1455
+
1456
+ Use this structure for major decisions:
1457
+
1458
+ ```text
1459
+ OPTION CLARITY SPEED ACCESS NATIVE COMPLEXITY SCORE
1460
+ A 5 4 5 5 4 ...
1461
+ B 4 5 4 3 2 ...
1462
+ C 3 3 5 4 5 ...
1463
+ ```
1464
+
1465
+ # 88. QUALITATIVE SUMMARY
1466
+
1467
+ After scoring:
1468
+
1469
+ ```text
1470
+ Best overall:
1471
+ Option A
1472
+
1473
+ Why:
1474
+ Strongest combination of clarity, accessibility,
1475
+ platform familiarity, and implementation feasibility.
1476
+
1477
+ Main trade-off:
1478
+ Requires slightly more vertical space.
1479
+ ```
1480
+
1481
+ # 89. DECISION OUTPUT
1482
+
1483
+ The agent should output:
1484
+
1485
+ ```text
1486
+ DESIGN DECISION
1487
+ ────────────────────────
1488
+
1489
+ Problem:
1490
+ ...
1491
+
1492
+ Context:
1493
+ ...
1494
+
1495
+ Options:
1496
+ A. ...
1497
+ B. ...
1498
+ C. ...
1499
+
1500
+ Constraints:
1501
+ ...
1502
+
1503
+ Criteria:
1504
+ ...
1505
+
1506
+ Recommendation:
1507
+ ...
1508
+
1509
+ Why:
1510
+ ...
1511
+
1512
+ Trade-offs:
1513
+ ...
1514
+
1515
+ Confidence:
1516
+ High / Medium / Low
1517
+
1518
+ Validation:
1519
+ ...
1520
+ ```
1521
+
1522
+ # 90. ALTERNATIVE OUTPUT
1523
+
1524
+ For rapid decisions:
1525
+
1526
+ ```text
1527
+ RECOMMENDATION:
1528
+ Option B
1529
+
1530
+ REASON:
1531
+ Best balance of task clarity, platform familiarity,
1532
+ accessibility, and implementation complexity.
1533
+
1534
+ TRADE-OFF:
1535
+ Slightly less visually distinctive than Option A.
1536
+
1537
+ CONFIDENCE:
1538
+ High
1539
+ ```
1540
+
1541
+ # 91. MULTI-CRITERIA REVIEW
1542
+
1543
+ For large decisions:
1544
+
1545
+ ```text
1546
+ User value
1547
+ Platform fit
1548
+ Accessibility
1549
+ Performance
1550
+ Complexity
1551
+ Consistency
1552
+ Scalability
1553
+ Visual quality
1554
+ ```
1555
+
1556
+ Evaluate all relevant dimensions.
1557
+
1558
+ # 92. TIE-BREAKER
1559
+
1560
+ If two options are equivalent:
1561
+
1562
+ Prefer the option that is:
1563
+
1564
+ ```text
1565
+ simpler
1566
+ more familiar
1567
+ more accessible
1568
+ more reversible
1569
+ more maintainable
1570
+ ```
1571
+
1572
+ in that order.
1573
+
1574
+ # 93. UNKNOWN INFORMATION
1575
+
1576
+ If critical information is missing:
1577
+
1578
+ ```text
1579
+ state the assumption
1580
+ ```
1581
+
1582
+ Do not invent facts.
1583
+
1584
+ # 94. ASSUMPTION FORMAT
1585
+
1586
+ Example:
1587
+
1588
+ ```text
1589
+ Assumption:
1590
+ This screen is primarily used for frequent playback control.
1591
+
1592
+ If playback control is occasional instead,
1593
+ the recommended architecture changes.
1594
+ ```
1595
+
1596
+ # 95. CONFLICTING REQUIREMENTS
1597
+
1598
+ When requirements conflict:
1599
+
1600
+ ```text
1601
+ 1. identify conflict
1602
+ 2. identify higher-priority requirement
1603
+ 3. explain trade-off
1604
+ 4. propose compromise
1605
+ ```
1606
+
1607
+ Example:
1608
+
1609
+ ```text
1610
+ Requirement A:
1611
+ Maximum information density.
1612
+
1613
+ Requirement B:
1614
+ Large accessibility text.
1615
+
1616
+ Resolution:
1617
+ Use adaptive layouts rather than shrinking typography.
1618
+ ```
1619
+
1620
+ # 96. DESIGN COMPROMISE
1621
+
1622
+ A compromise should not simply average two bad solutions.
1623
+
1624
+ Find a structural solution.
1625
+
1626
+ Example:
1627
+
1628
+ ```text
1629
+ Instead of:
1630
+ small text + dense layout
1631
+
1632
+ Use:
1633
+ responsive layout + preserved readable typography
1634
+ ```
1635
+
1636
+ # 97. DECISION VALIDATION
1637
+
1638
+ After implementation ask:
1639
+
1640
+ ```text
1641
+ Did task completion improve?
1642
+
1643
+ Did discoverability improve?
1644
+
1645
+ Did accessibility remain intact?
1646
+
1647
+ Did performance remain acceptable?
1648
+
1649
+ Did complexity increase unnecessarily?
1650
+ ```
1651
+
1652
+ A decision is not finished when it is implemented.
1653
+
1654
+ # 98. POST-IMPLEMENTATION REVIEW
1655
+
1656
+ ```text
1657
+ DESIGN
1658
+ ↓
1659
+ DECISION
1660
+ ↓
1661
+ IMPLEMENTATION
1662
+ ↓
1663
+ REAL DEVICE
1664
+ ↓
1665
+ TASK TEST
1666
+ ↓
1667
+ REVIEW
1668
+ ↓
1669
+ ADJUST
1670
+ ```
1671
+
1672
+ Never assume the design behaves exactly as expected in implementation.
1673
+
1674
+ # 99. REAL DEVICE VALIDATION
1675
+
1676
+ For mobile UI, prioritize:
1677
+
1678
+ ```text
1679
+ real touch
1680
+ real scrolling
1681
+ real keyboard
1682
+ real safe areas
1683
+ real text scaling
1684
+ real performance
1685
+ ```
1686
+
1687
+ over purely theoretical evaluation.
1688
+
1689
+ # 100. DESIGN DECISION ANTI-PATTERNS
1690
+
1691
+ Avoid:
1692
+
1693
+ ```text
1694
+ design by trend
1695
+ design by screenshot
1696
+ design by imitation
1697
+ design by personal preference
1698
+ design by component availability
1699
+ design by technical convenience
1700
+ ```
1701
+
1702
+ unless supported by actual requirements.
1703
+
1704
+ # 101. SCREENSHOT TRAP
1705
+
1706
+ A screenshot only shows:
1707
+
1708
+ ```text
1709
+ one state
1710
+ one device
1711
+ one content configuration
1712
+ ```
1713
+
1714
+ It does not reveal:
1715
+
1716
+ ```text
1717
+ interaction
1718
+ loading
1719
+ errors
1720
+ accessibility
1721
+ responsive behavior
1722
+ performance
1723
+ ```
1724
+
1725
+ Never evaluate the entire product from a screenshot alone.
1726
+
1727
+ # 102. COMPONENT TRAP
1728
+
1729
+ Do not design a screen around components merely because they already exist.
1730
+
1731
+ The user goal comes first.
1732
+
1733
+ # 103. TECHNICAL TRAP
1734
+
1735
+ Do not choose a poor UX simply because it is easier to implement.
1736
+
1737
+ Instead ask:
1738
+
1739
+ > Is there a simpler implementation that preserves the better experience?
1740
+
1741
+ # 104. DESIGNER BIAS
1742
+
1743
+ The agent must distinguish:
1744
+
1745
+ ```text
1746
+ personal aesthetic preference
1747
+ ```
1748
+
1749
+ from:
1750
+
1751
+ ```text
1752
+ user-centered evidence
1753
+ ```
1754
+
1755
+ .
1756
+
1757
+ # 105. DEVELOPER BIAS
1758
+
1759
+ Do not optimize everything for implementation convenience.
1760
+
1761
+ Engineering constraints matter, but so does user value.
1762
+
1763
+ # 106. PRODUCT BIAS
1764
+
1765
+ Do not let business goals destroy:
1766
+
1767
+ ```text
1768
+ clarity
1769
+ trust
1770
+ user control
1771
+ accessibility
1772
+ ```
1773
+
1774
+ .
1775
+
1776
+ # 107. TRUST
1777
+
1778
+ Interfaces should not use:
1779
+
1780
+ ```text
1781
+ dark patterns
1782
+ misleading hierarchy
1783
+ fake urgency
1784
+ ambiguous confirmations
1785
+ deceptive defaults
1786
+ ```
1787
+
1788
+ .
1789
+
1790
+ # 108. DESIGN ETHICS
1791
+
1792
+ The agent should favor:
1793
+
1794
+ ```text
1795
+ clear choices
1796
+ honest feedback
1797
+ easy recovery
1798
+ user control
1799
+ transparent consequences
1800
+ ```
1801
+
1802
+ .
1803
+
1804
+ # 109. FINAL DECISION PRINCIPLE
1805
+
1806
+ When uncertain, prefer the solution that:
1807
+
1808
+ ```text
1809
+ makes the user's goal clearer
1810
+ requires less explanation
1811
+ fits platform expectations
1812
+ works for more users
1813
+ creates fewer failure modes
1814
+ costs less to maintain
1815
+ ```
1816
+
1817
+ .
1818
+
1819
+ # 110. FINAL AGENT ALGORITHM
1820
+
1821
+ ```text
1822
+ INPUT
1823
+ ↓
1824
+ Understand user goal
1825
+ ↓
1826
+ Understand context
1827
+ ↓
1828
+ Identify constraints
1829
+ ↓
1830
+ Generate viable options
1831
+ ↓
1832
+ Remove invalid options
1833
+ ↓
1834
+ Define decision criteria
1835
+ ↓
1836
+ Weight criteria
1837
+ ↓
1838
+ Score options
1839
+ ↓
1840
+ Check qualitative exceptions
1841
+ ↓
1842
+ Evaluate trade-offs
1843
+ ↓
1844
+ Select recommendation
1845
+ ↓
1846
+ State confidence
1847
+ ↓
1848
+ Prototype if uncertainty is high
1849
+ ↓
1850
+ Validate on real device
1851
+ ↓
1852
+ Review outcome
1853
+ ↓
1854
+ UPDATE DESIGN SYSTEM
1855
+ ```
1856
+
1857
+ # 111. FINAL AGENT DIRECTIVE
1858
+
1859
+ The agent must never choose a design merely because:
1860
+
1861
+ ```text
1862
+ it looks modern
1863
+ it resembles Apple
1864
+ it is trendy
1865
+ it uses glass
1866
+ it uses gradients
1867
+ it uses animations
1868
+ it is technically easy
1869
+ ```
1870
+
1871
+ The agent chooses a design because:
1872
+
1873
+ ```text
1874
+ it solves the user's problem
1875
+ with the least unnecessary friction
1876
+ while maintaining clarity,
1877
+ accessibility,
1878
+ platform coherence,
1879
+ performance,
1880
+ and visual quality.
1881
+ ```
1882
+
1883
+