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.
- package/AGENTS.md +47 -0
- package/CHANGELOG.md +25 -0
- package/README.md +78 -0
- package/bin/cli.mjs +375 -0
- package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
- package/knowledge/android/accessibility.md +333 -0
- package/knowledge/android/components-controls.md +270 -0
- package/knowledge/android/material-design-3.md +174 -0
- package/knowledge/android/navigation-patterns.md +212 -0
- package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
- package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
- package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
- package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
- package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
- package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
- package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
- package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
- package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
- package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
- package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
- package/knowledge/apple/Interaction-behaviour.md +1378 -0
- package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
- package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
- package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
- package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
- package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
- package/knowledge/apple/Patterns-templates-composition.md +647 -0
- package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
- package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
- package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
- package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
- package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
- package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
- package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
- package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
- package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
- package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
- package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
- package/knowledge/apple/accessibility.md +2162 -0
- package/knowledge/apple/color.md +1933 -0
- package/knowledge/apple/component-architecture.md +2208 -0
- package/knowledge/apple/components.md +2172 -0
- package/knowledge/apple/design-decision-framework.md +1883 -0
- package/knowledge/apple/design-review-engine.md +2108 -0
- package/knowledge/apple/design-tokens.md +1943 -0
- package/knowledge/apple/designing-for-ios.md +1680 -0
- package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
- package/knowledge/apple/hig-foundation.md +1806 -0
- package/knowledge/apple/iconography.md +1903 -0
- package/knowledge/apple/interaction-patterns.md +2513 -0
- package/knowledge/apple/interaction.md +2141 -0
- package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
- package/knowledge/apple/ios-components-and-controls.md +1634 -0
- package/knowledge/apple/ios-components-patterns.md +1343 -0
- package/knowledge/apple/ios-design-system-architecture.md +1520 -0
- package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
- package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
- package/knowledge/apple/ios-forms-and-input.md +1458 -0
- package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
- package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
- package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
- package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
- package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
- package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
- package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
- package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
- package/knowledge/apple/ios-search-and-discovery.md +1456 -0
- package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
- package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
- package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
- package/knowledge/apple/layout.md +2331 -0
- package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
- package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
- package/knowledge/apple/motion-and-animation.md +1698 -0
- package/knowledge/apple/motion.md +2087 -0
- package/knowledge/apple/navigation.md +2281 -0
- package/knowledge/apple/responsive-adaptive.md +2159 -0
- package/knowledge/apple/screen-architecture.md +2067 -0
- package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
- package/knowledge/apple/typography.md +1802 -0
- package/knowledge/apple/ui-ux inteligence audit.md +106 -0
- package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
- package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
- package/knowledge/apple/visual-materials.md +2189 -0
- package/package.json +53 -0
- package/principles/design-principles.md +37 -0
- package/principles/platform-principles.md +25 -0
- package/principles/ux-principles.md +16 -0
- package/references/official-links.md +11 -0
- package/skills/accessibility-engineer/SKILL.md +125 -0
- package/skills/analytics-engineer/SKILL.md +283 -0
- package/skills/animation-engineer/SKILL.md +316 -0
- package/skills/component-designer/SKILL.md +75 -0
- package/skills/component-library-engineer/SKILL.md +140 -0
- package/skills/component-library-ops/SKILL.md +155 -0
- package/skills/design-system/SKILL.md +77 -0
- package/skills/design-token-engineer/SKILL.md +203 -0
- package/skills/design-token-pipeline/SKILL.md +277 -0
- package/skills/device-lab-engineer/SKILL.md +387 -0
- package/skills/forms-engineer/SKILL.md +79 -0
- package/skills/internationalization-engineer/SKILL.md +256 -0
- package/skills/motion-designer/SKILL.md +77 -0
- package/skills/native-data-fetching/SKILL.md +50 -0
- package/skills/navigation-architect/SKILL.md +65 -0
- package/skills/performance-engineer/SKILL.md +250 -0
- package/skills/platform-specialist/SKILL.md +95 -0
- package/skills/pre-release-gate/SKILL.md +75 -0
- package/skills/screen-designer/SKILL.md +117 -0
- package/skills/security-engineer/SKILL.md +375 -0
- package/skills/skills.json +134 -0
- package/skills/testing-auditor/SKILL.md +62 -0
- package/skills/ui-architect/SKILL.md +86 -0
- package/skills/ui-implementer/SKILL.md +188 -0
- package/skills/ux-architect/SKILL.md +49 -0
- package/skills/ux-auditor/SKILL.md +52 -0
- package/skills/visual-auditor/SKILL.md +71 -0
- package/templates/audit-report.md +29 -0
- package/templates/design-tokens.ts +33 -0
- package/templates/screen-spec.md +61 -0
- package/workflows/new-screen.md +17 -0
- package/workflows/pre-release.md +21 -0
- package/workflows/redesign.md +14 -0
- package/workflows/ui-audit.md +22 -0
|
@@ -0,0 +1,1210 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# File 75 — MASTER UI/UX ORCHESTRATOR
|
|
4
|
+
|
|
5
|
+
This is the file that turns **Files 1–74 from a library into an actual agentic system**.
|
|
6
|
+
|
|
7
|
+
> **The Master UI/UX Orchestrator is responsible for deciding what the UI/UX agent should think about, which skills it should invoke, in what order, how deeply it should reason, and how it should validate the final result.**
|
|
8
|
+
|
|
9
|
+
It should **not duplicate the knowledge contained in Files 1–74**. Instead, it coordinates them.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# 1. Purpose
|
|
14
|
+
|
|
15
|
+
The orchestrator acts as the agent's top-level operating system for UI/UX work.
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
USER REQUEST
|
|
19
|
+
↓
|
|
20
|
+
UNDERSTAND
|
|
21
|
+
↓
|
|
22
|
+
CLASSIFY
|
|
23
|
+
↓
|
|
24
|
+
PLAN
|
|
25
|
+
↓
|
|
26
|
+
SELECT SKILLS
|
|
27
|
+
↓
|
|
28
|
+
ANALYZE
|
|
29
|
+
↓
|
|
30
|
+
DESIGN
|
|
31
|
+
↓
|
|
32
|
+
IMPLEMENT / DIRECT
|
|
33
|
+
↓
|
|
34
|
+
VALIDATE
|
|
35
|
+
↓
|
|
36
|
+
CRITIQUE
|
|
37
|
+
↓
|
|
38
|
+
REFINE
|
|
39
|
+
↓
|
|
40
|
+
DELIVER
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The agent should never blindly jump from a request directly to implementation.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
# 2. Core mission
|
|
48
|
+
|
|
49
|
+
The agent must continuously optimize:
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
USER VALUE
|
|
53
|
+
+
|
|
54
|
+
USABILITY
|
|
55
|
+
+
|
|
56
|
+
CLARITY
|
|
57
|
+
+
|
|
58
|
+
ACCESSIBILITY
|
|
59
|
+
+
|
|
60
|
+
VISUAL QUALITY
|
|
61
|
+
+
|
|
62
|
+
PERFORMANCE
|
|
63
|
+
+
|
|
64
|
+
CONSISTENCY
|
|
65
|
+
+
|
|
66
|
+
IMPLEMENTABILITY
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
while minimizing:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
CONFUSION
|
|
73
|
+
+
|
|
74
|
+
FRICTION
|
|
75
|
+
+
|
|
76
|
+
UNNECESSARY COMPLEXITY
|
|
77
|
+
+
|
|
78
|
+
VISUAL NOISE
|
|
79
|
+
+
|
|
80
|
+
DUPLICATION
|
|
81
|
+
+
|
|
82
|
+
TECHNICAL DEBT
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
# 3. The orchestrator principle
|
|
88
|
+
|
|
89
|
+
The agent should think:
|
|
90
|
+
|
|
91
|
+
> **"Which skills are necessary for this problem?"**
|
|
92
|
+
|
|
93
|
+
rather than:
|
|
94
|
+
|
|
95
|
+
> **"Which file number should I use?"**
|
|
96
|
+
|
|
97
|
+
The file numbers are organizational.
|
|
98
|
+
|
|
99
|
+
The actual reasoning system is capability-based.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
# 4. Request classification
|
|
104
|
+
|
|
105
|
+
Every request should first be classified.
|
|
106
|
+
|
|
107
|
+
Possible categories:
|
|
108
|
+
|
|
109
|
+
```text
|
|
110
|
+
NEW DESIGN
|
|
111
|
+
REDESIGN
|
|
112
|
+
AUDIT
|
|
113
|
+
BUG FIX
|
|
114
|
+
UX IMPROVEMENT
|
|
115
|
+
FEATURE DESIGN
|
|
116
|
+
COMPONENT DESIGN
|
|
117
|
+
DESIGN SYSTEM
|
|
118
|
+
NAVIGATION
|
|
119
|
+
FORM
|
|
120
|
+
DATA INTERFACE
|
|
121
|
+
ANIMATION
|
|
122
|
+
ACCESSIBILITY
|
|
123
|
+
PERFORMANCE
|
|
124
|
+
RESPONSIVENESS
|
|
125
|
+
CROSS-PLATFORM
|
|
126
|
+
THEMING
|
|
127
|
+
PROTOTYPING
|
|
128
|
+
IMPLEMENTATION
|
|
129
|
+
REFACTORING
|
|
130
|
+
QA
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
A request can belong to multiple categories.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
# 5. Intent extraction
|
|
138
|
+
|
|
139
|
+
Extract:
|
|
140
|
+
|
|
141
|
+
```text
|
|
142
|
+
WHAT
|
|
143
|
+
WHY
|
|
144
|
+
WHO
|
|
145
|
+
WHERE
|
|
146
|
+
WHEN
|
|
147
|
+
CONSTRAINTS
|
|
148
|
+
PLATFORM
|
|
149
|
+
TECH STACK
|
|
150
|
+
CURRENT STATE
|
|
151
|
+
DESIRED STATE
|
|
152
|
+
SUCCESS CRITERIA
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Do not invent missing requirements unnecessarily.
|
|
156
|
+
|
|
157
|
+
Use reasonable assumptions when the missing information does not materially affect the result.
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
# 6. Context analysis
|
|
162
|
+
|
|
163
|
+
Before designing, determine:
|
|
164
|
+
|
|
165
|
+
```text
|
|
166
|
+
Existing product?
|
|
167
|
+
Existing design system?
|
|
168
|
+
Existing components?
|
|
169
|
+
Existing navigation?
|
|
170
|
+
Existing architecture?
|
|
171
|
+
Existing UX patterns?
|
|
172
|
+
Existing technical constraints?
|
|
173
|
+
Existing user expectations?
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Preserve good existing decisions instead of redesigning everything automatically.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
# 7. Skill selection
|
|
181
|
+
|
|
182
|
+
The orchestrator selects the minimum necessary skills.
|
|
183
|
+
|
|
184
|
+
Example:
|
|
185
|
+
|
|
186
|
+
```text
|
|
187
|
+
"Redesign this dashboard"
|
|
188
|
+
|
|
189
|
+
→ Information Architecture
|
|
190
|
+
→ Data-heavy UI
|
|
191
|
+
→ Visual Design System
|
|
192
|
+
→ Responsive Design
|
|
193
|
+
→ Accessibility
|
|
194
|
+
→ Performance
|
|
195
|
+
→ Interaction Design
|
|
196
|
+
→ QA
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Another request:
|
|
200
|
+
|
|
201
|
+
```text
|
|
202
|
+
"Make this button better"
|
|
203
|
+
|
|
204
|
+
→ Component Design
|
|
205
|
+
→ Interaction States
|
|
206
|
+
→ Accessibility
|
|
207
|
+
→ Visual System
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Do not activate every skill for every request.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
# 8. Skill composition
|
|
215
|
+
|
|
216
|
+
Skills can be chained.
|
|
217
|
+
|
|
218
|
+
Example:
|
|
219
|
+
|
|
220
|
+
```text
|
|
221
|
+
Research
|
|
222
|
+
↓
|
|
223
|
+
IA
|
|
224
|
+
↓
|
|
225
|
+
User Flow
|
|
226
|
+
↓
|
|
227
|
+
Wireframe
|
|
228
|
+
↓
|
|
229
|
+
Visual System
|
|
230
|
+
↓
|
|
231
|
+
Components
|
|
232
|
+
↓
|
|
233
|
+
Interaction
|
|
234
|
+
↓
|
|
235
|
+
Responsive
|
|
236
|
+
↓
|
|
237
|
+
Accessibility
|
|
238
|
+
↓
|
|
239
|
+
Performance
|
|
240
|
+
↓
|
|
241
|
+
QA
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
The orchestrator decides which stages are necessary.
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
# 9. Complexity assessment
|
|
249
|
+
|
|
250
|
+
Classify the task:
|
|
251
|
+
|
|
252
|
+
```text
|
|
253
|
+
LEVEL 1 — Micro
|
|
254
|
+
Small component adjustment
|
|
255
|
+
|
|
256
|
+
LEVEL 2 — Local
|
|
257
|
+
Single screen or feature
|
|
258
|
+
|
|
259
|
+
LEVEL 3 — Feature
|
|
260
|
+
Multiple screens/components
|
|
261
|
+
|
|
262
|
+
LEVEL 4 — System
|
|
263
|
+
Design system/navigation architecture
|
|
264
|
+
|
|
265
|
+
LEVEL 5 — Product
|
|
266
|
+
Major redesign or application architecture
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
The larger the task, the deeper the orchestration.
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
# 10. Risk assessment
|
|
274
|
+
|
|
275
|
+
Identify risks:
|
|
276
|
+
|
|
277
|
+
```text
|
|
278
|
+
UX risk
|
|
279
|
+
Accessibility risk
|
|
280
|
+
Technical risk
|
|
281
|
+
Performance risk
|
|
282
|
+
Data risk
|
|
283
|
+
Navigation risk
|
|
284
|
+
State-management risk
|
|
285
|
+
Platform risk
|
|
286
|
+
Visual consistency risk
|
|
287
|
+
Regression risk
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
High-risk areas receive additional validation.
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
# 11. Design-first reasoning
|
|
295
|
+
|
|
296
|
+
For new features:
|
|
297
|
+
|
|
298
|
+
```text
|
|
299
|
+
Problem
|
|
300
|
+
↓
|
|
301
|
+
User goal
|
|
302
|
+
↓
|
|
303
|
+
Flow
|
|
304
|
+
↓
|
|
305
|
+
Information hierarchy
|
|
306
|
+
↓
|
|
307
|
+
Interaction model
|
|
308
|
+
↓
|
|
309
|
+
Visual design
|
|
310
|
+
↓
|
|
311
|
+
Implementation
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Don't start with components before understanding the user's task.
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
# 12. Existing UI reasoning
|
|
319
|
+
|
|
320
|
+
When redesigning an existing interface:
|
|
321
|
+
|
|
322
|
+
```text
|
|
323
|
+
CURRENT UI
|
|
324
|
+
↓
|
|
325
|
+
AUDIT
|
|
326
|
+
↓
|
|
327
|
+
IDENTIFY PROBLEMS
|
|
328
|
+
↓
|
|
329
|
+
PRESERVE STRENGTHS
|
|
330
|
+
↓
|
|
331
|
+
REDESIGN WEAKNESSES
|
|
332
|
+
↓
|
|
333
|
+
COMPARE
|
|
334
|
+
↓
|
|
335
|
+
VALIDATE
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
Avoid redesigning purely for novelty.
|
|
339
|
+
|
|
340
|
+
---
|
|
341
|
+
|
|
342
|
+
# 13. Evidence hierarchy
|
|
343
|
+
|
|
344
|
+
When making decisions, prioritize:
|
|
345
|
+
|
|
346
|
+
```text
|
|
347
|
+
User requirements
|
|
348
|
+
↓
|
|
349
|
+
Platform conventions
|
|
350
|
+
↓
|
|
351
|
+
Existing product patterns
|
|
352
|
+
↓
|
|
353
|
+
Design-system rules
|
|
354
|
+
↓
|
|
355
|
+
Accessibility requirements
|
|
356
|
+
↓
|
|
357
|
+
Performance constraints
|
|
358
|
+
↓
|
|
359
|
+
Established UX patterns
|
|
360
|
+
↓
|
|
361
|
+
Aesthetic preference
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
Aesthetic preference should not override usability.
|
|
365
|
+
|
|
366
|
+
---
|
|
367
|
+
|
|
368
|
+
# 14. Constraint hierarchy
|
|
369
|
+
|
|
370
|
+
When constraints conflict:
|
|
371
|
+
|
|
372
|
+
```text
|
|
373
|
+
Safety / correctness
|
|
374
|
+
↓
|
|
375
|
+
User task completion
|
|
376
|
+
↓
|
|
377
|
+
Accessibility
|
|
378
|
+
↓
|
|
379
|
+
Platform requirements
|
|
380
|
+
↓
|
|
381
|
+
Performance
|
|
382
|
+
↓
|
|
383
|
+
Consistency
|
|
384
|
+
↓
|
|
385
|
+
Visual preference
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
The exact priority may change depending on the product.
|
|
389
|
+
|
|
390
|
+
The important rule is:
|
|
391
|
+
|
|
392
|
+
> **Do not sacrifice fundamental usability for visual polish.**
|
|
393
|
+
|
|
394
|
+
---
|
|
395
|
+
|
|
396
|
+
# 15. Decision engine
|
|
397
|
+
|
|
398
|
+
For significant decisions:
|
|
399
|
+
|
|
400
|
+
```text
|
|
401
|
+
OPTION A
|
|
402
|
+
OPTION B
|
|
403
|
+
OPTION C
|
|
404
|
+
↓
|
|
405
|
+
Evaluate
|
|
406
|
+
↓
|
|
407
|
+
User value
|
|
408
|
+
Complexity
|
|
409
|
+
Consistency
|
|
410
|
+
Accessibility
|
|
411
|
+
Performance
|
|
412
|
+
Maintainability
|
|
413
|
+
Platform fit
|
|
414
|
+
↓
|
|
415
|
+
Choose
|
|
416
|
+
↓
|
|
417
|
+
Explain rationale
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
Avoid presenting arbitrary alternatives without reasoning.
|
|
421
|
+
|
|
422
|
+
---
|
|
423
|
+
|
|
424
|
+
# 16. Progressive reasoning
|
|
425
|
+
|
|
426
|
+
The agent should not over-engineer simple tasks.
|
|
427
|
+
|
|
428
|
+
```text
|
|
429
|
+
Simple task
|
|
430
|
+
→ Simple reasoning
|
|
431
|
+
|
|
432
|
+
Complex task
|
|
433
|
+
→ Deep reasoning
|
|
434
|
+
|
|
435
|
+
System task
|
|
436
|
+
→ Architecture-level reasoning
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
The goal is **appropriate depth**, not maximum complexity.
|
|
440
|
+
|
|
441
|
+
---
|
|
442
|
+
|
|
443
|
+
# 17. Screen-level orchestration
|
|
444
|
+
|
|
445
|
+
For a screen, evaluate:
|
|
446
|
+
|
|
447
|
+
```text
|
|
448
|
+
Purpose
|
|
449
|
+
↓
|
|
450
|
+
Primary user task
|
|
451
|
+
↓
|
|
452
|
+
Information hierarchy
|
|
453
|
+
↓
|
|
454
|
+
Navigation
|
|
455
|
+
↓
|
|
456
|
+
Content
|
|
457
|
+
↓
|
|
458
|
+
Actions
|
|
459
|
+
↓
|
|
460
|
+
States
|
|
461
|
+
↓
|
|
462
|
+
Responsive behavior
|
|
463
|
+
↓
|
|
464
|
+
Accessibility
|
|
465
|
+
↓
|
|
466
|
+
Performance
|
|
467
|
+
↓
|
|
468
|
+
Visual polish
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
---
|
|
472
|
+
|
|
473
|
+
# 18. Component-level orchestration
|
|
474
|
+
|
|
475
|
+
For a component:
|
|
476
|
+
|
|
477
|
+
```text
|
|
478
|
+
Purpose
|
|
479
|
+
↓
|
|
480
|
+
Inputs
|
|
481
|
+
↓
|
|
482
|
+
States
|
|
483
|
+
↓
|
|
484
|
+
Interactions
|
|
485
|
+
↓
|
|
486
|
+
Feedback
|
|
487
|
+
↓
|
|
488
|
+
Accessibility
|
|
489
|
+
↓
|
|
490
|
+
Responsive behavior
|
|
491
|
+
↓
|
|
492
|
+
Variants
|
|
493
|
+
↓
|
|
494
|
+
Implementation
|
|
495
|
+
↓
|
|
496
|
+
Testing
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
---
|
|
500
|
+
|
|
501
|
+
# 19. Feature-level orchestration
|
|
502
|
+
|
|
503
|
+
For a feature:
|
|
504
|
+
|
|
505
|
+
```text
|
|
506
|
+
User problem
|
|
507
|
+
↓
|
|
508
|
+
Entry point
|
|
509
|
+
↓
|
|
510
|
+
Flow
|
|
511
|
+
↓
|
|
512
|
+
Screens
|
|
513
|
+
↓
|
|
514
|
+
Components
|
|
515
|
+
↓
|
|
516
|
+
Data
|
|
517
|
+
↓
|
|
518
|
+
States
|
|
519
|
+
↓
|
|
520
|
+
Errors
|
|
521
|
+
↓
|
|
522
|
+
Loading
|
|
523
|
+
↓
|
|
524
|
+
Offline
|
|
525
|
+
↓
|
|
526
|
+
Accessibility
|
|
527
|
+
↓
|
|
528
|
+
Performance
|
|
529
|
+
↓
|
|
530
|
+
Analytics / observability
|
|
531
|
+
↓
|
|
532
|
+
QA
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
---
|
|
536
|
+
|
|
537
|
+
# 20. Product-level orchestration
|
|
538
|
+
|
|
539
|
+
For an entire product:
|
|
540
|
+
|
|
541
|
+
```text
|
|
542
|
+
Product goals
|
|
543
|
+
↓
|
|
544
|
+
Information architecture
|
|
545
|
+
↓
|
|
546
|
+
Navigation
|
|
547
|
+
↓
|
|
548
|
+
Design system
|
|
549
|
+
↓
|
|
550
|
+
Core flows
|
|
551
|
+
↓
|
|
552
|
+
Feature architecture
|
|
553
|
+
↓
|
|
554
|
+
Cross-platform strategy
|
|
555
|
+
↓
|
|
556
|
+
Accessibility
|
|
557
|
+
↓
|
|
558
|
+
Performance
|
|
559
|
+
↓
|
|
560
|
+
Consistency
|
|
561
|
+
↓
|
|
562
|
+
QA
|
|
563
|
+
↓
|
|
564
|
+
Evolution
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
---
|
|
568
|
+
|
|
569
|
+
# 21. State completeness
|
|
570
|
+
|
|
571
|
+
Before considering a feature complete, the orchestrator should ask:
|
|
572
|
+
|
|
573
|
+
```text
|
|
574
|
+
Default?
|
|
575
|
+
Loading?
|
|
576
|
+
Success?
|
|
577
|
+
Empty?
|
|
578
|
+
Error?
|
|
579
|
+
Disabled?
|
|
580
|
+
Offline?
|
|
581
|
+
Partial?
|
|
582
|
+
Permission denied?
|
|
583
|
+
Unauthorized?
|
|
584
|
+
Expired?
|
|
585
|
+
Retry?
|
|
586
|
+
Cancelled?
|
|
587
|
+
Interrupted?
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
Not every feature requires every state.
|
|
591
|
+
|
|
592
|
+
But every relevant state must be considered.
|
|
593
|
+
|
|
594
|
+
---
|
|
595
|
+
|
|
596
|
+
# 22. Edge-case orchestration
|
|
597
|
+
|
|
598
|
+
The agent should actively search for:
|
|
599
|
+
|
|
600
|
+
```text
|
|
601
|
+
Zero items
|
|
602
|
+
One item
|
|
603
|
+
Many items
|
|
604
|
+
Huge data
|
|
605
|
+
Long text
|
|
606
|
+
Missing data
|
|
607
|
+
Invalid data
|
|
608
|
+
Slow network
|
|
609
|
+
Offline
|
|
610
|
+
Repeated actions
|
|
611
|
+
Rapid taps
|
|
612
|
+
Back navigation
|
|
613
|
+
Orientation changes
|
|
614
|
+
Permission denial
|
|
615
|
+
Session expiration
|
|
616
|
+
Unexpected failure
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
---
|
|
620
|
+
|
|
621
|
+
# 23. Design-system enforcement
|
|
622
|
+
|
|
623
|
+
Every generated interface should reuse:
|
|
624
|
+
|
|
625
|
+
```text
|
|
626
|
+
Tokens
|
|
627
|
+
Components
|
|
628
|
+
Patterns
|
|
629
|
+
Spacing
|
|
630
|
+
Typography
|
|
631
|
+
Colors
|
|
632
|
+
Interaction conventions
|
|
633
|
+
Navigation conventions
|
|
634
|
+
```
|
|
635
|
+
|
|
636
|
+
when they already exist.
|
|
637
|
+
|
|
638
|
+
The agent should extend the system when necessary rather than bypassing it.
|
|
639
|
+
|
|
640
|
+
---
|
|
641
|
+
|
|
642
|
+
# 24. New component decision
|
|
643
|
+
|
|
644
|
+
Before creating a new component:
|
|
645
|
+
|
|
646
|
+
```text
|
|
647
|
+
Does an existing component solve this?
|
|
648
|
+
↓
|
|
649
|
+
YES → reuse
|
|
650
|
+
↓
|
|
651
|
+
NO
|
|
652
|
+
↓
|
|
653
|
+
Can an existing component be extended?
|
|
654
|
+
↓
|
|
655
|
+
YES → extend
|
|
656
|
+
↓
|
|
657
|
+
NO
|
|
658
|
+
↓
|
|
659
|
+
Create new component
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
This prevents component explosion.
|
|
663
|
+
|
|
664
|
+
---
|
|
665
|
+
|
|
666
|
+
# 25. New token decision
|
|
667
|
+
|
|
668
|
+
Before adding a token:
|
|
669
|
+
|
|
670
|
+
```text
|
|
671
|
+
Is this value repeated?
|
|
672
|
+
Is it semantic?
|
|
673
|
+
Does it represent a real design decision?
|
|
674
|
+
Will it improve consistency?
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
If not, don't create a token unnecessarily.
|
|
678
|
+
|
|
679
|
+
---
|
|
680
|
+
|
|
681
|
+
# 26. Navigation decision
|
|
682
|
+
|
|
683
|
+
Before adding navigation:
|
|
684
|
+
|
|
685
|
+
```text
|
|
686
|
+
Is this a new destination?
|
|
687
|
+
A temporary state?
|
|
688
|
+
A modal?
|
|
689
|
+
A contextual action?
|
|
690
|
+
A detail view?
|
|
691
|
+
A workflow?
|
|
692
|
+
```
|
|
693
|
+
|
|
694
|
+
Don't turn every interaction into another screen.
|
|
695
|
+
|
|
696
|
+
---
|
|
697
|
+
|
|
698
|
+
# 27. Interaction decision
|
|
699
|
+
|
|
700
|
+
Before adding a gesture or animation:
|
|
701
|
+
|
|
702
|
+
```text
|
|
703
|
+
What does it communicate?
|
|
704
|
+
What does it improve?
|
|
705
|
+
Is it discoverable?
|
|
706
|
+
Is there an alternative?
|
|
707
|
+
Does it affect accessibility?
|
|
708
|
+
Does it affect performance?
|
|
709
|
+
```
|
|
710
|
+
|
|
711
|
+
If the answer is weak, remove it.
|
|
712
|
+
|
|
713
|
+
---
|
|
714
|
+
|
|
715
|
+
# 28. Visual decision
|
|
716
|
+
|
|
717
|
+
Before adding visual decoration:
|
|
718
|
+
|
|
719
|
+
```text
|
|
720
|
+
Does it improve hierarchy?
|
|
721
|
+
Does it communicate state?
|
|
722
|
+
Does it reinforce brand?
|
|
723
|
+
Does it improve orientation?
|
|
724
|
+
```
|
|
725
|
+
|
|
726
|
+
If it only adds noise:
|
|
727
|
+
|
|
728
|
+
```text
|
|
729
|
+
REMOVE IT.
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
---
|
|
733
|
+
|
|
734
|
+
# 29. Implementation awareness
|
|
735
|
+
|
|
736
|
+
The orchestrator should remain aware of the target stack.
|
|
737
|
+
|
|
738
|
+
For example:
|
|
739
|
+
|
|
740
|
+
```text
|
|
741
|
+
React Native
|
|
742
|
+
Expo
|
|
743
|
+
TypeScript
|
|
744
|
+
NativeWind
|
|
745
|
+
React Navigation / Expo Router
|
|
746
|
+
```
|
|
747
|
+
|
|
748
|
+
The design must be implementable within the actual technology constraints.
|
|
749
|
+
|
|
750
|
+
Don't produce beautiful concepts that require impossible architecture without acknowledging the implication.
|
|
751
|
+
|
|
752
|
+
---
|
|
753
|
+
|
|
754
|
+
# 30. Platform orchestration
|
|
755
|
+
|
|
756
|
+
For cross-platform products:
|
|
757
|
+
|
|
758
|
+
```text
|
|
759
|
+
Shared
|
|
760
|
+
↓
|
|
761
|
+
Design language
|
|
762
|
+
↓
|
|
763
|
+
Tokens
|
|
764
|
+
↓
|
|
765
|
+
Core components
|
|
766
|
+
↓
|
|
767
|
+
Platform-specific behavior
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
The agent should share what can be shared while respecting platform conventions.
|
|
771
|
+
|
|
772
|
+
---
|
|
773
|
+
|
|
774
|
+
# 31. Accessibility gate
|
|
775
|
+
|
|
776
|
+
Before delivery:
|
|
777
|
+
|
|
778
|
+
```text
|
|
779
|
+
Perceivable?
|
|
780
|
+
Operable?
|
|
781
|
+
Understandable?
|
|
782
|
+
Assistive technology compatible?
|
|
783
|
+
Keyboard compatible where relevant?
|
|
784
|
+
Text scaling?
|
|
785
|
+
Contrast?
|
|
786
|
+
Motion?
|
|
787
|
+
Focus?
|
|
788
|
+
Labels?
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
If accessibility is compromised, the design is not finished.
|
|
792
|
+
|
|
793
|
+
---
|
|
794
|
+
|
|
795
|
+
# 32. Performance gate
|
|
796
|
+
|
|
797
|
+
Check:
|
|
798
|
+
|
|
799
|
+
```text
|
|
800
|
+
Startup
|
|
801
|
+
Rendering
|
|
802
|
+
Lists
|
|
803
|
+
Images
|
|
804
|
+
Animations
|
|
805
|
+
Network
|
|
806
|
+
Memory
|
|
807
|
+
Battery
|
|
808
|
+
```
|
|
809
|
+
|
|
810
|
+
Optimize the actual bottleneck rather than blindly applying performance techniques.
|
|
811
|
+
|
|
812
|
+
---
|
|
813
|
+
|
|
814
|
+
# 33. Responsive gate
|
|
815
|
+
|
|
816
|
+
Check:
|
|
817
|
+
|
|
818
|
+
```text
|
|
819
|
+
Small screen
|
|
820
|
+
Large screen
|
|
821
|
+
Portrait
|
|
822
|
+
Landscape
|
|
823
|
+
Touch
|
|
824
|
+
Pointer
|
|
825
|
+
Keyboard
|
|
826
|
+
Safe areas
|
|
827
|
+
Dynamic text
|
|
828
|
+
```
|
|
829
|
+
|
|
830
|
+
The interface should adapt intentionally.
|
|
831
|
+
|
|
832
|
+
---
|
|
833
|
+
|
|
834
|
+
# 34. Interaction gate
|
|
835
|
+
|
|
836
|
+
Check:
|
|
837
|
+
|
|
838
|
+
```text
|
|
839
|
+
Feedback
|
|
840
|
+
States
|
|
841
|
+
Transitions
|
|
842
|
+
Errors
|
|
843
|
+
Loading
|
|
844
|
+
Retry
|
|
845
|
+
Cancellation
|
|
846
|
+
Undo
|
|
847
|
+
Interruption
|
|
848
|
+
Rapid interaction
|
|
849
|
+
```
|
|
850
|
+
|
|
851
|
+
---
|
|
852
|
+
|
|
853
|
+
# 35. Visual gate
|
|
854
|
+
|
|
855
|
+
Check:
|
|
856
|
+
|
|
857
|
+
```text
|
|
858
|
+
Hierarchy
|
|
859
|
+
Spacing
|
|
860
|
+
Typography
|
|
861
|
+
Color
|
|
862
|
+
Contrast
|
|
863
|
+
Alignment
|
|
864
|
+
Consistency
|
|
865
|
+
Brand
|
|
866
|
+
Density
|
|
867
|
+
Whitespace
|
|
868
|
+
```
|
|
869
|
+
|
|
870
|
+
---
|
|
871
|
+
|
|
872
|
+
# 36. Final critique
|
|
873
|
+
|
|
874
|
+
Before delivery, the agent should switch from:
|
|
875
|
+
|
|
876
|
+
```text
|
|
877
|
+
CREATOR
|
|
878
|
+
```
|
|
879
|
+
|
|
880
|
+
to:
|
|
881
|
+
|
|
882
|
+
```text
|
|
883
|
+
CRITIC
|
|
884
|
+
```
|
|
885
|
+
|
|
886
|
+
and ask:
|
|
887
|
+
|
|
888
|
+
```text
|
|
889
|
+
What feels confusing?
|
|
890
|
+
What feels unnecessary?
|
|
891
|
+
What feels inconsistent?
|
|
892
|
+
What could fail?
|
|
893
|
+
What could frustrate users?
|
|
894
|
+
What is visually noisy?
|
|
895
|
+
What is technically expensive?
|
|
896
|
+
What is inaccessible?
|
|
897
|
+
What would a first-time user misunderstand?
|
|
898
|
+
```
|
|
899
|
+
|
|
900
|
+
Then revise.
|
|
901
|
+
|
|
902
|
+
---
|
|
903
|
+
|
|
904
|
+
# 37. The 3-pass model
|
|
905
|
+
|
|
906
|
+
Every meaningful design task should use:
|
|
907
|
+
|
|
908
|
+
### Pass 1 — Functional
|
|
909
|
+
|
|
910
|
+
```text
|
|
911
|
+
Does it work?
|
|
912
|
+
```
|
|
913
|
+
|
|
914
|
+
### Pass 2 — Usable
|
|
915
|
+
|
|
916
|
+
```text
|
|
917
|
+
Is it understandable and efficient?
|
|
918
|
+
```
|
|
919
|
+
|
|
920
|
+
### Pass 3 — Exceptional
|
|
921
|
+
|
|
922
|
+
```text
|
|
923
|
+
Is it polished, coherent, delightful, and robust?
|
|
924
|
+
```
|
|
925
|
+
|
|
926
|
+
Do not jump directly to Pass 3.
|
|
927
|
+
|
|
928
|
+
---
|
|
929
|
+
|
|
930
|
+
# 38. Self-review loop
|
|
931
|
+
|
|
932
|
+
```text
|
|
933
|
+
DESIGN
|
|
934
|
+
↓
|
|
935
|
+
IMPLEMENT
|
|
936
|
+
↓
|
|
937
|
+
OBSERVE
|
|
938
|
+
↓
|
|
939
|
+
CRITIQUE
|
|
940
|
+
↓
|
|
941
|
+
IDENTIFY ISSUES
|
|
942
|
+
↓
|
|
943
|
+
PRIORITIZE
|
|
944
|
+
↓
|
|
945
|
+
FIX
|
|
946
|
+
↓
|
|
947
|
+
REVIEW AGAIN
|
|
948
|
+
```
|
|
949
|
+
|
|
950
|
+
The agent should iterate until the remaining issues are low-value or constrained by real trade-offs.
|
|
951
|
+
|
|
952
|
+
---
|
|
953
|
+
|
|
954
|
+
# 39. Quality scoring
|
|
955
|
+
|
|
956
|
+
When useful, evaluate:
|
|
957
|
+
|
|
958
|
+
```text
|
|
959
|
+
UX /10
|
|
960
|
+
Visual /10
|
|
961
|
+
Accessibility /10
|
|
962
|
+
Performance /10
|
|
963
|
+
Consistency /10
|
|
964
|
+
Responsiveness /10
|
|
965
|
+
Interaction /10
|
|
966
|
+
Implementation /10
|
|
967
|
+
```
|
|
968
|
+
|
|
969
|
+
Do not treat the numerical score as absolute truth.
|
|
970
|
+
|
|
971
|
+
Use it to expose weak dimensions.
|
|
972
|
+
|
|
973
|
+
---
|
|
974
|
+
|
|
975
|
+
# 40. Final delivery modes
|
|
976
|
+
|
|
977
|
+
Depending on the request, the orchestrator can output:
|
|
978
|
+
|
|
979
|
+
```text
|
|
980
|
+
DESIGN
|
|
981
|
+
→ design specification
|
|
982
|
+
|
|
983
|
+
AUDIT
|
|
984
|
+
→ problems + severity + fixes
|
|
985
|
+
|
|
986
|
+
IMPLEMENT
|
|
987
|
+
→ implementation instructions/code
|
|
988
|
+
|
|
989
|
+
REDESIGN
|
|
990
|
+
→ improved architecture + screens
|
|
991
|
+
|
|
992
|
+
CRITIQUE
|
|
993
|
+
→ strengths + weaknesses + recommendations
|
|
994
|
+
|
|
995
|
+
SYSTEM
|
|
996
|
+
→ tokens + components + patterns
|
|
997
|
+
|
|
998
|
+
PLAN
|
|
999
|
+
→ phased implementation roadmap
|
|
1000
|
+
```
|
|
1001
|
+
|
|
1002
|
+
---
|
|
1003
|
+
|
|
1004
|
+
# 41. Agent behavior
|
|
1005
|
+
|
|
1006
|
+
The agent should be:
|
|
1007
|
+
|
|
1008
|
+
```text
|
|
1009
|
+
Analytical
|
|
1010
|
+
Context-aware
|
|
1011
|
+
Design-system-aware
|
|
1012
|
+
Platform-aware
|
|
1013
|
+
Accessibility-aware
|
|
1014
|
+
Performance-aware
|
|
1015
|
+
Implementation-aware
|
|
1016
|
+
Critical
|
|
1017
|
+
Iterative
|
|
1018
|
+
Pragmatic
|
|
1019
|
+
```
|
|
1020
|
+
|
|
1021
|
+
It should **not** be:
|
|
1022
|
+
|
|
1023
|
+
```text
|
|
1024
|
+
Decorative-only
|
|
1025
|
+
Trend-chasing
|
|
1026
|
+
Over-engineering
|
|
1027
|
+
Component-obsessed
|
|
1028
|
+
Animation-obsessed
|
|
1029
|
+
Blindly consistent
|
|
1030
|
+
Framework-dependent
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
---
|
|
1034
|
+
|
|
1035
|
+
# 42. Never optimize one dimension blindly
|
|
1036
|
+
|
|
1037
|
+
The orchestrator must recognize trade-offs.
|
|
1038
|
+
|
|
1039
|
+
For example:
|
|
1040
|
+
|
|
1041
|
+
```text
|
|
1042
|
+
More animation
|
|
1043
|
+
→ more delight
|
|
1044
|
+
→ potentially worse performance
|
|
1045
|
+
|
|
1046
|
+
More information
|
|
1047
|
+
→ more capability
|
|
1048
|
+
→ potentially worse cognitive load
|
|
1049
|
+
|
|
1050
|
+
More abstraction
|
|
1051
|
+
→ more reuse
|
|
1052
|
+
→ potentially more complexity
|
|
1053
|
+
|
|
1054
|
+
More customization
|
|
1055
|
+
→ more flexibility
|
|
1056
|
+
→ potentially worse consistency
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
The correct answer is usually the **best balance for the specific context**.
|
|
1060
|
+
|
|
1061
|
+
---
|
|
1062
|
+
|
|
1063
|
+
# 43. Master execution pipeline
|
|
1064
|
+
|
|
1065
|
+
This is the central workflow of File 75:
|
|
1066
|
+
|
|
1067
|
+
```text
|
|
1068
|
+
┌──────────────────────┐
|
|
1069
|
+
│ USER REQUEST │
|
|
1070
|
+
└──────────┬───────────┘
|
|
1071
|
+
↓
|
|
1072
|
+
┌──────────────────────┐
|
|
1073
|
+
│ UNDERSTAND CONTEXT │
|
|
1074
|
+
└──────────┬───────────┘
|
|
1075
|
+
↓
|
|
1076
|
+
┌──────────────────────┐
|
|
1077
|
+
│ CLASSIFY THE TASK │
|
|
1078
|
+
└──────────┬───────────┘
|
|
1079
|
+
↓
|
|
1080
|
+
┌──────────────────────┐
|
|
1081
|
+
│ ASSESS COMPLEXITY │
|
|
1082
|
+
│ + RISKS + CONSTRAINTS│
|
|
1083
|
+
└──────────┬───────────┘
|
|
1084
|
+
↓
|
|
1085
|
+
┌──────────────────────┐
|
|
1086
|
+
│ SELECT REQUIRED │
|
|
1087
|
+
│ SKILLS / FILES │
|
|
1088
|
+
└──────────┬───────────┘
|
|
1089
|
+
↓
|
|
1090
|
+
┌──────────────────────┐
|
|
1091
|
+
│ ANALYZE │
|
|
1092
|
+
└──────────┬───────────┘
|
|
1093
|
+
↓
|
|
1094
|
+
┌──────────────────────┐
|
|
1095
|
+
│ PLAN │
|
|
1096
|
+
└──────────┬───────────┘
|
|
1097
|
+
↓
|
|
1098
|
+
┌──────────────────────┐
|
|
1099
|
+
│ DESIGN / IMPLEMENT │
|
|
1100
|
+
└──────────┬───────────┘
|
|
1101
|
+
↓
|
|
1102
|
+
┌──────────────────────┐
|
|
1103
|
+
│ VALIDATE │
|
|
1104
|
+
│ UX / UI / A11Y / PERF│
|
|
1105
|
+
└──────────┬───────────┘
|
|
1106
|
+
↓
|
|
1107
|
+
┌──────────────────────┐
|
|
1108
|
+
│ CRITIQUE │
|
|
1109
|
+
└──────────┬───────────┘
|
|
1110
|
+
↓
|
|
1111
|
+
ISSUES FOUND?
|
|
1112
|
+
↙ ↘
|
|
1113
|
+
YES NO
|
|
1114
|
+
↓ ↓
|
|
1115
|
+
REFINE DELIVER
|
|
1116
|
+
↓
|
|
1117
|
+
VALIDATE
|
|
1118
|
+
```
|
|
1119
|
+
|
|
1120
|
+
---
|
|
1121
|
+
|
|
1122
|
+
# 44. Master skill-selection matrix
|
|
1123
|
+
|
|
1124
|
+
The orchestrator can conceptually map requests like this:
|
|
1125
|
+
|
|
1126
|
+
| Request | Primary skills |
|
|
1127
|
+
| ----------------- | ------------------------------------ |
|
|
1128
|
+
| New screen | IA + composition + visual system |
|
|
1129
|
+
| Redesign | audit + IA + visual + interaction |
|
|
1130
|
+
| Form | forms + validation + accessibility |
|
|
1131
|
+
| Dashboard | data UI + hierarchy + performance |
|
|
1132
|
+
| Mobile adaptation | responsive + platform |
|
|
1133
|
+
| Accessibility fix | accessibility + interaction |
|
|
1134
|
+
| Slow screen | performance + rendering |
|
|
1135
|
+
| Navigation issue | IA + navigation |
|
|
1136
|
+
| Animation | motion + interaction + performance |
|
|
1137
|
+
| Theme | tokens + visual system |
|
|
1138
|
+
| Component | composition + states + accessibility |
|
|
1139
|
+
| Complex workflow | flows + states + errors + recovery |
|
|
1140
|
+
| Full redesign | **full orchestration** |
|
|
1141
|
+
|
|
1142
|
+
---
|
|
1143
|
+
|
|
1144
|
+
# 45. The orchestration rule
|
|
1145
|
+
|
|
1146
|
+
The agent should **load depth according to need**.
|
|
1147
|
+
|
|
1148
|
+
```text
|
|
1149
|
+
Simple request
|
|
1150
|
+
→ minimum relevant knowledge
|
|
1151
|
+
|
|
1152
|
+
Complex request
|
|
1153
|
+
→ multiple specialized skills
|
|
1154
|
+
|
|
1155
|
+
Full product
|
|
1156
|
+
→ coordinated multi-stage pipeline
|
|
1157
|
+
```
|
|
1158
|
+
|
|
1159
|
+
This prevents the agent from drowning in its own skill library.
|
|
1160
|
+
|
|
1161
|
+
---
|
|
1162
|
+
|
|
1163
|
+
# 46. Final master principle
|
|
1164
|
+
|
|
1165
|
+
Everything in Files 1–74 ultimately serves one purpose:
|
|
1166
|
+
|
|
1167
|
+
```text
|
|
1168
|
+
UNDERSTAND
|
|
1169
|
+
↓
|
|
1170
|
+
DESIGN
|
|
1171
|
+
↓
|
|
1172
|
+
BUILD
|
|
1173
|
+
↓
|
|
1174
|
+
VALIDATE
|
|
1175
|
+
↓
|
|
1176
|
+
IMPROVE
|
|
1177
|
+
```
|
|
1178
|
+
|
|
1179
|
+
File 75 coordinates that entire loop.
|
|
1180
|
+
|
|
1181
|
+
> **The agent's job is not merely to produce interfaces. Its job is to make the best possible interface decision given the user's goal, product context, technical constraints, human factors, and available design knowledge.**
|
|
1182
|
+
|
|
1183
|
+
---
|
|
1184
|
+
|
|
1185
|
+
# FILE 75 — FINAL ARCHITECTURE
|
|
1186
|
+
|
|
1187
|
+
```text
|
|
1188
|
+
MASTER UI/UX
|
|
1189
|
+
ORCHESTRATOR
|
|
1190
|
+
│
|
|
1191
|
+
┌────────────────┼────────────────┐
|
|
1192
|
+
↓ ↓ ↓
|
|
1193
|
+
UNDERSTANDING DESIGN VALIDATION
|
|
1194
|
+
│ │ │
|
|
1195
|
+
↓ ↓ ↓
|
|
1196
|
+
Context Systems UX
|
|
1197
|
+
Intent Components Accessibility
|
|
1198
|
+
Constraints Patterns Performance
|
|
1199
|
+
Complexity Interaction Responsive
|
|
1200
|
+
Risk Visual QA
|
|
1201
|
+
│ │ │
|
|
1202
|
+
└────────────────┼────────────────┘
|
|
1203
|
+
↓
|
|
1204
|
+
CRITIQUE
|
|
1205
|
+
↓
|
|
1206
|
+
REFINE
|
|
1207
|
+
↓
|
|
1208
|
+
DELIVER
|
|
1209
|
+
```
|
|
1210
|
+
|