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,335 @@
1
+
2
+
3
+ ## File 57 — User Flows & Experience Architecture
4
+
5
+ This file should teach the agent to stop thinking in isolated screens and instead design the **complete experience from user intent → outcome**.
6
+
7
+ ### Core principle
8
+
9
+ > **A good screen solves a moment. A good flow solves a goal.**
10
+
11
+ The agent should reason:
12
+
13
+ ```text
14
+ USER GOAL
15
+ ↓
16
+ ENTRY POINT
17
+ ↓
18
+ CONTEXT
19
+ ↓
20
+ ACTION
21
+ ↓
22
+ FEEDBACK
23
+ ↓
24
+ NEXT DECISION
25
+ ↓
26
+ OUTCOME
27
+ ```
28
+
29
+ ### 1. User-goal analysis
30
+
31
+ Before designing anything, determine:
32
+
33
+ * Who is performing the action?
34
+ * What are they trying to accomplish?
35
+ * Why are they doing it?
36
+ * What information do they need?
37
+ * What decisions must they make?
38
+ * What could interrupt them?
39
+ * What does successful completion look like?
40
+
41
+ Avoid designing screens before understanding the underlying goal.
42
+
43
+ ---
44
+
45
+ ### 2. Flow architecture
46
+
47
+ Every significant feature should be mapped:
48
+
49
+ ```text
50
+ Entry
51
+ ↓
52
+ Orientation
53
+ ↓
54
+ Primary action
55
+ ↓
56
+ Input / selection
57
+ ↓
58
+ Processing
59
+ ↓
60
+ Confirmation
61
+ ↓
62
+ Result
63
+ ↓
64
+ Next logical action
65
+ ```
66
+
67
+ Include alternate paths:
68
+
69
+ ```text
70
+ Success
71
+ Failure
72
+ Cancel
73
+ Back
74
+ Retry
75
+ Timeout
76
+ Offline
77
+ Permission denied
78
+ Invalid input
79
+ Partial completion
80
+ Interrupted flow
81
+ ```
82
+
83
+ ---
84
+
85
+ ### 3. Information architecture
86
+
87
+ The agent should determine:
88
+
89
+ * What belongs together?
90
+ * What deserves primary navigation?
91
+ * What belongs in secondary navigation?
92
+ * What should be contextual?
93
+ * What should be hidden until needed?
94
+ * How deep should navigation go?
95
+ * Where should search replace navigation?
96
+ * Which content deserves persistent access?
97
+
98
+ The objective is **discoverability without unnecessary complexity**.
99
+
100
+ ---
101
+
102
+ ### 4. Navigation architecture
103
+
104
+ The agent should select navigation based on product structure rather than habit.
105
+
106
+ Evaluate:
107
+
108
+ * Tabs
109
+ * Stacks
110
+ * Drawers
111
+ * Modals
112
+ * Sheets
113
+ * Nested navigation
114
+ * Contextual navigation
115
+ * Search
116
+ * Deep links
117
+ * Back behavior
118
+ * Entry/exit points
119
+
120
+ For mobile:
121
+
122
+ ```text
123
+ Primary destinations
124
+ ↓
125
+ Secondary destinations
126
+ ↓
127
+ Contextual actions
128
+ ↓
129
+ Transient actions
130
+ ```
131
+
132
+ Each layer should have a clear responsibility.
133
+
134
+ ---
135
+
136
+ ### 5. User-flow states
137
+
138
+ A flow is never just:
139
+
140
+ ```text
141
+ Screen A → Screen B → Screen C
142
+ ```
143
+
144
+ It is closer to:
145
+
146
+ ```text
147
+ ┌── Success ──→ Completion
148
+ │
149
+ Start → Action ── Processing
150
+ │ │
151
+ │ └── Failure → Recovery
152
+ │
153
+ ├── Cancel → Previous state
154
+ │
155
+ └── Invalid → Correction
156
+ ```
157
+
158
+ The agent must design the **state transitions**, not just the screens.
159
+
160
+ ---
161
+
162
+ ### 6. Cognitive load
163
+
164
+ The agent should continuously minimize unnecessary:
165
+
166
+ * decisions
167
+ * navigation
168
+ * typing
169
+ * memorization
170
+ * context switching
171
+ * confirmations
172
+ * interruptions
173
+ * visual complexity
174
+
175
+ Prefer:
176
+
177
+ ```text
178
+ Progressive disclosure
179
+ Smart defaults
180
+ Recognition over recall
181
+ Contextual actions
182
+ Clear hierarchy
183
+ Predictable navigation
184
+ ```
185
+
186
+ ---
187
+
188
+ ### 7. Flow optimization
189
+
190
+ For an existing flow:
191
+
192
+ ```text
193
+ Measure
194
+ ↓
195
+ Find friction
196
+ ↓
197
+ Identify unnecessary steps
198
+ ↓
199
+ Remove / combine steps
200
+ ↓
201
+ Improve defaults
202
+ ↓
203
+ Improve feedback
204
+ ↓
205
+ Validate
206
+ ```
207
+
208
+ The shortest flow isn't automatically the best flow.
209
+
210
+ The objective is:
211
+
212
+ > **Minimum unnecessary effort while preserving clarity, control and trust.**
213
+
214
+ ---
215
+
216
+ ### 8. Critical-path design
217
+
218
+ The agent should identify the **happy path** first:
219
+
220
+ ```text
221
+ User enters
222
+ ↓
223
+ Understands
224
+ ↓
225
+ Acts
226
+ ↓
227
+ Succeeds
228
+ ```
229
+
230
+ Then deliberately design the deviations:
231
+
232
+ ```text
233
+ ┌─ Error
234
+ ├─ Cancel
235
+ ├─ Back
236
+ Happy Path ────┼─ Permission
237
+ ├─ Offline
238
+ ├─ Empty
239
+ └─ Interrupted
240
+ ```
241
+
242
+ This prevents edge cases from becoming afterthoughts.
243
+
244
+ ---
245
+
246
+ ### 9. Cross-screen continuity
247
+
248
+ A user's mental model must survive navigation.
249
+
250
+ The agent should preserve:
251
+
252
+ * context
253
+ * selected items
254
+ * filters
255
+ * search terms
256
+ * scroll position where appropriate
257
+ * progress
258
+ * navigation history
259
+ * expected back behavior
260
+ * visual language
261
+ * terminology
262
+
263
+ A new screen should feel like **the next step**, not another application.
264
+
265
+ ---
266
+
267
+ ### 10. Flow documentation
268
+
269
+ For complex features, the agent should produce:
270
+
271
+ ```text
272
+ FLOW NAME
273
+ User goal
274
+ Entry points
275
+ Preconditions
276
+ Primary path
277
+ Alternative paths
278
+ Error paths
279
+ State transitions
280
+ Screens involved
281
+ Actions
282
+ Data requirements
283
+ Navigation
284
+ Completion criteria
285
+ Recovery behavior
286
+ ```
287
+
288
+ This becomes an implementation blueprint.
289
+
290
+ ---
291
+
292
+ ### 11. Flow quality checklist
293
+
294
+ Before considering a flow complete:
295
+
296
+ ```text
297
+ □ User goal is clear
298
+ □ Entry point is obvious
299
+ □ Primary action is obvious
300
+ □ Navigation is predictable
301
+ □ Every action has feedback
302
+ □ Loading is handled
303
+ □ Errors are recoverable
304
+ □ Empty states are meaningful
305
+ □ Back behavior is correct
306
+ □ Cancel behavior is safe
307
+ □ Permissions are handled
308
+ □ Offline/interruption is considered
309
+ □ Completion is obvious
310
+ □ Next action is clear
311
+ □ No unnecessary steps remain
312
+ ```
313
+
314
+ ### File 57 operating principle
315
+
316
+ ```text
317
+ UNDERSTAND THE USER'S GOAL
318
+ ↓
319
+ MAP THE JOURNEY
320
+ ↓
321
+ STRUCTURE INFORMATION
322
+ ↓
323
+ DESIGN NAVIGATION
324
+ ↓
325
+ MODEL STATES
326
+ ↓
327
+ DESIGN THE HAPPY PATH
328
+ ↓
329
+ DESIGN EVERY IMPORTANT DEVIATION
330
+ ↓
331
+ REDUCE FRICTION
332
+ ↓
333
+ VALIDATE THE COMPLETE FLOW
334
+ ```
335
+