mobileui-os 1.0.0 → 2.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 (65) hide show
  1. package/AGENTS.md +13 -0
  2. package/CHANGELOG.md +30 -17
  3. package/LICENSE +21 -0
  4. package/README.md +63 -18
  5. package/bin/cli.mjs +157 -211
  6. package/bin/generate.mjs +216 -0
  7. package/knowledge/INDEX.md +118 -0
  8. package/knowledge/android/00-android-reading-protocol.md +48 -0
  9. package/knowledge/android/01-android-decision-framework.md +58 -0
  10. package/knowledge/android/02-android-information-architecture.md +76 -0
  11. package/knowledge/android/03-android-interaction-and-state-engineering.md +87 -0
  12. package/knowledge/android/04-android-visual-system-and-theming.md +77 -0
  13. package/knowledge/android/05-android-implementation-and-refactoring.md +80 -0
  14. package/knowledge/android/06-android-qa-and-audit-loop.md +82 -0
  15. package/knowledge/android/adaptive-and-tablets.md +83 -0
  16. package/knowledge/android/forms-and-input.md +91 -0
  17. package/knowledge/android/gestures.md +81 -0
  18. package/knowledge/android/lists-and-data-heavy.md +88 -0
  19. package/knowledge/android/motion.md +71 -0
  20. package/knowledge/android/notifications-and-permissions.md +89 -0
  21. package/knowledge/android/performance.md +93 -0
  22. package/knowledge/android/search-and-discovery.md +84 -0
  23. package/knowledge/android/sheets-dialogs-and-menus.md +94 -0
  24. package/knowledge/android/states-and-recovery.md +85 -0
  25. package/knowledge/android/typography.md +74 -0
  26. package/knowledge/android/visual-qa.md +93 -0
  27. package/knowledge/android/worked-examples-lists-and-navigation.md +143 -0
  28. package/knowledge/android/worked-examples-permissions-and-adaptive.md +133 -0
  29. package/knowledge/android/worked-examples-state-and-forms.md +156 -0
  30. package/package.json +7 -4
  31. package/principles/platform-principles.md +3 -3
  32. package/scripts/sync-platform-adapters.mjs +23 -0
  33. package/scripts/sync-platform-adapters.ps1 +30 -0
  34. package/skills/accessibility-engineer/SKILL.md +5 -0
  35. package/skills/analytics-engineer/SKILL.md +5 -0
  36. package/skills/animation-engineer/SKILL.md +5 -0
  37. package/skills/component-designer/SKILL.md +5 -0
  38. package/skills/component-library-engineer/SKILL.md +8 -1
  39. package/skills/component-library-ops/SKILL.md +9 -2
  40. package/skills/design-system/SKILL.md +5 -0
  41. package/skills/design-token-engineer/SKILL.md +7 -0
  42. package/skills/design-token-pipeline/SKILL.md +7 -0
  43. package/skills/device-lab-engineer/SKILL.md +5 -0
  44. package/skills/forms-engineer/SKILL.md +5 -0
  45. package/skills/internationalization-engineer/SKILL.md +5 -0
  46. package/skills/motion-designer/SKILL.md +5 -0
  47. package/skills/native-data-fetching/SKILL.md +5 -0
  48. package/skills/navigation-architect/SKILL.md +5 -0
  49. package/skills/performance-engineer/SKILL.md +5 -0
  50. package/skills/platform-specialist/SKILL.md +5 -0
  51. package/skills/pre-release-gate/SKILL.md +5 -0
  52. package/skills/screen-designer/SKILL.md +5 -0
  53. package/skills/security-engineer/SKILL.md +5 -0
  54. package/skills/skill-router/SKILL.md +82 -0
  55. package/skills/skills.json +139 -134
  56. package/skills/testing-auditor/SKILL.md +5 -0
  57. package/skills/ui-architect/SKILL.md +5 -0
  58. package/skills/ui-implementer/SKILL.md +5 -0
  59. package/skills/ux-architect/SKILL.md +5 -0
  60. package/skills/ux-auditor/SKILL.md +5 -0
  61. package/skills/visual-auditor/SKILL.md +5 -0
  62. package/workflows/new-screen.md +2 -0
  63. package/workflows/pre-release.md +2 -0
  64. package/workflows/redesign.md +2 -0
  65. package/workflows/ui-audit.md +2 -0
@@ -0,0 +1,133 @@
1
+ # Android Worked Examples: Permissions, Adaptive Layout and Sheets
2
+
3
+ Concrete Jetpack Compose examples for `notifications-and-permissions.md`, `adaptive-and-tablets.md` and `sheets-dialogs-and-menus.md`.
4
+
5
+ ## Permission requested in context
6
+
7
+ ```kotlin
8
+ @Composable
9
+ fun CameraFeature(onReady: () -> Unit) {
10
+ val context = LocalContext.current
11
+ var showRationale by remember { mutableStateOf(false) }
12
+ val launcher = rememberLauncherForActivityResult(
13
+ ActivityResultContracts.RequestPermission(),
14
+ ) { granted ->
15
+ if (granted) onReady() else showRationale = true
16
+ }
17
+
18
+ when {
19
+ ContextCompat.checkSelfPermission(context, Manifest.permission.CAMERA) ==
20
+ PackageManager.PERMISSION_GRANTED -> CameraPreview()
21
+
22
+ showRationale -> PermissionRationale(
23
+ title = "Camera access",
24
+ body = "Needed to scan codes. Without it you can enter the code manually.",
25
+ onAllow = {
26
+ showRationale = false
27
+ val activity = context.findActivity()
28
+ if (activity.shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)) {
29
+ launcher.launch(Manifest.permission.CAMERA)
30
+ } else {
31
+ activity.openAppSettings() // permanent denial
32
+ }
33
+ },
34
+ onFallback = { /* manual entry */ },
35
+ )
36
+
37
+ else -> LaunchedEffect(Unit) { launcher.launch(Manifest.permission.CAMERA) }
38
+ }
39
+ }
40
+ ```
41
+
42
+ Key points: request when the feature is used, explain before asking, offer a manual fallback, handle permanent denial via settings, and do not block the whole app.
43
+
44
+ ## Adaptive two-pane layout
45
+
46
+ ```kotlin
47
+ @Composable
48
+ fun MessagesScreen(windowSizeClass: WindowSizeClass) {
49
+ var selectedId by rememberSaveable { mutableStateOf<String?>(null) }
50
+ val twoPane = windowSizeClass.widthSizeClass == WindowWidthSizeClass.Expanded
51
+
52
+ Row(Modifier.fillMaxSize()) {
53
+ MessageList(
54
+ selectedId = selectedId,
55
+ onSelect = { selectedId = it },
56
+ modifier = Modifier.weight(if (twoPane) 0.4f else 1f),
57
+ )
58
+
59
+ if (twoPane) {
60
+ VerticalDivider()
61
+ selectedId?.let { id ->
62
+ MessageDetail(
63
+ id = id,
64
+ onBack = { selectedId = null },
65
+ modifier = Modifier.weight(0.6f),
66
+ )
67
+ } ?: DetailPlaceholder("Select a message to read it")
68
+ }
69
+ }
70
+
71
+ // Compact devices use a separate route instead of a second pane.
72
+ if (!twoPane && selectedId != null) {
73
+ LaunchedEffect(selectedId) { /* navigate to detail route, preserving list state */ }
74
+ }
75
+ }
76
+ ```
77
+
78
+ Notes: width class decides structure, not device type; selection survives rotation via `rememberSaveable`; the detail always has a back path.
79
+
80
+ ## Modal sheet with predictable back
81
+
82
+ ```kotlin
83
+ @OptIn(ExperimentalMaterial3Api::class)
84
+ @Composable
85
+ fun FilterSheet(visible: Boolean, onDismiss: () -> Unit, onApply: (Filters) -> Unit) {
86
+ if (!visible) return
87
+ val sheetState = rememberModalBottomSheetState(skipPartiallyExpanded = true)
88
+
89
+ ModalBottomSheet(
90
+ onDismissRequest = onDismiss,
91
+ sheetState = sheetState,
92
+ modifier = Modifier.fillMaxHeight(0.85f),
93
+ ) {
94
+ FilterContent(onApply = { filters ->
95
+ onApply(filters)
96
+ onDismiss()
97
+ })
98
+ }
99
+ }
100
+ ```
101
+
102
+ System back triggers `onDismissRequest`; focus returns to the filter trigger. Use `skipPartiallyExpanded` when there is no meaningful peek state.
103
+
104
+ ## Reduced motion
105
+
106
+ ```kotlin
107
+ @Composable
108
+ fun ReducedMotionAwareContent(visible: Boolean, content: @Composable () -> Unit) {
109
+ val reduceMotion = !LocalMotion().isMotionEnabled
110
+ AnimatedVisibility(
111
+ visible = visible,
112
+ enter = if (reduceMotion) fadeIn() else fadeIn() + slideInVertically(),
113
+ exit = if (reduceMotion) fadeOut() else fadeOut() + slideOutVertically(),
114
+ label = "content-visibility",
115
+ ) { content() }
116
+ }
117
+ ```
118
+
119
+ Remove spatial motion, keep the state change perceivable.
120
+
121
+ ## Anti-patterns
122
+
123
+ - Requesting every permission at first launch.
124
+ - Treating a foldable as always expanded.
125
+ - Losing selection on rotation.
126
+ - Sheet that cannot be dismissed by back.
127
+ - Animations that ignore reduced-motion settings.
128
+
129
+ ## Related
130
+
131
+ - `knowledge/android/00-android-reading-protocol.md`
132
+ - `knowledge/android/adaptive-and-tablets.md`
133
+ - `skills/platform-specialist/SKILL.md`
@@ -0,0 +1,156 @@
1
+ # Android Worked Examples: State and Forms
2
+
3
+ Concrete Jetpack Compose examples for the patterns described in `03-android-interaction-and-state-engineering.md` and `forms-and-input.md`. Use these as structure, not as copy-paste production code.
4
+
5
+ ## Explicit screen state
6
+
7
+ Model state as a sealed set so contradictory booleans cannot exist.
8
+
9
+ ```kotlin
10
+ sealed interface ProfileUiState {
11
+ data object Loading : ProfileUiState
12
+ data object Empty : ProfileUiState
13
+ data class Content(val profile: Profile, val refreshing: Boolean = false) : ProfileUiState
14
+ data class Error(val message: String, val retryable: Boolean) : ProfileUiState
15
+ data object Offline : ProfileUiState
16
+ }
17
+
18
+ @Composable
19
+ fun ProfileScreen(viewModel: ProfileViewModel) {
20
+ val state by viewModel.uiState.collectAsStateWithLifecycle()
21
+
22
+ Scaffold { padding ->
23
+ when (val s = state) {
24
+ ProfileUiState.Loading -> ProfileSkeleton(Modifier.padding(padding))
25
+ ProfileUiState.Empty -> EmptyState(
26
+ title = "No profile yet",
27
+ body = "Add a profile to see it here.",
28
+ action = "Add profile" to viewModel::onCreate,
29
+ modifier = Modifier.padding(padding),
30
+ )
31
+ is ProfileUiState.Content -> ProfileContent(
32
+ profile = s.profile,
33
+ refreshing = s.refreshing,
34
+ onRefresh = viewModel::refresh,
35
+ modifier = Modifier.padding(padding),
36
+ )
37
+ is ProfileUiState.Error -> ErrorState(
38
+ message = s.message,
39
+ onRetry = if (s.retryable) viewModel::retry else null,
40
+ modifier = Modifier.padding(padding),
41
+ )
42
+ ProfileUiState.Offline -> OfflineState(
43
+ cached = viewModel.cachedProfile,
44
+ onRetry = viewModel::retry,
45
+ modifier = Modifier.padding(padding),
46
+ )
47
+ }
48
+ }
49
+ }
50
+ ```
51
+
52
+ Key points: one state at a time, retry only when retryable, cached content still shown offline.
53
+
54
+ ## Form with validation and IME flow
55
+
56
+ ```kotlin
57
+ @Composable
58
+ fun SignInForm(onSignedIn: () -> Unit) {
59
+ var email by rememberSaveable { mutableStateOf("") }
60
+ var password by rememberSaveable { mutableStateOf("") }
61
+ var emailError by rememberSaveable { mutableStateOf<String?>(null) }
62
+ var submitting by remember { mutableStateOf(false) }
63
+ val focusManager = LocalFocusManager.current
64
+ val passwordFocus = remember { FocusRequester() }
65
+
66
+ fun validateEmail(): Boolean {
67
+ emailError = if (!email.contains("@")) "Enter an email like name@example.com" else null
68
+ return emailError == null
69
+ }
70
+
71
+ Column(
72
+ modifier = Modifier
73
+ .fillMaxSize()
74
+ .verticalScroll(rememberScrollState())
75
+ .imePadding()
76
+ .padding(16.dp),
77
+ verticalArrangement = Arrangement.spacedBy(12.dp),
78
+ ) {
79
+ OutlinedTextField(
80
+ value = email,
81
+ onValueChange = { email = it; emailError = null },
82
+ label = { Text("Email") },
83
+ isError = emailError != null,
84
+ supportingText = { emailError?.let { Text(it) } },
85
+ keyboardOptions = KeyboardOptions(
86
+ keyboardType = KeyboardType.Email,
87
+ imeAction = ImeAction.Next,
88
+ autoFillHint = AutofillHint.EmailAddress,
89
+ ),
90
+ keyboardActions = KeyboardActions(
91
+ onNext = { if (validateEmail()) passwordFocus.requestFocus() },
92
+ ),
93
+ modifier = Modifier.fillMaxWidth().heightIn(min = 48.dp),
94
+ )
95
+
96
+ OutlinedTextField(
97
+ value = password,
98
+ onValueChange = { password = it },
99
+ label = { Text("Password") },
100
+ visualTransformation = PasswordVisualTransformation(),
101
+ keyboardOptions = KeyboardOptions(
102
+ keyboardType = KeyboardType.Password,
103
+ imeAction = ImeAction.Done,
104
+ autoFillHint = AutofillHint.Password,
105
+ ),
106
+ keyboardActions = KeyboardActions(
107
+ onDone = { focusManager.clearFocus() },
108
+ ),
109
+ modifier = Modifier.fillMaxWidth().heightIn(min = 48.dp).focusRequester(passwordFocus),
110
+ )
111
+
112
+ Button(
113
+ onClick = {
114
+ if (validateEmail()) {
115
+ submitting = true
116
+ // submit(); on success -> onSignedIn(), on failure -> submitting = false + error state
117
+ }
118
+ },
119
+ enabled = !submitting,
120
+ modifier = Modifier.fillMaxWidth().height(48.dp),
121
+ ) {
122
+ if (submitting) CircularProgressIndicator(Modifier.size(18.dp)) else Text("Sign in")
123
+ }
124
+ }
125
+ }
126
+ ```
127
+
128
+ What this demonstrates: `rememberSaveable` for draft survival, explicit IME actions, autofill hints, inline error with recovery text, `imePadding`, 48dp targets, and a loading state on the action.
129
+
130
+ ## Announcing results
131
+
132
+ ```kotlin
133
+ val announcement by viewModel.announcement.collectAsStateWithLifecycle()
134
+ Text(
135
+ text = announcement,
136
+ modifier = Modifier
137
+ .semantics { liveRegion = LiveRegionMode.Polite }
138
+ .height(0.dp),
139
+ )
140
+ ```
141
+
142
+ Announce validation results and state changes once; do not announce every keystroke.
143
+
144
+ ## Anti-patterns in examples
145
+
146
+ - `var isLoading by remember { ... }` plus `var isError by remember { ... }` that can both be true.
147
+ - Placeholder-only labels.
148
+ - `KeyboardType.Number` for a postcode.
149
+ - Submit button that stays enabled and silently does nothing while submitting.
150
+ - Error shown only as a red border.
151
+
152
+ ## Related
153
+
154
+ - `knowledge/android/states-and-recovery.md`
155
+ - `knowledge/android/forms-and-input.md`
156
+ - `skills/ui-implementer/SKILL.md`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mobileui-os",
3
- "version": "1.0.0",
4
- "description": "Portable agentic UI/UX quality system for premium mobile apps — 26 skills for React Native + Expo + TypeScript",
3
+ "version": "2.0.0",
4
+ "description": "Portable agentic UI/UX quality system for premium mobile apps — 27 skills for React Native + Expo + TypeScript",
5
5
  "keywords": [
6
6
  "mobile",
7
7
  "ui",
@@ -42,12 +42,15 @@
42
42
  "references/**/*",
43
43
  "workflows/**/*",
44
44
  "bin/**/*",
45
+ "scripts/**/*",
45
46
  "AGENTS.md",
46
47
  "README.md",
47
- "CHANGELOG.md"
48
+ "CHANGELOG.md",
49
+ "LICENSE"
48
50
  ],
49
51
  "scripts": {
50
- "sync": "pwsh scripts/sync-platform-adapters.ps1",
52
+ "sync": "node scripts/sync-platform-adapters.mjs",
53
+ "test": "node --test test",
51
54
  "test:cli": "node bin/cli.mjs --help && node bin/cli.mjs list"
52
55
  }
53
56
  }
@@ -1,10 +1,10 @@
1
1
  # Platform Principles
2
2
 
3
3
  ## iOS
4
- Use Apple conventions as the primary reference for navigation, hierarchy, system controls, sheets, typography, accessibility, and interaction behavior.
4
+ Use Apple Human Interface Guidelines as the reference for iOS navigation, hierarchy, system controls, sheets, typography, accessibility and interaction behavior.
5
5
 
6
6
  ## Android
7
- Use Material conventions where appropriate, while respecting Android-native navigation and interaction expectations.
7
+ Use Material 3 as the reference for Android color, shape, typography and components, while respecting Android-native system back, navigation and interaction expectations. Do not treat the iOS corpus in `knowledge/apple/` as Android guidance.
8
8
 
9
9
  ## Cross-platform
10
10
  Share:
@@ -22,4 +22,4 @@ Adapt:
22
22
  - accessibility behavior
23
23
  - platform-specific affordances
24
24
 
25
- Do not equate cross-platform consistency with pixel-identical UI.
25
+ Do not equate cross-platform consistency with pixel-identical UI. When guidance conflicts, preserve the user goal and intent, then apply the conventions of the platform the user is actually on.
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Regenerate skills/skills.json and every platform adapter from the canonical
4
+ * skills. Node-based so it works on macOS, Linux and Windows without pwsh.
5
+ *
6
+ * node scripts/sync-platform-adapters.mjs [root]
7
+ */
8
+
9
+ import { resolve, join } from 'node:path';
10
+ import { fileURLToPath } from 'node:url';
11
+ import { ALL_PLATFORMS, getSkills, syncAdapters } from '../bin/generate.mjs';
12
+
13
+ const defaultRoot = fileURLToPath(new URL('..', import.meta.url));
14
+ const root = resolve(process.argv[2] || defaultRoot);
15
+ const skills = getSkills(join(root, 'skills'));
16
+
17
+ if (skills.length === 0) {
18
+ console.error(`No skills found under ${join(root, 'skills')}`);
19
+ process.exit(1);
20
+ }
21
+
22
+ syncAdapters(root, ALL_PLATFORMS);
23
+ console.log(`Synced ${skills.length} skills to ${ALL_PLATFORMS.length} platforms + skills/skills.json`);
@@ -0,0 +1,30 @@
1
+ #Requires -Version 7
2
+ <#
3
+ .SYNOPSIS
4
+ Compatibility shim for the Node-based adapter generator.
5
+
6
+ .DESCRIPTION
7
+ Regenerates skills/skills.json and the .claude, .opencode, .cursor, .codex
8
+ and .gemini adapter wrappers from the canonical skills in skills/.
9
+
10
+ The implementation lives in scripts/sync-platform-adapters.mjs so the same
11
+ logic works on every platform. Use `npm run sync` instead of invoking this
12
+ script directly when possible.
13
+
14
+ .EXAMPLE
15
+ pwsh scripts/sync-platform-adapters.ps1
16
+ #>
17
+
18
+ param(
19
+ [string]$Root = (Split-Path -Parent $PSScriptRoot)
20
+ )
21
+
22
+ $ErrorActionPreference = 'Stop'
23
+ $generator = Join-Path $PSScriptRoot 'sync-platform-adapters.mjs'
24
+
25
+ if (-not (Get-Command node -ErrorAction SilentlyContinue)) {
26
+ throw 'Node.js 18+ is required to sync MobileUI-OS adapters.'
27
+ }
28
+
29
+ node $generator $Root
30
+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: accessibility-engineer
3
+ description: 'Audit and implement accessibility as architecture, not afterthought.'
4
+ ---
5
+
1
6
  # Accessibility Engineer
2
7
 
3
8
  Audit and implement accessibility as architecture, not afterthought.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: analytics-engineer
3
+ description: 'Implement privacy-compliant, actionable event tracking with clear taxonomy and funnel analysis.'
4
+ ---
5
+
1
6
  # Analytics & Telemetry Engineer
2
7
 
3
8
  Implement privacy-compliant, actionable event tracking with clear taxonomy and funnel analysis.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: animation-engineer
3
+ description: 'Build performant, platform-native motion: shared elements, layout animations, spring physics, gesture-driven transitions.'
4
+ ---
5
+
1
6
  # Animation & Transition Engineer
2
7
 
3
8
  Build performant, platform-native motion: shared elements, layout animations, spring physics, gesture-driven transitions.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: component-designer
3
+ description: 'Create components from repeated semantics, not arbitrary visual fragments.'
4
+ ---
5
+
1
6
  # Component Designer
2
7
 
3
8
  Create components from repeated semantics, not arbitrary visual fragments.
@@ -1,6 +1,13 @@
1
+ ---
2
+ name: component-library-engineer
3
+ description: 'Design component APIs and the library structure that ships them.'
4
+ ---
5
+
1
6
  # Component Library Engineer
2
7
 
3
- Operate a reusable component library: versioning, releases, documentation, consumption.
8
+ Design component APIs and the library structure that ships them.
9
+
10
+ **Scope:** API contracts, variants/states, token mapping and library structure. For release automation, changelogs, documentation sites and deprecation workflow, use `component-library-ops`.
4
11
 
5
12
  ## Responsibilities
6
13
 
@@ -1,6 +1,13 @@
1
- # Component Library Engineer
1
+ ---
2
+ name: component-library-ops
3
+ description: 'Operate versioning, releases, documentation sites and deprecation for a component library.'
4
+ ---
2
5
 
3
- Operate a versioned, documented, tested component library for cross-platform consumption.
6
+ # Component Library Operations
7
+
8
+ Operate versioning, releases, documentation sites and deprecation for a component library.
9
+
10
+ **Scope:** release machinery and operations. For component API contracts, variants, states and token mapping, use `component-library-engineer`.
4
11
 
5
12
  ## Responsibilities
6
13
 
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: design-system
3
+ description: 'Use semantic tokens. Build a shared, versioned, platform-agnostic design system.'
4
+ ---
5
+
1
6
  # Design System Engineer
2
7
 
3
8
  Use semantic tokens. Build a shared, versioned, platform-agnostic design system.
@@ -1,7 +1,14 @@
1
+ ---
2
+ name: design-token-engineer
3
+ description: 'Build and maintain the token pipeline: Figma → semantic tokens → platform outputs.'
4
+ ---
5
+
1
6
  # Design Token Engineer
2
7
 
3
8
  Build and maintain the token pipeline: Figma → semantic tokens → platform outputs.
4
9
 
10
+ **Scope:** token architecture, semantic naming, theming decisions and Figma sync. For the build configuration that emits platform artifacts, use `design-token-pipeline`.
11
+
5
12
  ## Responsibilities
6
13
 
7
14
  - Define token architecture (primitive → semantic → component)
@@ -1,7 +1,14 @@
1
+ ---
2
+ name: design-token-pipeline
3
+ description: 'Transform design decisions into platform-agnostic tokens and deliver them to every target.'
4
+ ---
5
+
1
6
  # Design Token Pipeline Engineer
2
7
 
3
8
  Transform design decisions into platform-agnostic tokens and deliver them to every target.
4
9
 
10
+ **Scope:** W3C DTCG source format, Style Dictionary build config and platform outputs. For token naming, hierarchy and governance decisions, use `design-token-engineer`.
11
+
5
12
  ## Token Architecture
6
13
 
7
14
  ```
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: device-lab-engineer
3
+ description: 'Automate testing across real device matrices: CI integration, flake detection, parallel execution, artifact collection.'
4
+ ---
5
+
1
6
  # Device Lab & Cloud Testing Engineer
2
7
 
3
8
  Automate testing across real device matrices: CI integration, flake detection, parallel execution, artifact collection.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: forms-engineer
3
+ description: 'Build accessible, platform-native forms with validation, error handling, and input optimization.'
4
+ ---
5
+
1
6
  # Forms Engineer
2
7
 
3
8
  Build accessible, platform-native forms with validation, error handling, and input optimization.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: internationalization-engineer
3
+ description: 'Build apps that work globally: RTL, locales, pluralization, formatting, translation workflow.'
4
+ ---
5
+
1
6
  # Internationalization Engineer
2
7
 
3
8
  Build apps that work globally: RTL, locales, pluralization, formatting, translation workflow.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: motion-designer
3
+ description: 'Motion must serve feedback, state change, spatial continuity, hierarchy, or gesture response.'
4
+ ---
5
+
1
6
  # Motion Designer
2
7
 
3
8
  Motion must serve feedback, state change, spatial continuity, hierarchy, or gesture response.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: native-data-fetching
3
+ description: 'Implement robust data fetching for mobile: loading, error, empty, offline, and recovery states.'
4
+ ---
5
+
1
6
  # Native Data Fetching Engineer
2
7
 
3
8
  Implement robust data fetching for mobile: loading, error, empty, offline, and recovery states.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: navigation-architect
3
+ description: 'Design and implement Expo Router navigation: structure, deep linking, state restoration, platform adaptations.'
4
+ ---
5
+
1
6
  # Navigation Architect
2
7
 
3
8
  Design and implement Expo Router navigation: structure, deep linking, state restoration, platform adaptations.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: performance-engineer
3
+ description: 'Profile, optimize, and enforce performance budgets for mobile apps.'
4
+ ---
5
+
1
6
  # Performance Engineer
2
7
 
3
8
  Profile, optimize, and enforce performance budgets for mobile apps.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: platform-specialist
3
+ description: 'Determine platform-specific vs. shared implementation for every interaction.'
4
+ ---
5
+
1
6
  # Platform Specialist
2
7
 
3
8
  Determine platform-specific vs. shared implementation for every interaction.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: pre-release-gate
3
+ description: 'Execute the pre-release workflow: automated checks, manual verification, beta distribution, rollout monitoring.'
4
+ ---
5
+
1
6
  # Pre-Release Gate
2
7
 
3
8
  Execute the pre-release workflow: automated checks, manual verification, beta distribution, rollout monitoring.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: screen-designer
3
+ description: 'Translate the screen architecture into a visual composition.'
4
+ ---
5
+
1
6
  # Screen Designer
2
7
 
3
8
  Translate the screen architecture into a visual composition.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: security-engineer
3
+ description: 'Implement defense-in-depth: secure storage, network, authentication, data minimization, compliance.'
4
+ ---
5
+
1
6
  # Security & Privacy Engineer
2
7
 
3
8
  Implement defense-in-depth: secure storage, network, authentication, data minimization, compliance.