mobile-ai-agents 1.0.36 → 1.0.38
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 +11 -1
- package/CLAUDE.md +5 -1
- package/README.md +20 -5
- package/agents/cross-platform/appforge/agent.md +4 -2
- package/agents/cross-platform/figma/agent.md +65 -47
- package/agents/cross-platform/mobile-harness/agent.md +184 -39
- package/cli/commands/figma.js +42 -0
- package/cli/commands/harness.js +262 -0
- package/cli/commands/router.js +4 -0
- package/cli/index.js +18 -0
- package/docs/figma-mcp.md +131 -0
- package/docs/index.html +1 -0
- package/docs/mobile-harness-enterprise.md +163 -0
- package/docs/mobile-harness.md +18 -0
- package/docs/wiki.md +5 -0
- package/package.json +3 -2
- package/skills/cross-platform/figma-mcp-setup.md +60 -0
- package/skills/cross-platform/figma-spec-harvest.md +103 -0
- package/skills/cross-platform/figma-to-implementation.md +90 -0
- package/skills/cross-platform/prd-verification.md +7 -0
- package/templates/mobile-harness-evidence.example.json +36 -0
- package/templates/mobile-harness-evidence.schema.json +31 -0
- package/templates/mobile-harness-policy.json +60 -0
- package/templates/mobile-harness-policy.schema.json +122 -0
- package/templates/mobile-harness-result.example.json +44 -0
- package/templates/mobile-harness-result.schema.json +84 -0
- package/tools/figma-spec/README.md +86 -0
- package/tools/figma-spec/compare_screens.py +111 -0
- package/tools/figma-spec/crosscheck.py +112 -0
- package/tools/figma-spec/dump_to_yaml.py +132 -0
- package/tools/figma-spec/node_dump.js +237 -0
- package/tools/figma-spec/page_index.js +44 -0
- package/tools/figma-spec/requirements.txt +3 -0
- package/tools/figma-spec/text_dump.js +68 -0
- package/tools/figma-spec/validate_spec.py +153 -0
- package/tools/figma-spec/yaml_io.py +22 -0
- package/workflows/figma-to-code.md +26 -0
- package/workflows/mobile-harness.md +39 -11
- package/workflows/new-screen.md +2 -2
package/AGENTS.md
CHANGED
|
@@ -101,7 +101,7 @@ Use the agent at agents/android/code-reviewer/agent.md to review this file:
|
|
|
101
101
|
| Release Notes Generator | `agents/cross-platform/release-notes-generator/` | All | Git commits → user-facing release notes |
|
|
102
102
|
| CI/CD Pipeline Generator | `agents/cross-platform/ci-cd-generator/` | All | Generates GitHub Actions / Bitrise / Fastlane configs |
|
|
103
103
|
| Store Listing Writer | `agents/cross-platform/store-listing-writer/` | All | Play Store / App Store descriptions optimised for ASO |
|
|
104
|
-
| Mobile Harness | `agents/cross-platform/mobile-harness/` | All | Guide
|
|
104
|
+
| Mobile Harness | `agents/cross-platform/mobile-harness/` | All | Guide projects from idea through verified delivery; enterprise mode adds policy, risk gates, scoped changes, rollback, and auditable evidence |
|
|
105
105
|
|
|
106
106
|
---
|
|
107
107
|
|
|
@@ -109,6 +109,10 @@ Use the agent at agents/android/code-reviewer/agent.md to review this file:
|
|
|
109
109
|
|
|
110
110
|
Use `skills/cross-platform/mobile-mcp-qa.md` and `workflows/mobile-mcp-qa.md` when a user wants device, emulator, or simulator QA through Mobile MCP. This belongs after implementation, during APPFORGE UI match review, full QA, launch readiness, or screenshot validation.
|
|
111
111
|
|
|
112
|
+
## Enterprise Mobile Harness
|
|
113
|
+
|
|
114
|
+
Use `HARNESS_POLICY.json` when a team needs governed Mobile Harness runs. Initialize it with `npx mobile-ai-agents harness policy init --profile enterprise`, validate it, then follow `docs/mobile-harness-enterprise.md`. Governed runs must classify risk, constrain scope, enforce required gates, define rollback for high-risk work, and produce schema-backed `result.json` plus SHA-256 `evidence.json`.
|
|
115
|
+
|
|
112
116
|
## Android ANR Investigation
|
|
113
117
|
|
|
114
118
|
Use `skills/android/anr-investigation.md` when a user provides an Android ANR trace, Play Console cluster, Crashlytics ANR, `ApplicationExitInfo`, or related source code. The skill requires evidence-based thread, lock, binder, and timeout analysis before recommending a fix.
|
|
@@ -226,3 +230,9 @@ Short version:
|
|
|
226
230
|
## Questions / Discussion
|
|
227
231
|
|
|
228
232
|
Open a GitHub Discussion or Issue. PRs are always welcome.
|
|
233
|
+
|
|
234
|
+
## Figma Design Handoff
|
|
235
|
+
|
|
236
|
+
Use `skills/cross-platform/figma-mcp-setup.md` for connection setup, `skills/cross-platform/figma-spec-harvest.md` for source-traced specs, and `skills/cross-platform/figma-to-implementation.md` for native integration. Follow `workflows/figma-to-code.md` for the full pipeline. Setup examples are in `docs/figma-mcp.md`. Preserve the existing platform and never claim live design fidelity without captured evidence.
|
|
237
|
+
|
|
238
|
+
Portable Figma helpers: `npx mobile-ai-agents figma tools init`. Read `tools/figma-spec/README.md`, run fresh crosschecks and strict source validation, then verify native implementation evidence separately.
|
package/CLAUDE.md
CHANGED
|
@@ -86,7 +86,7 @@ mobile-ai-agents/
|
|
|
86
86
|
| **FORGE** | `agents/gaming/forge/` | Unity | C# performance + frame budget + architecture |
|
|
87
87
|
| **UNREAL** | `agents/gaming/unreal/` | Unreal | Blueprint → C++ + performance + GC safety |
|
|
88
88
|
| **APPFORGE** | `agents/cross-platform/appforge/` | All | Rough app idea → PRD → tasks → QA → Play Store |
|
|
89
|
-
| **MOBILE-HARNESS** | `agents/cross-platform/mobile-harness/` | All | Build
|
|
89
|
+
| **MOBILE-HARNESS** | `agents/cross-platform/mobile-harness/` | All | Build and verify mobile work; enterprise mode adds policy gates, risk, rollback, and auditable evidence |
|
|
90
90
|
| **CRASHER** | `agents/cross-platform/crasher/` | All | Crash log → root cause → fix |
|
|
91
91
|
| **SENTINEL** | `agents/cross-platform/sentinel/` | All | OWASP Mobile Top 10 security audit |
|
|
92
92
|
| **Mobile Memory** | `agents/cross-platform/mobile-memory/` | All | Mobile knowledge graph + context preservation |
|
|
@@ -234,3 +234,7 @@ See `CONTRIBUTING.md` for the full guide.
|
|
|
234
234
|
## Release Process
|
|
235
235
|
|
|
236
236
|
For npm releases, follow `docs/release-process.md`. Do not run `npm publish` manually. Update `package.json`, commit, create a local `vX.Y.Z` tag, push `main`, then push the tag so GitHub Actions publishes npm.
|
|
237
|
+
|
|
238
|
+
## Figma specs and implementation
|
|
239
|
+
|
|
240
|
+
Use `/figma-mcp-setup` to connect official Figma MCP, `/figma-spec-harvest` to extract source-traced specs, and `/figma-to-implementation` to build in the existing native platform. FIGMA handles both specs and implementation modes; `/figma-to-code` is the complete workflow. Install portable helpers with `npx mobile-ai-agents figma tools init`, then follow `tools/figma-spec/README.md`. Run fresh crosschecks and strict source validation; verify native builds, behavior and runtime screenshots separately. See `docs/figma-mcp.md`.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**The complete AI dev team for mobile engineers.**
|
|
4
4
|
|
|
5
|
-
19 personality-driven agents ·
|
|
5
|
+
19 personality-driven agents · 56 composable skills · 17 end-to-end workflows
|
|
6
6
|
Android · iOS · Flutter · React Native · Kotlin Multiplatform · Unity · Unreal
|
|
7
7
|
|
|
8
8
|
[](https://www.npmjs.com/package/mobile-ai-agents)
|
|
@@ -217,11 +217,11 @@ Not sure where to begin? Pick your situation:
|
|
|
217
217
|
|---|---|---|
|
|
218
218
|
| Platform knowledge | Generic | Android · iOS · Flutter · React Native · Unity · Unreal |
|
|
219
219
|
| Agent personalities | None | 19 named specialists with opinions |
|
|
220
|
-
| Real workflows | No |
|
|
220
|
+
| Real workflows | No | 17 end-to-end processes |
|
|
221
221
|
| Real examples | Toy pseudocode | Production code input/output pairs |
|
|
222
222
|
| Installable | Copy-paste | `npx mobile-ai-agents install` |
|
|
223
223
|
| Severity levels | None | CRITICAL · WARNING · INFO |
|
|
224
|
-
| Slash commands | No |
|
|
224
|
+
| Slash commands | No | 56 composable skills |
|
|
225
225
|
|
|
226
226
|
---
|
|
227
227
|
|
|
@@ -308,6 +308,9 @@ Not sure where to begin? Pick your situation:
|
|
|
308
308
|
### Cross-Platform
|
|
309
309
|
| Skill | What It Does |
|
|
310
310
|
|---|---|
|
|
311
|
+
| `/figma-mcp-setup` | Connect official Figma MCP and verify frame access |
|
|
312
|
+
| `/figma-spec-harvest` | Figma → traceable requirements, tokens, component specs and references |
|
|
313
|
+
| `/figma-to-implementation` | Design contract → integrated UI in your existing platform |
|
|
311
314
|
| `/grill-mobile` | 20 questions before any mobile code is written |
|
|
312
315
|
| `/mobile-app-design` | Lovable/Stitch-style mobile UI generation, redesigns, and full app reskins |
|
|
313
316
|
| `/crash-triage` | Paste stacktrace → root cause → fix |
|
|
@@ -330,13 +333,14 @@ Not sure where to begin? Pick your situation:
|
|
|
330
333
|
|
|
331
334
|
## Workflows
|
|
332
335
|
|
|
333
|
-
|
|
336
|
+
17 end-to-end processes that chain agents and skills together.
|
|
334
337
|
|
|
335
338
|
| Workflow | What It Covers |
|
|
336
339
|
|---|---|
|
|
337
340
|
| `feature-ship` | Ticket → /grill-mobile → /feature-slice → implement → review → test → PR |
|
|
338
341
|
| `crash-to-fix` | Crash alert → CRASHER → fix → regression test → deploy |
|
|
339
342
|
| `app-launch` | Release build → SENTINEL → PERF → LAUNCHPAD → SCRIBE → /release-prep → store |
|
|
343
|
+
| `figma-to-code` | Figma MCP setup → spec harvest → native implementation → visual and behavior verification |
|
|
340
344
|
| `new-screen` | Figma spec → FIGMA → implement → review → performance check |
|
|
341
345
|
| `ci-setup` | PIPELINE → generate config → secrets → test → document |
|
|
342
346
|
| `release-cycle` | Feature freeze → CRASHER → SENTINEL → SCRIBE → /release-prep → staged rollout |
|
|
@@ -439,6 +443,13 @@ device-proof-report
|
|
|
439
443
|
|
|
440
444
|
Mobile Harness is the Loop Engineering orchestrator for Mobile AI Agents. It can start from a rough app idea or an existing codebase, then coordinate APPFORGE, Mobile Memory, platform reviewers, tests, UI verification, Mobile MCP QA, accessibility, performance, security, release prep, and store/growth work.
|
|
441
445
|
|
|
446
|
+
For larger engineering organizations, Mobile Harness supports a governed execution contract with repository policy, run IDs, baseline commits, change budgets, risk-based gates, protected paths, accountable exceptions, rollback plans, SHA-256 evidence manifests, and machine-readable CI results. See [Mobile Harness Enterprise Contract](docs/mobile-harness-enterprise.md).
|
|
447
|
+
|
|
448
|
+
```bash
|
|
449
|
+
npx mobile-ai-agents harness policy init --profile enterprise
|
|
450
|
+
npx mobile-ai-agents harness policy validate
|
|
451
|
+
```
|
|
452
|
+
|
|
442
453
|
Use it when you want to define the goal once and have the system keep moving through the app-building loop without repeating the same manual prompts at every stage.
|
|
443
454
|
|
|
444
455
|
Use `BEGINNER_GUIDED` mode when this is your first mobile app or you are unsure about the platform or stack. Use APPFORGE alone when you only want planning documents; use Mobile Harness when you want implementation, verification, device proof, memory, and the next task too.
|
|
@@ -550,7 +561,7 @@ Design direction: Playful gamified, polished consumer app. Colorful but clean. S
|
|
|
550
561
|
Ask clarification first if needed, then run the full loop without asking me to repeat the idea.
|
|
551
562
|
```
|
|
552
563
|
|
|
553
|
-
|
|
564
|
+
Guides: [Mobile Harness](docs/mobile-harness.md) · [Enterprise Contract](docs/mobile-harness-enterprise.md)
|
|
554
565
|
|
|
555
566
|
---
|
|
556
567
|
|
|
@@ -696,3 +707,7 @@ If Mobile AI Agents saved you time, a star helps others find it.
|
|
|
696
707
|
---
|
|
697
708
|
|
|
698
709
|
*Built for mobile engineers who ship real apps.*
|
|
710
|
+
|
|
711
|
+
## Figma MCP: from design to implementation
|
|
712
|
+
|
|
713
|
+
Start with the [Figma setup and usage guide](docs/figma-mcp.md). Install the toolkit, connect your assistant to Figma, then use `/figma-spec-harvest` for specs or `/figma-to-code` for the complete workflow. Works with Android, iOS, Flutter, React Native, KMP, Unity, Unreal, and other explicitly selected repository stacks. Build and screenshot verification require the corresponding local tools. Install portable harvest/crosscheck/image helpers in your project with `npx mobile-ai-agents figma tools init`; existing files are preserved.
|
|
@@ -90,6 +90,8 @@ Create `PRD.md` with product overview, target audience, personas, core features,
|
|
|
90
90
|
|
|
91
91
|
Create a low-cost design plan using Pencil Project, Figma free plan, Penpot, Excalidraw, Canva free, or hand-drawn wireframes.
|
|
92
92
|
|
|
93
|
+
When Figma is supplied, use `/figma-spec-harvest` before design planning. Carry source node IDs, AC IDs, open questions, token/component gaps and reference screenshots into DESIGN.md. Connect MCP with `/figma-mcp-setup` if needed; record disconnected reads as unverified. Preserve existing stage approval rules.
|
|
94
|
+
|
|
93
95
|
Output includes screen list, wireframe descriptions, design system, colors, typography, component list, states, and screenshot plan.
|
|
94
96
|
|
|
95
97
|
Before creating the design plan, confirm or infer the design direction:
|
|
@@ -114,7 +116,7 @@ Create:
|
|
|
114
116
|
- `DEPENDENCIES.md`
|
|
115
117
|
- `ROADMAP.md`
|
|
116
118
|
|
|
117
|
-
Each task includes title, goal, dependencies, likely files, acceptance criteria, QA checklist, complexity, and implementation notes.
|
|
119
|
+
Each task includes title, goal, dependencies, likely files, acceptance criteria, QA checklist, complexity, and implementation notes. For harvested Figma scope, include component spec paths, node/AC IDs and verification methods. Do not treat proposed criteria as approved or lose unresolved questions during task breakdown.
|
|
118
120
|
|
|
119
121
|
### Stage 5 — Implementation Loop
|
|
120
122
|
|
|
@@ -138,7 +140,7 @@ For every subtask:
|
|
|
138
140
|
|
|
139
141
|
After each feature implementation, compare UI against design for layout, spacing, typography, colors, components, responsiveness, empty states, loading states, error states, and accessibility.
|
|
140
142
|
|
|
141
|
-
Output
|
|
143
|
+
Output differences, fixes, priority and captured evidence. If reporting a numerical match, include method, threshold/tolerance and matched viewport/state/theme; an unmeasured percentage remains unverified.
|
|
142
144
|
|
|
143
145
|
### Stage 7 — Full QA
|
|
144
146
|
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
# FIGMA — Design-to-Code Translator
|
|
2
2
|
|
|
3
|
-
**Platform:** Cross-Platform (
|
|
4
|
-
**Personality:**
|
|
3
|
+
**Platform:** Cross-Platform (Android / iOS / Flutter / React Native / KMP / Unity / Unreal / other selected stacks)
|
|
4
|
+
**Personality:** Precise about design evidence, honest about verification.
|
|
5
5
|
**Category:** UI / Design Handoff
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## Purpose
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Extracts source-traced Figma specifications and translates them into native UI in the target repository. Supports connected MCP reads and supplied descriptions/exports, with explicit coverage and verification limits.
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
## Input Format
|
|
16
16
|
|
|
17
17
|
```
|
|
18
|
-
|
|
18
|
+
MODE: <specs | implementation; default implementation>
|
|
19
|
+
PLATFORM: <repository stack or explicit target>
|
|
20
|
+
FIGMA_URL: <optional frame link including node-id>
|
|
21
|
+
SPEC_PATH: <optional harvested contract folder>
|
|
22
|
+
SCOPE: <optional page/node scope; default linked subtree>
|
|
19
23
|
DESIGN_DESCRIPTION:
|
|
20
|
-
<
|
|
24
|
+
<Supply this when no accessible URL or harvested contract is available:>
|
|
21
25
|
- Component name and purpose
|
|
22
26
|
- Layout: dimensions, padding, spacing (in dp/pt)
|
|
23
27
|
- Typography: font, weight, size, color (hex or design token)
|
|
@@ -35,12 +39,29 @@ EXISTING_COMPONENTS: <optional: list reusable components already in your codebas
|
|
|
35
39
|
|
|
36
40
|
## Output Format
|
|
37
41
|
|
|
42
|
+
For `MODE: specs` return this schema (use zero counts and explicit unverified checks when disconnected):
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
FIGMA SPECS
|
|
46
|
+
===========
|
|
47
|
+
Source: <URL or supplied input>
|
|
48
|
+
Scope: <requested; inspected; skipped; unreadable>
|
|
49
|
+
Contract: <folder or inline supplied spec>
|
|
50
|
+
Counts: pages=<n>; components=<n>; criteria=<n>; references=<n>
|
|
51
|
+
Verification: <crosscheck pass|fail|unverified; evidence>
|
|
52
|
+
Questions: <blocking questions or none>
|
|
53
|
+
Tasks: <node/component; AC IDs; target; reference>
|
|
54
|
+
Verdict: <READY|PARTIAL|BLOCKED>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
For `MODE: implementation` use the format below:
|
|
58
|
+
|
|
38
59
|
```
|
|
39
60
|
FIGMA TRANSLATION
|
|
40
61
|
=================
|
|
41
62
|
Component: <name>
|
|
42
63
|
Platform: <platform>
|
|
43
|
-
Accessibility: <
|
|
64
|
+
Accessibility: <target A | AA | AAA; verified or unverified>
|
|
44
65
|
|
|
45
66
|
COMPONENT CODE
|
|
46
67
|
--------------
|
|
@@ -64,11 +85,11 @@ ACCESSIBILITY CHECKLIST
|
|
|
64
85
|
☑/☐ Touch target ≥ 44×44pt / 48×48dp
|
|
65
86
|
☑/☐ Color contrast ≥ 4.5:1 (AA)
|
|
66
87
|
☑/☐ Focus order correct
|
|
67
|
-
☑/☐ Screen reader tested (
|
|
88
|
+
☑/☐ Screen reader tested (actual evidence or unverified)
|
|
68
89
|
|
|
69
90
|
NOTES
|
|
70
91
|
-----
|
|
71
|
-
<
|
|
92
|
+
<Deviations, node/AC-to-file mapping, actual checks/evidence, open gaps; verdict VERIFIED|IMPLEMENTED_UNVERIFIED|BLOCKED>
|
|
72
93
|
```
|
|
73
94
|
|
|
74
95
|
---
|
|
@@ -76,42 +97,36 @@ NOTES
|
|
|
76
97
|
## System Prompt
|
|
77
98
|
|
|
78
99
|
```
|
|
79
|
-
You are FIGMA
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
- Add accessibilityLabel and accessibilityRole to interactive elements.
|
|
110
|
-
- Touch targets: minHeight: 44, minWidth: 44 (iOS) / 48, 48 (Android).
|
|
111
|
-
- Use Animated.Value or Reanimated 2 for interactions.
|
|
112
|
-
|
|
113
|
-
Always implement ALL states described. Flag any design property that is not achievable on
|
|
114
|
-
the target platform and suggest the closest native equivalent.
|
|
100
|
+
You are FIGMA, a design handoff and native UI engineer. Detect the repository's
|
|
101
|
+
framework, architecture, tokens, components and state management. Never switch
|
|
102
|
+
platforms because MCP returns React/Tailwind code.
|
|
103
|
+
|
|
104
|
+
Discover Figma tools and load vendor prerequisites. Read the linked subtree or
|
|
105
|
+
explicit scope in bounded batches: variants, nested requirements/copy, variables
|
|
106
|
+
and screenshots. Keep Figma read-only. Record unknown values and unreadable scope.
|
|
107
|
+
Separate observed values, derived criteria and proposed behavior; retain source
|
|
108
|
+
node IDs/text. Screenshots cannot establish hidden behavior or exact tokens.
|
|
109
|
+
|
|
110
|
+
In specs mode follow figma-spec-harvest guidance when available. Save a contract,
|
|
111
|
+
cross-check against fresh reads, and report coverage, questions and tasks using
|
|
112
|
+
the SPECS format. Supplied descriptions remain supplied evidence, not live reads.
|
|
113
|
+
|
|
114
|
+
In implementation mode follow figma-to-implementation guidance when available.
|
|
115
|
+
Reuse native components and semantic tokens; trace nodes/criteria to changed files.
|
|
116
|
+
Preserve API contracts and resolve blockers before dependent edits. Translate Auto
|
|
117
|
+
Layout into responsive native constraints and logical units. Preserve safe areas,
|
|
118
|
+
text scaling, keyboard/focus behavior, accessibility, variants and actions.
|
|
119
|
+
Android/iOS use existing Compose/XML or SwiftUI/UIKit. Flutter requires bounded
|
|
120
|
+
flex/scroll/Stack layouts. React Native preserves navigation and virtualization.
|
|
121
|
+
KMP respects shared/native ownership. Unity/Unreal preserve UI systems, anchors,
|
|
122
|
+
DPI scaling and controller focus. Other targets follow their actual stack.
|
|
123
|
+
Record unavailable fonts/assets and necessary deviations without silent substitution.
|
|
124
|
+
|
|
125
|
+
Run relevant checks and compare captured runtime UI with design references at
|
|
126
|
+
matched viewport, theme and state. Report commands, actual evidence and gaps.
|
|
127
|
+
Never claim build, contrast, visual or screen-reader checks passed without evidence;
|
|
128
|
+
unrun checks remain unverified. Accessibility is a target, not certification.
|
|
129
|
+
Use the selected mode's exact output; code may be returned or linked to edited files.
|
|
115
130
|
|
|
116
131
|
Output MUST follow the exact format specified. Do not add extra sections or omit any section.
|
|
117
132
|
```
|
|
@@ -228,14 +243,16 @@ ACCESSIBILITY CHECKLIST
|
|
|
228
243
|
☑ Touch target ≥ 48×48dp (height is 56dp, fills width)
|
|
229
244
|
☑ Color contrast ≥ 4.5:1 (white on #1A73E8 = 4.62:1 — passes AA)
|
|
230
245
|
☑ Focus order correct (default focus traversal)
|
|
231
|
-
|
|
246
|
+
☐ Screen reader: unverified; native Button semantics alone do not prove runtime testing
|
|
232
247
|
|
|
233
248
|
NOTES
|
|
234
249
|
-----
|
|
235
250
|
- The #1557B0 pressed state is delivered via Material3's built-in ripple indication on
|
|
236
251
|
top of the base color. If you need the exact hex, override indication with a custom
|
|
237
252
|
PressedColor in ButtonDefaults.
|
|
238
|
-
-
|
|
253
|
+
- Source is a supplied description; no live Figma node/AC mapping is available.
|
|
254
|
+
- Build, visual match and runtime accessibility checks: unverified.
|
|
255
|
+
- Verdict: IMPLEMENTED_UNVERIFIED.
|
|
239
256
|
```
|
|
240
257
|
|
|
241
258
|
---
|
|
@@ -244,4 +261,5 @@ NOTES
|
|
|
244
261
|
|
|
245
262
|
- The more precise your design description (exact px/dp, font weights, hex values), the more accurate the output.
|
|
246
263
|
- For design system integration, provide your existing token names — FIGMA will use them instead of raw values.
|
|
247
|
-
-
|
|
264
|
+
- Original component prompt tested with: Claude Sonnet 4.6. Revised MCP/specs workflow reviewed in Codex; live Figma and platform runtime checks not performed.
|
|
265
|
+
- Full setup and pipeline: [Figma MCP guide](../../../docs/figma-mcp.md), [Figma to code workflow](../../../workflows/figma-to-code.md).
|