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,33 @@
|
|
|
1
|
+
export const tokens = {
|
|
2
|
+
spacing: {
|
|
3
|
+
xs: 4,
|
|
4
|
+
sm: 8,
|
|
5
|
+
md: 12,
|
|
6
|
+
lg: 16,
|
|
7
|
+
xl: 24,
|
|
8
|
+
xxl: 32,
|
|
9
|
+
xxxl: 48,
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
radius: {
|
|
13
|
+
sm: 8,
|
|
14
|
+
md: 12,
|
|
15
|
+
lg: 16,
|
|
16
|
+
xl: 24,
|
|
17
|
+
pill: 999,
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
typography: {
|
|
21
|
+
caption: 12,
|
|
22
|
+
body: 16,
|
|
23
|
+
subheading: 20,
|
|
24
|
+
heading: 28,
|
|
25
|
+
display: 36,
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
motion: {
|
|
29
|
+
fast: 150,
|
|
30
|
+
standard: 250,
|
|
31
|
+
expressive: 400,
|
|
32
|
+
},
|
|
33
|
+
} as const;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Screen Specification
|
|
2
|
+
|
|
3
|
+
## Screen
|
|
4
|
+
Name:
|
|
5
|
+
|
|
6
|
+
## User goal
|
|
7
|
+
|
|
8
|
+
## Primary action
|
|
9
|
+
|
|
10
|
+
## Secondary actions
|
|
11
|
+
|
|
12
|
+
## Information hierarchy
|
|
13
|
+
|
|
14
|
+
1.
|
|
15
|
+
2.
|
|
16
|
+
3.
|
|
17
|
+
|
|
18
|
+
## Structure
|
|
19
|
+
|
|
20
|
+
- Navigation:
|
|
21
|
+
- Context:
|
|
22
|
+
- Primary content:
|
|
23
|
+
- Secondary content:
|
|
24
|
+
- Persistent actions:
|
|
25
|
+
|
|
26
|
+
## States
|
|
27
|
+
|
|
28
|
+
- Loading:
|
|
29
|
+
- Empty:
|
|
30
|
+
- Content:
|
|
31
|
+
- Error:
|
|
32
|
+
- Offline:
|
|
33
|
+
- Permission:
|
|
34
|
+
|
|
35
|
+
## Interaction
|
|
36
|
+
|
|
37
|
+
- Tap:
|
|
38
|
+
- Long press:
|
|
39
|
+
- Swipe:
|
|
40
|
+
- Drag:
|
|
41
|
+
- Keyboard:
|
|
42
|
+
|
|
43
|
+
## Accessibility
|
|
44
|
+
|
|
45
|
+
- Labels:
|
|
46
|
+
- Roles:
|
|
47
|
+
- Focus:
|
|
48
|
+
- Dynamic text:
|
|
49
|
+
- Reduced motion:
|
|
50
|
+
|
|
51
|
+
## Platform differences
|
|
52
|
+
|
|
53
|
+
### iOS
|
|
54
|
+
|
|
55
|
+
### Android
|
|
56
|
+
|
|
57
|
+
## Components
|
|
58
|
+
|
|
59
|
+
## Design tokens
|
|
60
|
+
|
|
61
|
+
## Audit notes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# New Screen Workflow
|
|
2
|
+
|
|
3
|
+
1. Define user goal.
|
|
4
|
+
2. Define primary action.
|
|
5
|
+
3. Define information hierarchy.
|
|
6
|
+
4. Identify platform patterns.
|
|
7
|
+
5. Define screen states.
|
|
8
|
+
6. Define design tokens/components.
|
|
9
|
+
7. Implement structure.
|
|
10
|
+
8. Implement interactions.
|
|
11
|
+
9. Implement accessibility.
|
|
12
|
+
10. Add purposeful motion.
|
|
13
|
+
11. Test edge states.
|
|
14
|
+
12. Run visual audit.
|
|
15
|
+
13. Run UX audit.
|
|
16
|
+
14. Fix CRITICAL/HIGH issues.
|
|
17
|
+
15. Re-audit.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Pre-release UX Gate
|
|
2
|
+
|
|
3
|
+
Do not call a screen finished until:
|
|
4
|
+
|
|
5
|
+
[ ] Primary task is obvious
|
|
6
|
+
[ ] Navigation is predictable
|
|
7
|
+
[ ] Loading state exists where needed
|
|
8
|
+
[ ] Empty state exists where needed
|
|
9
|
+
[ ] Error/recovery exists where needed
|
|
10
|
+
[ ] Destructive actions are deliberate
|
|
11
|
+
[ ] Accessibility semantics exist
|
|
12
|
+
[ ] Touch targets are usable
|
|
13
|
+
[ ] Text can scale without breaking
|
|
14
|
+
[ ] Motion is purposeful
|
|
15
|
+
[ ] Reduced motion is considered
|
|
16
|
+
[ ] iOS behavior is appropriate
|
|
17
|
+
[ ] Android behavior is appropriate
|
|
18
|
+
[ ] No unnecessary visual decoration
|
|
19
|
+
[ ] No obvious alignment/spacing defects
|
|
20
|
+
[ ] Visual audit completed
|
|
21
|
+
[ ] UX audit completed
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Redesign Workflow
|
|
2
|
+
|
|
3
|
+
1. Preserve known functional requirements.
|
|
4
|
+
2. Audit the existing UX before changing visuals.
|
|
5
|
+
3. Identify friction and unnecessary complexity.
|
|
6
|
+
4. Establish a new hierarchy.
|
|
7
|
+
5. Define what to remove, retain, combine, or introduce.
|
|
8
|
+
6. Create the new screen architecture.
|
|
9
|
+
7. Apply design tokens and components.
|
|
10
|
+
8. Implement.
|
|
11
|
+
9. Compare against the previous experience.
|
|
12
|
+
10. Run visual, UX, accessibility, and platform audits.
|
|
13
|
+
11. Fix high-severity issues.
|
|
14
|
+
12. Re-audit.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UI Audit Workflow
|
|
2
|
+
|
|
3
|
+
Review:
|
|
4
|
+
- hierarchy
|
|
5
|
+
- spacing
|
|
6
|
+
- typography
|
|
7
|
+
- color
|
|
8
|
+
- controls
|
|
9
|
+
- icons
|
|
10
|
+
- states
|
|
11
|
+
- accessibility
|
|
12
|
+
- platform conventions
|
|
13
|
+
- motion
|
|
14
|
+
- content density
|
|
15
|
+
|
|
16
|
+
Return:
|
|
17
|
+
1. Scorecard
|
|
18
|
+
2. Critical issues
|
|
19
|
+
3. High issues
|
|
20
|
+
4. Medium/low issues
|
|
21
|
+
5. Recommended fixes
|
|
22
|
+
6. Post-fix verification checklist
|