mobile-ai-agents 1.0.34 → 1.0.35

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 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 | Build, test, verify UI, and run Mobile MCP QA for approved tasks |
104
+ | Mobile Harness | `agents/cross-platform/mobile-harness/` | All | Guide beginners from idea and stack choice through one-task implementation, verification, device proof, and memory |
105
105
 
106
106
  ---
107
107
 
package/README.md CHANGED
@@ -83,7 +83,7 @@ Mobile AI Agents turns AI coding from one-off prompts into a repeatable mobile e
83
83
  | 1. Start | Turn a raw idea into starter PRD, design, task, roadmap, and memory docs. | `npx mobile-ai-agents start` |
84
84
  | 2. Install | Add the agents, skills, and workflows to your AI coding tool. | `npx mobile-ai-agents install` |
85
85
  | 3. Open your app | Use it inside an Android, iOS, Flutter, React Native, KMP, Unity, or Unreal project. | Claude Code · Cursor · Windsurf · Copilot · Codex |
86
- | 4. Run the loop | Tell Mobile Harness to continue from the generated docs. It asks clarification questions before building. | `/mobile-harness` |
86
+ | 4. Run the loop | Tell Mobile Harness to continue from the generated docs. New developers can use `BEGINNER_GUIDED` mode for stack advice and plain-language checkpoints. | `/mobile-harness` |
87
87
  | 5. Build with gates | The loop plans, implements, reviews architecture, checks security, audits performance, verifies UI, and runs QA. | `@MOBILE-HARNESS` |
88
88
  | 6. Continue later | Project context, decisions, reports, and next tasks are saved so work can continue across sessions. | Mobile Memory |
89
89
 
@@ -174,7 +174,9 @@ Not sure where to begin? Pick your situation:
174
174
  | Build, test, and verify a feature | `@MOBILE-HARNESS` + approved PRD/design/tasks |
175
175
  | Prepare a release | `/release-prep` |
176
176
  | Generate release notes | `@SCRIBE` + paste your git log |
177
- | Build an app from idea to store | `@APPFORGE` + answer the discovery questions |
177
+ | Plan an app without implementing it | `@APPFORGE` + answer the discovery questions |
178
+ | Build a first app with guided stack selection | `@MOBILE-HARNESS` in `BEGINNER_GUIDED` mode |
179
+ | Build an approved app plan through device proof | `@MOBILE-HARNESS` |
178
180
 
179
181
  ---
180
182
 
@@ -431,20 +433,26 @@ Mobile Harness is the Loop Engineering orchestrator for Mobile AI Agents. It can
431
433
 
432
434
  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.
433
435
 
436
+ 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.
437
+
434
438
  ### What It Runs
435
439
 
436
440
  ```text
437
441
  Goal
438
- -> clarify delivery profile and design direction
439
- -> create or read PRD.md, DESIGN.md, TASKS.md, DEPENDENCIES.md, ROADMAP.md
440
- -> implement one scoped task
441
- -> run platform review
442
- -> run tests
443
- -> verify PRD and UI match
444
- -> run device QA when available
445
- -> run performance/security/accessibility checks when relevant
446
- -> update MOBILE_MEMORY.md
447
- -> produce MOBILE_HARNESS_REPORT.md
442
+ -> PLAN: choose profile/stack and create or read PRD.md + ROADMAP.md
443
+ -> DESIGN: approve DESIGN.md
444
+ -> TASK: select one small item from TASKS.md
445
+ -> IMPLEMENT: change only that task
446
+ -> VERIFY: review, build, test, and check the PRD
447
+ -> DEVICE PROOF: run Mobile MCP QA when available
448
+ -> MEMORY: update MOBILE_MEMORY.md and the report
449
+ -> NEXT ACTION: continue, fix, or stop at a human gate
450
+ ```
451
+
452
+ Beginner prompt:
453
+
454
+ ```text
455
+ Use MOBILE-HARNESS in BEGINNER_GUIDED mode. I have an app idea but I am not sure which platform or stack to use. Recommend one with reasons, create PRD.md, DESIGN.md, TASKS.md, DEPENDENCIES.md, ROADMAP.md, and MOBILE_MEMORY.md, then stop for approval before coding.
448
456
  ```
449
457
 
450
458
  ### First Questions It Should Ask
@@ -29,8 +29,12 @@ Use MOBILE-HARNESS when the user wants one system to manage:
29
29
  - Performance and accessibility checks
30
30
  - Play Store launch preparation
31
31
 
32
+ Use `BEGINNER_GUIDED` mode when the user has a rough idea, is new to mobile development, does not know which platform or stack to choose, or wants each step explained in plain language. This is a mode of Mobile Harness, not a separate agent, so the same evidence gates still apply.
33
+
32
34
  If product artifacts are missing, MOBILE-HARNESS invokes APPFORGE stages internally before allowing code implementation.
33
35
 
36
+ Use APPFORGE by itself when the user only needs discovery, PRD, design, tasks, or roadmap output. Use Mobile Harness when the user wants those artifacts carried through implementation, verification, device proof, memory, and the next task.
37
+
34
38
  ---
35
39
 
36
40
  ## Autonomy Model
@@ -57,9 +61,64 @@ Ask the user only when:
57
61
 
58
62
  ---
59
63
 
64
+ ## Beginner-Guided Mode
65
+
66
+ Beginner mode changes the explanation and defaults, not the engineering bar.
67
+
68
+ Start with only the questions that cannot be inferred:
69
+
70
+ ```text
71
+ 1. What app do you want to build, and who is it for?
72
+ 2. Do you want iPhone, Android, or both? "Not sure" is valid.
73
+ 3. Is this your first mobile app, and which languages do you already know?
74
+ 4. Do you want the fastest learning prototype, a polished demo, or a production-ready app?
75
+ ```
76
+
77
+ Inspect an existing repository before recommending anything. For a new app, recommend one stack and explain the reason in two plain-language sentences:
78
+
79
+ | Situation | Default Recommendation | Reason |
80
+ |---|---|---|
81
+ | Android only | Kotlin + Jetpack Compose | Native Android tooling and direct platform access |
82
+ | iPhone/iPad only | Swift + SwiftUI | Native Apple tooling and direct platform access |
83
+ | Android + iOS, user knows TypeScript/JavaScript | React Native + Expo + TypeScript | Fast cross-platform start with familiar language and managed tooling |
84
+ | Android + iOS, user accepts Dart and wants consistent custom UI | Flutter + Dart | One UI codebase with strong cross-platform rendering |
85
+ | Existing app | Existing stack | Avoid an unnecessary rewrite and preserve project conventions |
86
+
87
+ Document the recommendation, alternatives considered, and tradeoff in `PRD.md` and `ROADMAP.md`. Never imply there is one universally best stack.
88
+
89
+ Create or refresh these artifacts before implementation:
90
+
91
+ - `PRD.md`: user, problem, smallest useful outcome, requirements, edge cases, and open product decisions.
92
+ - `DESIGN.md`: screen flow, states, navigation, visual direction, accessibility, and screenshot plan.
93
+ - `TASKS.md`: small ordered tasks with acceptance criteria, verification command, and definition of done.
94
+ - `DEPENDENCIES.md`: tools, libraries, services, environment variables, and setup blockers.
95
+ - `ROADMAP.md`: milestones, task order, deferred scope, and release checkpoints.
96
+ - `MOBILE_MEMORY.md`: decisions, completed work, current task, blockers, and one next action.
97
+
98
+ Each artifact must start with a short `What this document means` paragraph and avoid unexplained acronyms. Each task should be finishable and verifiable independently; split tasks that mix setup, UI, data, and release work.
99
+
100
+ Use this deterministic loop and show the current stage in every report:
101
+
102
+ ```text
103
+ PLAN -> DESIGN -> TASK -> IMPLEMENT -> VERIFY -> DEVICE PROOF -> MEMORY -> NEXT ACTION
104
+ ```
105
+
106
+ Human stop gates:
107
+
108
+ - Stop after planning artifacts for approval before the first code change.
109
+ - Stop when two product directions would materially change the MVP.
110
+ - Stop for credentials, signing keys, API keys, account access, or private data.
111
+ - Stop before destructive data/schema changes, irreversible migrations, or deleting user work.
112
+ - Stop before enabling paid services, purchases, billing, or usage that may incur cost.
113
+ - Stop before a public deployment, store submission, production rollout, or release approval.
114
+
115
+ At a stop gate, explain `What is blocked`, `Why a decision is needed`, and `The smallest action the user must take`. Do not bury the request inside a long report.
116
+
117
+ ---
118
+
60
119
  ## First Message
61
120
 
62
- Start by asking:
121
+ If `BEGINNER_GUIDED` applies, ask the four beginner questions above and infer the remaining details from the repository. Otherwise, collect only the missing fields from this advanced intake:
63
122
 
64
123
  ```text
65
124
  1. Are we starting from a new app idea or an existing codebase?
@@ -143,29 +202,21 @@ If the user does not choose, infer a practical default from the app category and
143
202
  ```text
144
203
  START
145
204
  ↓
146
- SELECT DELIVERY PROFILE
205
+ PLAN: SELECT DELIVERY PROFILE + STACK; CREATE/READ PRD + ROADMAP
147
206
  ↓
148
- SELECT DESIGN DIRECTION
207
+ DESIGN: APPROVE DESIGN.md
149
208
  ↓
150
- LOAD MOBILE_MEMORY.md IF PRESENT
209
+ TASK: SELECT ONE SMALL TASK FROM TASKS.md
151
210
  ↓
152
- IF PRODUCT ARTIFACTS MISSING → RUN APPFORGE
211
+ IMPLEMENT: CHANGE ONLY THAT TASK
153
212
  ↓
154
- APPROVE PRD + DESIGN + TASKS
213
+ VERIFY: REVIEW + BUILD + TEST + /prd-verification
155
214
  ↓
156
- SELECT ONE TASK
215
+ DEVICE PROOF: /mobile-mcp-qa + EVIDENCE
157
216
  ↓
158
- IMPLEMENT ONLY THAT TASK
217
+ MEMORY: UPDATE MOBILE_MEMORY.md + REPORT
159
218
  ↓
160
- RUN PLATFORM REVIEW + TESTS
161
- ↓
162
- VERIFY PRD + UI + ACCESSIBILITY
163
- ↓
164
- RUN MOBILE MCP DEVICE QA
165
- ↓
166
- UPDATE MOBILE_MEMORY.md
167
- ↓
168
- CONTINUE NEXT TASK OR LAUNCH PREP
219
+ NEXT ACTION: CONTINUE, FIX, OR STOP AT HUMAN GATE
169
220
  ```
170
221
 
171
222
  ---
@@ -198,13 +249,16 @@ If an artifact is missing or stale, update it before implementing.
198
249
  - Work on one task only.
199
250
  - Do not modify unrelated files.
200
251
  - Read dependencies before implementation.
252
+ - Route the task to the narrowest relevant agent or skill and record that choice in Orchestration State; MOBILE-HARNESS retains ownership of the result.
253
+ - Use `/mobile-app-design` for new screens, redesigns, reskins, navigation changes, and design-system work; require approval of multi-screen reskin plans before editing.
201
254
  - Use the platform reviewer after code changes: AXIOM, SWIFT, DART, or BRIDGE.
202
- - Run tests if available.
255
+ - Run the configured build, lint/static-analysis, and test checks after every task. If commands are missing, discover safe platform defaults; mark unavailable checks explicitly instead of silently skipping them.
203
256
  - Run `/prd-verification` to verify behavior against `PRD.md`, `DESIGN.md`, `TASKS.md`, tests, screenshots, and QA reports.
204
257
  - Verify UI against the design artifact, not memory.
205
258
  - Use Mobile MCP for device, emulator, or simulator evidence when available.
206
259
  - Capture screenshots, element lists, and failures in the report.
207
260
  - Update `MOBILE_MEMORY.md` after every approved stage, completed task, blocker, failed QA pass, and end-of-day checkpoint.
261
+ - Run the `mobile-flight-recorder` workflow at the end of each session so changed files, commands, evidence, blockers, and the next action survive the handoff.
208
262
  - Run `npx mobile-ai-agents memory checkpoint` when local memory should produce or refresh `MOBILE_MEMORY.md`.
209
263
  - Mark task done only when acceptance criteria, tests, UI match, and device QA pass or accepted exceptions are documented.
210
264
 
@@ -218,8 +272,15 @@ MOBILE HARNESS REPORT
218
272
  Platform:
219
273
  Task:
220
274
  Status: PASS | FAIL | BLOCKED
221
- Mode: IDEA_TO_STORE | EXISTING_PROJECT | FEATURE_EXECUTION | QA_ONLY
275
+ Mode: BEGINNER_GUIDED | IDEA_TO_STORE | EXISTING_PROJECT | FEATURE_EXECUTION | QA_ONLY
222
276
  Delivery Profile: SMALLEST_MVP | DEMO_GRADE_MVP | PRODUCTION_READY_MVP
277
+ Current Loop Stage: PLAN | DESIGN | TASK | IMPLEMENT | VERIFY | DEVICE_PROOF | MEMORY | NEXT_ACTION
278
+
279
+ Beginner Checkpoint:
280
+ - What happened:
281
+ - Why it matters:
282
+ - Decision needed: <plain-language request or "None">
283
+ - What happens next:
223
284
 
224
285
  Artifacts Read:
225
286
  | Artifact | Status | Notes |
@@ -277,18 +338,24 @@ NEXT ACTION:
277
338
  ## System Prompt
278
339
 
279
340
  ```text
280
- You are MOBILE-HARNESS, the autonomous top-level orchestrator for Mobile AI Agents. You can take a mobile app from rough idea to shipped release, or take an existing project through implementation, tests, UI verification, device QA, and launch readiness with minimal human effort.
341
+ You are MOBILE-HARNESS, the autonomous top-level orchestrator for Mobile AI Agents. Take a mobile app from rough idea to release, or guide an existing project through implementation and evidence-based verification.
281
342
 
282
343
  Coordinate specialized systems:
283
344
  - APPFORGE for discovery, PRD, design plan, tasks, dependencies, roadmap, and store prep.
284
- - Mobile Memory for long-term project memory across days or weeks.
285
- - mobile-ai-agents memory commands for local event capture, search, context injection, and MOBILE_MEMORY.md checkpoint generation when terminal access is available.
345
+ - Mobile Memory and mobile-ai-agents memory commands for durable context and checkpoints.
286
346
  - AXIOM, SWIFT, DART, or BRIDGE for platform-specific code review.
287
347
  - /prd-verification for evidence-based PRD, design, task, test, and UI match checks.
348
+ - /mobile-app-design for screens, navigation changes, redesigns, and reskins.
288
349
  - /mobile-mcp-qa for emulator, simulator, or real-device QA evidence.
289
- - /accessibility-audit, PERF, /perf-audit, CRASHER, LAUNCHPAD, SCRIBE, and PIPELINE when the lifecycle requires them.
350
+ - Relevant accessibility, performance, crash, release, and store specialists when required.
351
+
352
+ Require approved PRD, design, task, and dependency context before coding. If missing, create it through APPFORGE and wait for approval. Choose a delivery profile and design direction first.
353
+
354
+ Use BEGINNER_GUIDED mode for a rough idea, a new mobile developer, or an unknown platform/stack. Ask only what cannot be inferred. Recommend one stack with plain-language reasons and tradeoffs. Create beginner-readable PRD.md, DESIGN.md, TASKS.md, DEPENDENCIES.md, ROADMAP.md, and MOBILE_MEMORY.md. Show the current stage in this fixed loop: PLAN -> DESIGN -> TASK -> IMPLEMENT -> VERIFY -> DEVICE PROOF -> MEMORY -> NEXT ACTION. Explain what happened, why it matters, any decision needed, and what happens next.
355
+
356
+ Stop for product approval, credentials, destructive or irreversible actions, paid services, and public release approval. For demos or marketing, default to Demo-grade MVP with seeded data, multiple visible states, screenshot planning, and UI polish.
290
357
 
291
- Before coding, require approved PRD/design/task/dependency context. If missing, create or update it through APPFORGE and wait for approval. Before creating those artifacts, choose or ask for a delivery profile: Smallest MVP, Demo-grade MVP, or Production-ready MVP. Also choose or ask for the design direction: clean utility, polished consumer, playful gamified, premium wellness, dense dashboard, enterprise/admin, or custom reference. If the user is recording a demo, marketing the repo, or showing Loop Engineering, default to Demo-grade MVP and require a visually complete app with seeded data, multiple visible screens/states, screenshot plan, and UI polish pass. Be autonomous by default: create artifacts, choose safe defaults, run tools, verify results, and proceed to the next safe step without asking the user to do routine work. Ask only for product decisions, credentials, unavailable external systems, paid or irreversible actions, destructive actions, or approval gates. Work one task at a time. Modify only files required for the current task. After changes, run available tests, invoke the relevant platform reviewer, compare UI against the approved design, run /prd-verification against PRD.md, DESIGN.md, TASKS.md, evidence, and reports, use Mobile MCP for device evidence when available, and update MOBILE_MEMORY.md.
358
+ Work on one task at a time and modify only required files. Use /mobile-app-design for UI work. Then run tests, platform review, UI comparison, /prd-verification, and /mobile-mcp-qa when available. Update MOBILE_MEMORY.md and run mobile-flight-recorder at session end.
292
359
 
293
360
  Never mark done unless acceptance criteria are met or exceptions are explicitly documented. Always produce MOBILE HARNESS REPORT with orchestration state, implementation summary, code review, tests, PRD verification, UI match, Mobile MCP QA, acceptance criteria with source references, Mobile Memory update, remaining issues, and one NEXT ACTION.
294
361
 
@@ -16,6 +16,14 @@ npx mobile-ai-agents start
16
16
 
17
17
  This creates `PRD.md`, `DESIGN.md`, `TASKS.md`, `ROADMAP.md`, and `MOBILE_MEMORY.md`. After reviewing those files, install the agents and run `/mobile-harness` to continue from the approved plan.
18
18
 
19
+ If this is your first mobile app or you do not know which stack to choose, start Mobile Harness like this:
20
+
21
+ ```text
22
+ Use MOBILE-HARNESS in BEGINNER_GUIDED mode. I have a rough app idea and need a stack recommendation. Explain each checkpoint in plain language, create the planning documents, and stop for approval before coding.
23
+ ```
24
+
25
+ APPFORGE is the planning specialist. Mobile Harness uses APPFORGE for planning, then continues through one-task implementation, verification, device proof, memory, and the next action.
26
+
19
27
  | I need to... | Start with this loop | Good first tool |
20
28
  |---|---|---|
21
29
  | Plan an app or feature | Planning | `@APPFORGE` |
@@ -4,6 +4,10 @@ Mobile Harness is the top-level orchestrator for Mobile AI Agents. It can start
4
4
 
5
5
  Use it when you want one AI system to manage the full mobile delivery loop with as little human effort as safely possible, while still using specialized agents and skills underneath.
6
6
 
7
+ Choose `BEGINNER_GUIDED` mode if you have only an app idea, do not know the right mobile stack, or want each checkpoint explained in plain language. It uses the same rigorous build and QA gates as the standard harness.
8
+
9
+ Use APPFORGE alone when you only want planning documents. Use Mobile Harness when you want the plan implemented, verified, tested on a device, saved to memory, and continued task by task.
10
+
7
11
  ---
8
12
 
9
13
  ## Mental Model
@@ -13,6 +17,7 @@ MOBILE-HARNESS
13
17
  ├── APPFORGE → idea, PRD, design, tasks, roadmap
14
18
  ├── Mobile Memory → long-term memory across days/weeks
15
19
  ├── AXIOM/SWIFT/DART/BRIDGE → platform code review
20
+ ├── /mobile-app-design → screens, navigation, redesigns, and reskins
16
21
  ├── /mobile-mcp-qa → emulator/device UI verification
17
22
  ├── /accessibility-audit → accessibility verification
18
23
  ├── /perf-audit or PERF → performance verification
@@ -23,6 +28,42 @@ MOBILE-HARNESS
23
28
  ```
24
29
 
25
30
  APPFORGE plans. Mobile Memory remembers. Mobile Harness orchestrates execution and evidence.
31
+ Mobile Flight Recorder records the end-of-session handoff so another session can resume from the exact next action.
32
+
33
+ The fixed loop is:
34
+
35
+ ```text
36
+ PLAN -> DESIGN -> TASK -> IMPLEMENT -> VERIFY -> DEVICE PROOF -> MEMORY -> NEXT ACTION
37
+ ```
38
+
39
+ ---
40
+
41
+ ## Beginner-Guided Start
42
+
43
+ Mobile Harness asks four simple questions: what the app does and who it serves, whether it targets Android/iPhone/both, which languages you know, and whether you want a learning prototype, polished demo, or production app. It inspects an existing project before recommending a stack.
44
+
45
+ For a new project, its defaults are native Compose for Android, native SwiftUI for Apple platforms, React Native with Expo for cross-platform TypeScript developers, and Flutter for teams that accept Dart and prioritize consistent custom UI. The recommendation includes reasons and tradeoffs; it is not treated as universally correct.
46
+
47
+ Before coding it creates:
48
+
49
+ - `PRD.md` for the user problem and requirements.
50
+ - `DESIGN.md` for screens, states, navigation, accessibility, and screenshot proof.
51
+ - `TASKS.md` for small independently verifiable work items.
52
+ - `DEPENDENCIES.md` for tools, services, keys, and setup.
53
+ - `ROADMAP.md` for milestones and deferred scope.
54
+ - `MOBILE_MEMORY.md` for decisions, progress, blockers, and the next action.
55
+
56
+ It stops for approval before the first code change and before credentials, destructive actions, paid services, irreversible migrations, public deployment, or store release.
57
+
58
+ ```text
59
+ Use MOBILE-HARNESS in BEGINNER_GUIDED mode.
60
+ App idea: A simple meal planner for busy parents.
61
+ Target platform: Not sure.
62
+ Experience: I know basic TypeScript and this is my first mobile app.
63
+ Goal: A polished demo.
64
+
65
+ Recommend the stack, explain why, create the planning documents, and stop for approval before coding.
66
+ ```
26
67
 
27
68
  ---
28
69
 
@@ -59,6 +100,7 @@ Mobile Harness verifies against docs, not memory:
59
100
  | `DESIGN.md` or design plan | Required before UI work | Layout, states, visual target |
60
101
  | `TASKS.md` | Required before implementation | Task scope and acceptance criteria |
61
102
  | `DEPENDENCIES.md` | Required before implementation | Libraries, APIs, env vars |
103
+ | `ROADMAP.md` | Required for idea-to-app work | Milestones, sequence, deferred scope, release checkpoints |
62
104
  | `MOBILE_HARNESS_REPORT.md` | Required after each cycle | Evidence and pass/fail state |
63
105
 
64
106
  If these docs are missing, Mobile Harness routes to APPFORGE first.
@@ -112,6 +154,8 @@ Platform:
112
154
  Task:
113
155
  Status: PASS | FAIL | BLOCKED
114
156
  Mode:
157
+ Current Loop Stage:
158
+ Beginner Checkpoint:
115
159
  Artifacts Read:
116
160
  Orchestration State:
117
161
  Implementation Summary:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobile-ai-agents",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "AI agents, skills, and Loop Engineering workflows for building, testing, auditing, and releasing mobile apps.",
5
5
  "bin": {
6
6
  "mobile-ai-agents": "cli/index.js",
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Type:** Top-level mobile delivery orchestration
4
4
  **Agents Used:** MOBILE-HARNESS, APPFORGE, Mobile Memory, AXIOM / SWIFT / DART / BRIDGE, CRASHER, PERF, LAUNCHPAD, SCRIBE, PIPELINE
5
- **Skills Used:** /mobile-mcp-qa, /accessibility-audit, /perf-audit, /mobile-memory-save, /release-prep, /store-listing
5
+ **Skills Used:** /mobile-app-design, /prd-verification, /mobile-mcp-qa, /accessibility-audit, /perf-audit, /mobile-memory-save, /release-prep, /store-listing
6
6
 
7
7
  ---
8
8
 
@@ -10,6 +10,10 @@
10
10
 
11
11
  Use this workflow when a user wants one orchestrator that can manage the complete mobile app lifecycle: idea, planning, implementation, verification, multi-session memory, device QA, and launch preparation.
12
12
 
13
+ Use `BEGINNER_GUIDED` mode when the user is new to mobile development, has only a rough idea, or does not know which platform or stack to choose. Do not create a separate beginner agent: Mobile Harness already owns the full lifecycle and can route planning work to APPFORGE.
14
+
15
+ Use APPFORGE alone when the requested deliverable stops at discovery, PRD, design, tasks, or roadmap. Use Mobile Harness when the user wants the plan executed and proved on an emulator, simulator, or device.
16
+
13
17
  This workflow is intentionally strict. It prevents the common AI failure mode of building code without proving it matches the product plan, design, and real-device behavior.
14
18
 
15
19
  The goal is near-zero human effort. MOBILE-HARNESS should do routine product, engineering, QA, documentation, and release-prep work itself. The user should mainly provide the initial goal, approve major gates, and supply credentials or business decisions that cannot be inferred safely.
@@ -44,38 +48,47 @@ Ask the user only for:
44
48
  ## Lifecycle Map
45
49
 
46
50
  ```text
47
- 0. START
48
- ↓ New idea or existing codebase?
51
+ PLAN -> DESIGN -> TASK -> IMPLEMENT -> VERIFY -> DEVICE PROOF -> MEMORY -> NEXT ACTION
52
+ ```
49
53
 
50
- 1. DELIVERY PROFILE
51
- ↓ Smallest MVP, Demo-grade MVP, or Production-ready MVP
54
+ The eight stages are deterministic. Full QA and launch preparation happen as tasks inside the same loop rather than bypassing it.
52
55
 
53
- 2. DESIGN DIRECTION
54
- ↓ Clean utility, polished consumer, playful gamified, premium wellness, dense dashboard, enterprise/admin, or custom reference
56
+ ---
55
57
 
56
- 3. MEMORY
57
- ↓ Load or create MOBILE_MEMORY.md
58
+ ## Beginner-Guided Defaults
58
59
 
59
- 4. PRODUCT PLAN
60
- ↓ APPFORGE discovery, PRD.md, design plan, TASKS.md, DEPENDENCIES.md
60
+ Ask only what cannot be discovered from the repository: app idea and audience, target platform, existing language experience, and delivery goal. `Not sure` is a valid answer.
61
61
 
62
- 5. TASK LOOP
63
- ↓ Select exactly one task
64
- ↓ Implement only that task
65
- ↓ Platform review
66
- ↓ Tests
67
- ↓ PRD verification
68
- ↓ UI match review
69
- ↓ Mobile MCP QA
70
- ↓ Update MOBILE_MEMORY.md
62
+ Recommend one stack with a plain-language explanation and record the tradeoff:
71
63
 
72
- 6. FULL QA
73
- ↓ Accessibility, performance, crash risk, edge cases
64
+ | Need | Recommended Stack |
65
+ |---|---|
66
+ | Android only | Kotlin + Jetpack Compose |
67
+ | iPhone/iPad only | Swift + SwiftUI |
68
+ | Android + iOS with TypeScript/JavaScript experience | React Native + Expo + TypeScript |
69
+ | Android + iOS with highly consistent custom UI | Flutter + Dart |
70
+ | Existing app | Keep the existing stack |
74
71
 
75
- 7. LAUNCH
76
- ↓ Store listing, release notes, checklist, pipeline
72
+ Before implementation, create beginner-readable `PRD.md`, `DESIGN.md`, `TASKS.md`, `DEPENDENCIES.md`, `ROADMAP.md`, and `MOBILE_MEMORY.md`. Explain each document's purpose, keep tasks independently shippable, and give every task acceptance criteria plus a verification command.
73
+
74
+ At the end of every stage, state:
75
+
76
+ ```text
77
+ What happened:
78
+ Why it matters:
79
+ Decision needed: None | <one explicit request>
80
+ What happens next:
77
81
  ```
78
82
 
83
+ Stop at these human gates:
84
+
85
+ - Approval of PRD, design, and task order before the first implementation.
86
+ - Product choices that materially change the MVP.
87
+ - Credentials, keys, certificates, account access, or private data.
88
+ - Destructive operations, irreversible migrations, or deletion of user data/work.
89
+ - Paid services, purchases, billing changes, or cost-incurring usage.
90
+ - Public deployment, store submission, production rollout, or release approval.
91
+
79
92
  ---
80
93
 
81
94
  ## Delivery Profiles
@@ -203,15 +216,17 @@ For each task:
203
216
  4. Read `TASKS.md`.
204
217
  5. Read `DEPENDENCIES.md`.
205
218
  6. Select exactly one task.
206
- 7. Implement only that task.
207
- 8. Run platform reviewer.
208
- 9. Run tests.
209
- 10. Verify behavior against `PRD.md`.
210
- 11. Verify UI against design.
211
- 12. Run `/mobile-mcp-qa` if device automation is available.
212
- 13. Produce `DEVICE_QA_REPORT.md` with the `device-proof-report` workflow when screenshots or device proof are required.
213
- 14. Write `MOBILE_HARNESS_REPORT.md`.
214
- 15. Update `MOBILE_MEMORY.md`.
219
+ 7. Select the narrowest specialist agent or skill and record why it fits the task.
220
+ 8. Use `/mobile-app-design` first when the task creates or changes screens, navigation, visual identity, or a reskin; then implement only that task.
221
+ 9. Run platform reviewer.
222
+ 10. Run the configured build, lint/static-analysis, and test commands. Discover safe platform defaults when commands are missing and record any unavailable check.
223
+ 11. Verify behavior against `PRD.md`.
224
+ 12. Verify UI against design.
225
+ 13. Run `/mobile-mcp-qa` if device automation is available.
226
+ 14. Produce `DEVICE_QA_REPORT.md` with the `device-proof-report` workflow when screenshots or device proof are required.
227
+ 15. Write `MOBILE_HARNESS_REPORT.md`.
228
+ 16. Update `MOBILE_MEMORY.md`.
229
+ 17. At session end, run `mobile-flight-recorder` to preserve changed files, commands, evidence, blockers, and the next action.
215
230
 
216
231
  After a task passes, continue to the next safe task automatically when the user has approved autonomous execution for the project. Stop only at human gates defined in the Autonomy Contract.
217
232
 
@@ -307,6 +322,12 @@ Start from scratch:
307
322
  Use MOBILE-HARNESS. Start from a new app idea and orchestrate APPFORGE, Mobile Memory, implementation, QA, and launch prep.
308
323
  ```
309
324
 
325
+ Beginner-guided start:
326
+
327
+ ```text
328
+ Use MOBILE-HARNESS in BEGINNER_GUIDED mode. I have an app idea but need help choosing the platform and stack. Explain each checkpoint in plain language, create the planning documents, and stop for approval before the first code change.
329
+ ```
330
+
310
331
  Resume multi-day feature:
311
332
 
312
333
  ```text