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,1470 @@
1
+ # Media & Content-Centric UI Patterns
2
+
3
+ > Advanced agent module for designing interfaces where the content itself is
4
+ > the primary product: music, video, images, documents, files, readers,
5
+ > galleries, libraries, and other content-heavy experiences.
6
+
7
+ Version: 1.0
8
+ Platform: iOS / iPadOS / React Native / Expo
9
+ Layer: Advanced product-pattern intelligence
10
+
11
+ ---
12
+
13
+ # 1. PURPOSE
14
+
15
+ Content-centric applications differ from ordinary CRUD applications.
16
+
17
+ The interface must get out of the way of the content.
18
+
19
+ Examples:
20
+
21
+ ```text id="g1q7pk"
22
+ Music player
23
+ Video player
24
+ Photo viewer
25
+ Document viewer
26
+ PDF reader
27
+ File manager
28
+ Gallery
29
+ Notes
30
+ E-book reader
31
+ Media library
32
+ Podcast application
33
+ ```
34
+
35
+ The agent should design the interface around:
36
+
37
+ ```text id="c2f8mz"
38
+ Content
39
+ Context
40
+ Controls
41
+ Navigation
42
+ State
43
+ Discovery
44
+ ```
45
+
46
+ rather than around generic cards and buttons.
47
+
48
+ ---
49
+
50
+ # 2. CONTENT-FIRST PRINCIPLE
51
+
52
+ Ask:
53
+
54
+ > What is the user actually here to consume, inspect, create, or manage?
55
+
56
+ Then allocate visual priority accordingly.
57
+
58
+ For a music player:
59
+
60
+ ```text id="f6p2x1"
61
+ Artwork
62
+ Track
63
+ Playback
64
+ ```
65
+
66
+ should dominate secondary settings.
67
+
68
+ For a document viewer:
69
+
70
+ ```text id="x4v8m3"
71
+ Document
72
+ Reading controls
73
+ Navigation
74
+ ```
75
+
76
+ should dominate application chrome.
77
+
78
+ ---
79
+
80
+ # 3. CONTENT HIERARCHY
81
+
82
+ Every content interface should distinguish:
83
+
84
+ ```text id="a6m2z9"
85
+ Primary content
86
+ Content identity
87
+ Metadata
88
+ Actions
89
+ Navigation
90
+ System state
91
+ ```
92
+
93
+ ---
94
+
95
+ # 4. CONTENT IDENTITY
96
+
97
+ Users should immediately understand what object they are viewing.
98
+
99
+ Examples:
100
+
101
+ ```text id="9k2f6r"
102
+ Song → title + artist
103
+ Video → title + thumbnail
104
+ File → filename + type
105
+ Document → title + document identity
106
+ Image → image itself
107
+ Note → title + content
108
+ ```
109
+
110
+ ---
111
+
112
+ # 5. CONTENT METADATA
113
+
114
+ Metadata should support recognition and decisions.
115
+
116
+ Do not display every available field merely because the database contains it.
117
+
118
+ ---
119
+
120
+ # 6. METADATA PRIORITY
121
+
122
+ Typical hierarchy:
123
+
124
+ ```text id="r5q1d7"
125
+ Primary identity
126
+ ↓
127
+ Important metadata
128
+ ↓
129
+ Secondary metadata
130
+ ↓
131
+ Technical metadata
132
+ ```
133
+
134
+ Technical information should usually remain accessible without dominating the
135
+ main experience.
136
+
137
+ ---
138
+
139
+ # 7. LIBRARIES
140
+
141
+ Libraries help users discover and organize content.
142
+
143
+ Common structures:
144
+
145
+ ```text id="m4p8x2"
146
+ All
147
+ Recent
148
+ Favorites
149
+ Downloaded
150
+ Playlists
151
+ Folders
152
+ Categories
153
+ ```
154
+
155
+ Use only the categories that meaningfully support the product.
156
+
157
+ ---
158
+
159
+ # 8. LIBRARY HOME
160
+
161
+ A library home should answer:
162
+
163
+ ```text id="s3y7n1"
164
+ What do I have?
165
+ What did I recently use?
166
+ What can I access quickly?
167
+ Where should I go next?
168
+ ```
169
+
170
+ ---
171
+
172
+ # 9. RECENT CONTENT
173
+
174
+ Recent content reduces navigation cost.
175
+
176
+ It should represent meaningful activity, not simply the last database records.
177
+
178
+ ---
179
+
180
+ # 10. FAVORITES
181
+
182
+ Favorites represent intentional user preference.
183
+
184
+ Do not automatically treat every recently accessed item as a favorite.
185
+
186
+ ---
187
+
188
+ # 11. COLLECTIONS
189
+
190
+ Collections group related content:
191
+
192
+ ```text id="x5v3b8"
193
+ Albums
194
+ Playlists
195
+ Folders
196
+ Projects
197
+ Bookshelves
198
+ Categories
199
+ ```
200
+
201
+ The grouping model should reflect the domain.
202
+
203
+ ---
204
+
205
+ # 12. LIST VS GRID FOR CONTENT
206
+
207
+ Use a list when users need:
208
+
209
+ ```text id="c7n4m2"
210
+ Names
211
+ Metadata
212
+ Sorting
213
+ Fast scanning
214
+ ```
215
+
216
+ Use a grid when visual recognition dominates:
217
+
218
+ ```text id="p8d2q5"
219
+ Artwork
220
+ Images
221
+ Thumbnails
222
+ Covers
223
+ ```
224
+
225
+ ---
226
+
227
+ # 13. VIEW SWITCHING
228
+
229
+ When both layouts are valuable, provide a clear view preference.
230
+
231
+ Preserve the user's chosen layout where appropriate.
232
+
233
+ ---
234
+
235
+ # 14. CONTENT SORTING
236
+
237
+ Sorting should reflect useful user questions:
238
+
239
+ ```text id="t8w4m1"
240
+ Name
241
+ Date
242
+ Recently added
243
+ Recently played
244
+ Size
245
+ Duration
246
+ Artist
247
+ ```
248
+
249
+ Do not expose meaningless technical fields as primary sorting options.
250
+
251
+ ---
252
+
253
+ # 15. FILTERING
254
+
255
+ Filters should reduce a large collection into a useful subset.
256
+
257
+ A filter should have:
258
+
259
+ ```text id="z1m7p4"
260
+ Clear label
261
+ Visible state
262
+ Easy reset
263
+ Predictable behavior
264
+ ```
265
+
266
+ ---
267
+
268
+ # 16. SEARCH
269
+
270
+ Search is essential when collections become large.
271
+
272
+ Search should support the user's mental model.
273
+
274
+ For music:
275
+
276
+ ```text id="q6v8k2"
277
+ Song
278
+ Artist
279
+ Album
280
+ Genre
281
+ ```
282
+
283
+ For files:
284
+
285
+ ```text id="w4r1n9"
286
+ Filename
287
+ Type
288
+ Location
289
+ ```
290
+
291
+ For documents:
292
+
293
+ ```text id="m2x5c7"
294
+ Title
295
+ Content
296
+ Metadata
297
+ ```
298
+
299
+ when supported.
300
+
301
+ ---
302
+
303
+ # 17. SEARCH RESULTS
304
+
305
+ Results should preserve context.
306
+
307
+ Display enough information to distinguish similar items.
308
+
309
+ ---
310
+
311
+ # 18. EMPTY LIBRARIES
312
+
313
+ An empty content library should not look broken.
314
+
315
+ Instead communicate:
316
+
317
+ ```text id="b5k8s3"
318
+ Why it is empty
319
+ What can be added
320
+ How to add it
321
+ ```
322
+
323
+ ---
324
+
325
+ # 19. EMPTY STATES
326
+
327
+ Examples:
328
+
329
+ ```text id="v1q9f4"
330
+ No music yet
331
+ No documents found
332
+ No favorites
333
+ No playlists
334
+ No downloaded files
335
+ ```
336
+
337
+ Each should provide an appropriate next action where useful.
338
+
339
+ ---
340
+
341
+ # 20. IMPORT FLOWS
342
+
343
+ Content-heavy applications often need import.
344
+
345
+ Typical flow:
346
+
347
+ ```text id="n6x3j8"
348
+ Import
349
+ ↓
350
+ Choose source
351
+ ↓
352
+ Select content
353
+ ↓
354
+ Process
355
+ ↓
356
+ Result
357
+ ```
358
+
359
+ ---
360
+
361
+ # 21. IMPORT PROGRESS
362
+
363
+ Long imports should expose meaningful progress.
364
+
365
+ For large batches:
366
+
367
+ ```text id="q8c4m2"
368
+ Items processed
369
+ Items remaining
370
+ Failures
371
+ ```
372
+
373
+ can be more useful than a generic spinner.
374
+
375
+ ---
376
+
377
+ # 22. IMPORT FAILURE
378
+
379
+ A failed import should identify:
380
+
381
+ ```text id="k3v6p1"
382
+ What failed
383
+ Why it failed if known
384
+ What succeeded
385
+ What can be retried
386
+ ```
387
+
388
+ ---
389
+
390
+ # 23. FILE MANAGERS
391
+
392
+ File interfaces require high information density without becoming cluttered.
393
+
394
+ A file row may contain:
395
+
396
+ ```text id="f7m2x9"
397
+ Icon
398
+ Filename
399
+ Type
400
+ Size/date
401
+ Status
402
+ Context actions
403
+ ```
404
+
405
+ ---
406
+
407
+ # 24. FILE TYPE VISUALIZATION
408
+
409
+ File identity should be quickly recognizable.
410
+
411
+ Use:
412
+
413
+ ```text id="s4k8n3"
414
+ Iconography
415
+ Extension
416
+ Thumbnail
417
+ Type label
418
+ ```
419
+
420
+ depending on content.
421
+
422
+ ---
423
+
424
+ # 25. FILE OPERATIONS
425
+
426
+ Common operations:
427
+
428
+ ```text id="r2v5q7"
429
+ Open
430
+ Share
431
+ Rename
432
+ Move
433
+ Copy
434
+ Delete
435
+ Favorite
436
+ Details
437
+ ```
438
+
439
+ Prioritize according to context.
440
+
441
+ ---
442
+
443
+ # 26. FILE CONTEXT MENUS
444
+
445
+ Context menus are useful for file operations because they preserve the browsing
446
+ surface.
447
+
448
+ ---
449
+
450
+ # 27. FILE SELECTION MODE
451
+
452
+ Multi-selection should clearly communicate:
453
+
454
+ ```text id="p1x6m4"
455
+ Selection count
456
+ Available bulk actions
457
+ Exit selection mode
458
+ ```
459
+
460
+ ---
461
+
462
+ # 28. BULK ACTIONS
463
+
464
+ Bulk actions should apply consistently across selected items.
465
+
466
+ Do not expose actions that only work on some items without explanation.
467
+
468
+ ---
469
+
470
+ # 29. FILE SORTING
471
+
472
+ File managers commonly need:
473
+
474
+ ```text id="m9v3t5"
475
+ Name
476
+ Modified
477
+ Size
478
+ Type
479
+ ```
480
+
481
+ and possibly other domain-specific criteria.
482
+
483
+ ---
484
+
485
+ # 30. FILE DETAILS
486
+
487
+ Technical details should be accessible without overwhelming ordinary browsing.
488
+
489
+ ---
490
+
491
+ # 31. MEDIA PLAYERS
492
+
493
+ A media player has multiple levels of controls.
494
+
495
+ ```text id="c5w8p2"
496
+ Primary:
497
+ Play / Pause
498
+
499
+ Secondary:
500
+ Previous / Next
501
+ Seek
502
+
503
+ Advanced:
504
+ Queue
505
+ Playback speed
506
+ Equalizer
507
+ Lyrics
508
+ Output
509
+ Repeat
510
+ Shuffle
511
+ ```
512
+
513
+ Do not expose all levels equally.
514
+
515
+ ---
516
+
517
+ # 32. NOW PLAYING
518
+
519
+ The now-playing interface should establish:
520
+
521
+ ```text id="g2m7x4"
522
+ What is playing
523
+ Playback state
524
+ Progress
525
+ Primary controls
526
+ ```
527
+
528
+ immediately.
529
+
530
+ ---
531
+
532
+ # 33. ARTWORK
533
+
534
+ Artwork can serve as the visual anchor.
535
+
536
+ It should receive enough space to establish content identity.
537
+
538
+ ---
539
+
540
+ # 34. PLAYBACK CONTROLS
541
+
542
+ The primary playback action should be visually dominant.
543
+
544
+ Secondary controls should not compete with it.
545
+
546
+ ---
547
+
548
+ # 35. PROGRESS
549
+
550
+ Playback progress should support:
551
+
552
+ ```text id="j8n4q3"
553
+ Current position
554
+ Duration
555
+ Seeking
556
+ ```
557
+
558
+ when supported.
559
+
560
+ ---
561
+
562
+ # 36. MINI PLAYER
563
+
564
+ A mini player provides persistent playback context while browsing.
565
+
566
+ It should communicate:
567
+
568
+ ```text id="t6r2m8"
569
+ Artwork
570
+ Track identity
571
+ Playback state
572
+ Quick control
573
+ ```
574
+
575
+ without occupying excessive space.
576
+
577
+ ---
578
+
579
+ # 37. QUEUE
580
+
581
+ The queue represents future playback state.
582
+
583
+ Users should be able to understand:
584
+
585
+ ```text id="q3m8x5"
586
+ Currently playing
587
+ Next item
588
+ Remaining items
589
+ ```
590
+
591
+ ---
592
+
593
+ # 38. QUEUE MANAGEMENT
594
+
595
+ Useful actions include:
596
+
597
+ ```text id="h7v4k1"
598
+ Play next
599
+ Add to queue
600
+ Remove
601
+ Reorder
602
+ Clear
603
+ ```
604
+
605
+ Actions should preserve the user's current playback state.
606
+
607
+ ---
608
+
609
+ # 39. PLAY NEXT VS ADD TO END
610
+
611
+ These represent different intentions.
612
+
613
+ ```text id="n8f2c5"
614
+ Play next
615
+ → high priority
616
+
617
+ Add to queue
618
+ → normal priority
619
+ ```
620
+
621
+ Do not merge them into one ambiguous action.
622
+
623
+ ---
624
+
625
+ # 40. SHUFFLE
626
+
627
+ Shuffle should communicate state clearly.
628
+
629
+ If shuffle is active, users should be able to recognize that without opening a
630
+ settings screen.
631
+
632
+ ---
633
+
634
+ # 41. REPEAT
635
+
636
+ Repeat states should be distinguishable when multiple modes exist:
637
+
638
+ ```text id="z4m7p2"
639
+ Off
640
+ Repeat all
641
+ Repeat one
642
+ ```
643
+
644
+ ---
645
+
646
+ # 42. PLAYBACK SPEED
647
+
648
+ Speed controls are especially relevant to:
649
+
650
+ ```text id="x9c5n3"
651
+ Podcasts
652
+ Lectures
653
+ Audiobooks
654
+ Video
655
+ Educational content
656
+ ```
657
+
658
+ ---
659
+
660
+ # 43. AUDIO OUTPUT
661
+
662
+ Output selection should clearly communicate the current destination when the
663
+ platform supports it.
664
+
665
+ ---
666
+
667
+ # 44. LYRICS
668
+
669
+ Lyrics are content.
670
+
671
+ They should not visually overwhelm playback controls.
672
+
673
+ ---
674
+
675
+ # 45. SYNCHRONIZED LYRICS
676
+
677
+ If synchronized lyrics exist:
678
+
679
+ ```text id="k6p3v8"
680
+ Current line
681
+ Upcoming lines
682
+ Scroll state
683
+ ```
684
+
685
+ should remain understandable.
686
+
687
+ ---
688
+
689
+ # 46. VIDEO PLAYERS
690
+
691
+ Video interfaces should prioritize content immersion.
692
+
693
+ Controls should appear contextually rather than permanently occupying the
694
+ screen.
695
+
696
+ ---
697
+
698
+ # 47. VIDEO CONTROLS
699
+
700
+ Core controls:
701
+
702
+ ```text id="r5x1m7"
703
+ Play/pause
704
+ Progress
705
+ Fullscreen
706
+ Playback navigation
707
+ ```
708
+
709
+ Secondary controls can appear on demand.
710
+
711
+ ---
712
+
713
+ # 48. AUTO-HIDING CONTROLS
714
+
715
+ Controls may disappear after inactivity.
716
+
717
+ The user should know how to reveal them again.
718
+
719
+ ---
720
+
721
+ # 49. FULLSCREEN
722
+
723
+ Fullscreen should preserve:
724
+
725
+ ```text id="b8n2q6"
726
+ Playback state
727
+ Position
728
+ Orientation where appropriate
729
+ Control accessibility
730
+ ```
731
+
732
+ ---
733
+
734
+ # 50. IMAGE VIEWERS
735
+
736
+ Image viewers should maximize visual content.
737
+
738
+ Typical interactions:
739
+
740
+ ```text id="y3v7m1"
741
+ Tap
742
+ Zoom
743
+ Pan
744
+ Swipe
745
+ Share
746
+ Save
747
+ Delete
748
+ ```
749
+
750
+ depending on context.
751
+
752
+ ---
753
+
754
+ # 51. IMAGE ZOOM
755
+
756
+ Zoom should feel direct and predictable.
757
+
758
+ Avoid unnecessary UI chrome while inspecting an image.
759
+
760
+ ---
761
+
762
+ # 52. IMAGE GALLERIES
763
+
764
+ Gallery navigation should preserve:
765
+
766
+ ```text id="c8x2m4"
767
+ Current position
768
+ Collection
769
+ Selection
770
+ ```
771
+
772
+ ---
773
+
774
+ # 53. DOCUMENT VIEWERS
775
+
776
+ Document viewers should prioritize readability.
777
+
778
+ Typical controls:
779
+
780
+ ```text id="p7m4x8"
781
+ Page navigation
782
+ Zoom
783
+ Search
784
+ Bookmarks
785
+ Share
786
+ Download
787
+ Display settings
788
+ ```
789
+
790
+ Expose secondary controls contextually.
791
+
792
+ ---
793
+
794
+ # 54. DOCUMENT READING
795
+
796
+ Reading interfaces should minimize distraction.
797
+
798
+ Content should dominate the visual hierarchy.
799
+
800
+ ---
801
+
802
+ # 55. DOCUMENT NAVIGATION
803
+
804
+ Useful navigation patterns include:
805
+
806
+ ```text id="v5q8m2"
807
+ Page number
808
+ Thumbnails
809
+ Outline
810
+ Search
811
+ Bookmarks
812
+ ```
813
+
814
+ depending on document type.
815
+
816
+ ---
817
+
818
+ # 56. PDF INTERFACE
819
+
820
+ A PDF viewer may need:
821
+
822
+ ```text id="n4x7c2"
823
+ Pages
824
+ Zoom
825
+ Search
826
+ Annotations
827
+ Sharing
828
+ Document information
829
+ ```
830
+
831
+ but not all controls should be visible simultaneously.
832
+
833
+ ---
834
+
835
+ # 57. TEXT DOCUMENTS
836
+
837
+ Text-heavy documents benefit from:
838
+
839
+ ```text id="k2m8r5"
840
+ Readable width
841
+ Strong typography
842
+ Line spacing
843
+ Search
844
+ Navigation
845
+ ```
846
+
847
+ ---
848
+
849
+ # 58. READING POSITION
850
+
851
+ Long-form content should preserve reading position where appropriate.
852
+
853
+ ---
854
+
855
+ # 59. CONTENT PROGRESS
856
+
857
+ For media and documents, progress can become a powerful navigation mechanism.
858
+
859
+ Examples:
860
+
861
+ ```text id="w6q3p9"
862
+ 45% through document
863
+ 32:14 in video
864
+ Chapter 4 of 12
865
+ ```
866
+
867
+ ---
868
+
869
+ # 60. RESUME EXPERIENCE
870
+
871
+ When reopening content:
872
+
873
+ ```text id="x8m5v2"
874
+ Resume
875
+ Restart
876
+ ```
877
+
878
+ may be appropriate depending on the product.
879
+
880
+ ---
881
+
882
+ # 61. CONTENT PRELOADING
883
+
884
+ Preload strategically.
885
+
886
+ Examples:
887
+
888
+ ```text id="m3k7p1"
889
+ Next image
890
+ Next page
891
+ Next media item
892
+ ```
893
+
894
+ The objective is responsiveness without excessive memory use.
895
+
896
+ ---
897
+
898
+ # 62. CONTENT LOADING
899
+
900
+ Use content-specific loading states.
901
+
902
+ Images:
903
+
904
+ ```text id="j4n8c2"
905
+ Placeholder → Image
906
+ ```
907
+
908
+ Documents:
909
+
910
+ ```text id="r7x3m5"
911
+ Loading → First page/content
912
+ ```
913
+
914
+ Media:
915
+
916
+ ```text id="p5v2k8"
917
+ Buffering → Playback
918
+ ```
919
+
920
+ ---
921
+
922
+ # 63. SKELETONS
923
+
924
+ Skeleton loading can help when the final layout is predictable.
925
+
926
+ Do not use skeletons for extremely short loading operations where they create
927
+ more visual noise than value.
928
+
929
+ ---
930
+
931
+ # 64. ERROR STATES
932
+
933
+ Content errors should identify the affected content.
934
+
935
+ Examples:
936
+
937
+ ```text id="g8m4q1"
938
+ Image unavailable
939
+ Document failed to load
940
+ Media cannot play
941
+ File is inaccessible
942
+ ```
943
+
944
+ ---
945
+
946
+ # 65. OFFLINE CONTENT
947
+
948
+ If content is available offline, communicate availability when it matters.
949
+
950
+ ---
951
+
952
+ # 66. DOWNLOAD STATES
953
+
954
+ A downloadable item may have states:
955
+
956
+ ```text id="c4x9m7"
957
+ Not downloaded
958
+ Downloading
959
+ Downloaded
960
+ Paused
961
+ Failed
962
+ Updating
963
+ ```
964
+
965
+ The interface should distinguish them.
966
+
967
+ ---
968
+
969
+ # 67. SYNC STATES
970
+
971
+ Synchronization may require:
972
+
973
+ ```text id="t7n3p5"
974
+ Synced
975
+ Syncing
976
+ Pending
977
+ Conflict
978
+ Failed
979
+ ```
980
+
981
+ Do not hide important synchronization problems.
982
+
983
+ ---
984
+
985
+ # 68. CONTENT CONFLICTS
986
+
987
+ If two versions exist, users need a comprehensible resolution path.
988
+
989
+ Avoid exposing database-level terminology without translation into user concepts.
990
+
991
+ ---
992
+
993
+ # 69. FAVORITES + CONTENT
994
+
995
+ Favorite state should be visible enough to understand but not visually dominate
996
+ the content.
997
+
998
+ ---
999
+
1000
+ # 70. SHARING
1001
+
1002
+ Sharing should operate on the current content context.
1003
+
1004
+ The user should not have to navigate away to locate the share action.
1005
+
1006
+ ---
1007
+
1008
+ # 71. CONTENT ACTION HIERARCHY
1009
+
1010
+ A content screen should distinguish:
1011
+
1012
+ ```text id="m8v3q2"
1013
+ Primary action
1014
+ Frequent actions
1015
+ Secondary actions
1016
+ Administrative actions
1017
+ Destructive actions
1018
+ ```
1019
+
1020
+ ---
1021
+
1022
+ # 72. CONTENT DETAILS
1023
+
1024
+ Technical metadata can live behind:
1025
+
1026
+ ```text id="x2k7m5"
1027
+ Info
1028
+ Details
1029
+ Properties
1030
+ ```
1031
+
1032
+ rather than occupying the primary content surface.
1033
+
1034
+ ---
1035
+
1036
+ # 73. CONTENT PREVIEWS
1037
+
1038
+ Preview interfaces should communicate:
1039
+
1040
+ ```text id="p4c8n6"
1041
+ Content identity
1042
+ Preview
1043
+ Available actions
1044
+ ```
1045
+
1046
+ quickly.
1047
+
1048
+ ---
1049
+
1050
+ # 74. CONTENT SELECTION
1051
+
1052
+ Selection mode should visually transform the interface enough to make the mode
1053
+ obvious.
1054
+
1055
+ ---
1056
+
1057
+ # 75. MULTI-SELECTION
1058
+
1059
+ Selection should support:
1060
+
1061
+ ```text id="j5n2x8"
1062
+ Select
1063
+ Deselect
1064
+ Select all
1065
+ Bulk actions
1066
+ ```
1067
+
1068
+ when useful.
1069
+
1070
+ ---
1071
+
1072
+ # 76. CONTENT REORDERING
1073
+
1074
+ For playlists, queues, lists, and collections:
1075
+
1076
+ ```text id="g3v7m1"
1077
+ Drag
1078
+ Drop
1079
+ Insertion feedback
1080
+ Updated order
1081
+ ```
1082
+
1083
+ should be understandable.
1084
+
1085
+ ---
1086
+
1087
+ # 77. DRAG AND DROP
1088
+
1089
+ On larger screens, drag-and-drop can become a major productivity interaction.
1090
+
1091
+ Provide visible drop feedback.
1092
+
1093
+ ---
1094
+
1095
+ # 78. CONTENT PREVIEW VS DETAIL
1096
+
1097
+ A preview should be lightweight.
1098
+
1099
+ A detail screen should support deeper inspection and action.
1100
+
1101
+ Do not turn every preview into a full navigation flow.
1102
+
1103
+ ---
1104
+
1105
+ # 79. CONTENT CONTEXT MENU
1106
+
1107
+ Context menus are especially useful for:
1108
+
1109
+ ```text id="w5m8q3"
1110
+ Files
1111
+ Media
1112
+ Documents
1113
+ Images
1114
+ Notes
1115
+ ```
1116
+
1117
+ because the content remains visible while actions are exposed.
1118
+
1119
+ ---
1120
+
1121
+ # 80. CONTENT ACTION DISCOVERY
1122
+
1123
+ If an action is important and frequently used, do not hide it exclusively behind
1124
+ a context menu.
1125
+
1126
+ ---
1127
+
1128
+ # 81. CONTENT EMPTY STATES
1129
+
1130
+ A useful empty state contains:
1131
+
1132
+ ```text id="r4x9p2"
1133
+ Explanation
1134
+ Cause
1135
+ Recommended action
1136
+ ```
1137
+
1138
+ where applicable.
1139
+
1140
+ ---
1141
+
1142
+ # 82. CONTENT ERROR RECOVERY
1143
+
1144
+ Prefer:
1145
+
1146
+ ```text id="n6c3v8"
1147
+ Retry
1148
+ Open alternative
1149
+ Download
1150
+ Refresh
1151
+ Remove invalid item
1152
+ ```
1153
+
1154
+ over simply displaying an error message.
1155
+
1156
+ ---
1157
+
1158
+ # 83. LARGE CONTENT COLLECTIONS
1159
+
1160
+ For thousands of items:
1161
+
1162
+ ```text id="m7p2x5"
1163
+ Virtualize
1164
+ Paginate where appropriate
1165
+ Search
1166
+ Filter
1167
+ Sort
1168
+ Index
1169
+ Lazy load
1170
+ ```
1171
+
1172
+ ---
1173
+
1174
+ # 84. PERFORMANCE
1175
+
1176
+ Content interfaces are often performance-sensitive because they may contain:
1177
+
1178
+ ```text id="q8v4n1"
1179
+ Images
1180
+ Audio
1181
+ Video
1182
+ Documents
1183
+ Large lists
1184
+ Thumbnails
1185
+ Metadata
1186
+ ```
1187
+
1188
+ ---
1189
+
1190
+ # 85. THUMBNAIL PERFORMANCE
1191
+
1192
+ Avoid loading full-resolution images when small thumbnails are sufficient.
1193
+
1194
+ ---
1195
+
1196
+ # 86. IMAGE MEMORY
1197
+
1198
+ Large image collections can cause memory pressure.
1199
+
1200
+ Use appropriate sizing, caching, and lifecycle management.
1201
+
1202
+ ---
1203
+
1204
+ # 87. MEDIA MEMORY
1205
+
1206
+ Do not unnecessarily decode or retain large media assets in memory.
1207
+
1208
+ ---
1209
+
1210
+ # 88. DOCUMENT MEMORY
1211
+
1212
+ Large documents should be rendered progressively where possible.
1213
+
1214
+ ---
1215
+
1216
+ # 89. LIST VIRTUALIZATION
1217
+
1218
+ Never assume a small test dataset represents real-world content volume.
1219
+
1220
+ Test with:
1221
+
1222
+ ```text id="h3m8q7"
1223
+ 100
1224
+ 1,000
1225
+ 10,000+
1226
+ ```
1227
+
1228
+ items where the application could realistically reach those scales.
1229
+
1230
+ ---
1231
+
1232
+ # 90. CONTENT RESPONSIVENESS
1233
+
1234
+ The first meaningful content should appear quickly.
1235
+
1236
+ Do not block the entire interface while secondary content loads.
1237
+
1238
+ ---
1239
+
1240
+ # 91. PROGRESSIVE CONTENT
1241
+
1242
+ Prefer:
1243
+
1244
+ ```text id="c5x7m2"
1245
+ Shell
1246
+ ↓
1247
+ Primary content
1248
+ ↓
1249
+ Metadata
1250
+ ↓
1251
+ Secondary content
1252
+ ```
1253
+
1254
+ when appropriate.
1255
+
1256
+ ---
1257
+
1258
+ # 92. CONTENT CACHE
1259
+
1260
+ Caching should improve responsiveness without displaying stale information
1261
+ indefinitely.
1262
+
1263
+ ---
1264
+
1265
+ # 93. STALE CONTENT
1266
+
1267
+ If content may be stale, distinguish:
1268
+
1269
+ ```text id="v8n2p5"
1270
+ Cached
1271
+ Updating
1272
+ Current
1273
+ Offline
1274
+ ```
1275
+
1276
+ where the distinction matters.
1277
+
1278
+ ---
1279
+
1280
+ # 94. CONTENT SECURITY
1281
+
1282
+ Sensitive content should not unintentionally leak through:
1283
+
1284
+ ```text id="x3m7q1"
1285
+ Previews
1286
+ Thumbnails
1287
+ Notifications
1288
+ Recent items
1289
+ Screenshots
1290
+ ```
1291
+
1292
+ ---
1293
+
1294
+ # 95. PRIVACY
1295
+
1296
+ Consider whether sensitive content should appear in:
1297
+
1298
+ ```text id="p6c4v8"
1299
+ App switcher previews
1300
+ Notifications
1301
+ Search suggestions
1302
+ Recent lists
1303
+ Widgets
1304
+ ```
1305
+
1306
+ ---
1307
+
1308
+ # 96. CONTENT ACCESS
1309
+
1310
+ If an item becomes unavailable because of permission changes, provide a useful
1311
+ explanation and recovery path.
1312
+
1313
+ ---
1314
+
1315
+ # 97. MEDIA SESSION
1316
+
1317
+ For audio applications, playback state should remain coherent across:
1318
+
1319
+ ```text id="m2x8q4"
1320
+ Player screen
1321
+ Mini player
1322
+ Queue
1323
+ System controls
1324
+ Notifications
1325
+ Lock screen
1326
+ ```
1327
+
1328
+ where supported by the platform.
1329
+
1330
+ ---
1331
+
1332
+ # 98. SINGLE SOURCE OF PLAYBACK STATE
1333
+
1334
+ Playback interfaces should derive from a shared playback state rather than each
1335
+ screen maintaining its own independent state.
1336
+
1337
+ ---
1338
+
1339
+ # 99. CONTENT STATE MACHINE
1340
+
1341
+ Complex media/content systems benefit from explicit states.
1342
+
1343
+ Example:
1344
+
1345
+ ```text id="j7n4c8"
1346
+ Idle
1347
+ ↓
1348
+ Loading
1349
+ ↓
1350
+ Ready
1351
+ ↓
1352
+ Playing
1353
+ ↓
1354
+ Paused
1355
+ ↓
1356
+ Completed
1357
+ ↓
1358
+ Error
1359
+ ```
1360
+
1361
+ ---
1362
+
1363
+ # 100. CONTENT UI STATE MACHINE
1364
+
1365
+ The interface should respond consistently to underlying state.
1366
+
1367
+ Never allow:
1368
+
1369
+ ```text id="f5m8x2"
1370
+ Player says paused
1371
+ while
1372
+ system playback is active
1373
+ ```
1374
+
1375
+ or equivalent contradictions.
1376
+
1377
+ ---
1378
+
1379
+ # 101. AGENT CONTENT DESIGN WORKFLOW
1380
+
1381
+ ```text id="q4v7n2"
1382
+ 1. Identify the content type
1383
+ 2. Identify the user's primary content task
1384
+ 3. Establish content hierarchy
1385
+ 4. Define metadata hierarchy
1386
+ 5. Select list/grid/detail patterns
1387
+ 6. Define search/filter/sort
1388
+ 7. Define content actions
1389
+ 8. Define loading states
1390
+ 9. Define error states
1391
+ 10. Define empty states
1392
+ 11. Define offline/sync states
1393
+ 12. Define selection and bulk operations
1394
+ 13. Define navigation
1395
+ 14. Define performance strategy
1396
+ 15. Define privacy behavior
1397
+ 16. Implement
1398
+ 17. Test with realistic content volumes
1399
+ 18. Audit
1400
+ ```
1401
+
1402
+ ---
1403
+
1404
+ # 102. CONTENT QUALITY GATE
1405
+
1406
+ ```text id="a6m9q3"
1407
+ [ ] Content is the visual priority
1408
+ [ ] Identity is immediately clear
1409
+ [ ] Metadata is appropriately prioritized
1410
+ [ ] Search works for large collections
1411
+ [ ] Filtering is understandable
1412
+ [ ] Sorting is contextual
1413
+ [ ] Empty states are useful
1414
+ [ ] Loading states are appropriate
1415
+ [ ] Errors provide recovery
1416
+ [ ] Selection mode is clear
1417
+ [ ] Bulk actions are coherent
1418
+ [ ] Content actions are discoverable
1419
+ [ ] Media controls have hierarchy
1420
+ [ ] Playback state is consistent
1421
+ [ ] Document reading is comfortable
1422
+ [ ] Images are optimized
1423
+ [ ] Large collections are virtualized
1424
+ [ ] Offline states are understandable
1425
+ [ ] Privacy is considered
1426
+ [ ] Content performance is acceptable
1427
+ ```
1428
+
1429
+ ---
1430
+
1431
+ # 103. PROJECT APPLICATION
1432
+
1433
+ When the agent works on a content-heavy application such as a music player,
1434
+ file manager, document viewer, image viewer, or media library, it should
1435
+ recognize that the **content is the product**.
1436
+
1437
+ The UI exists to:
1438
+
1439
+ ```text id="x7m3q8"
1440
+ Discover
1441
+ Understand
1442
+ Consume
1443
+ Control
1444
+ Organize
1445
+ Transform
1446
+ Share
1447
+ ```
1448
+
1449
+ that content.
1450
+
1451
+ ---
1452
+
1453
+ # 104. FINAL PRINCIPLE
1454
+
1455
+ The best content interface creates the feeling that:
1456
+
1457
+ > **The application disappears and the content takes over.**
1458
+
1459
+ Controls should appear when needed.
1460
+
1461
+ Navigation should remain understandable.
1462
+
1463
+ Metadata should support the content.
1464
+
1465
+ Visual polish should reinforce the experience.
1466
+
1467
+ Performance should make interaction feel immediate.
1468
+
1469
+ The interface is successful when users focus on what they came to the
1470
+ application to experience—not on the interface itself.