reis-mobile 0.7.0 → 0.7.2
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +12 -2
- package/CHANGELOG.md +27 -0
- package/README.md +64 -28
- package/agents/kmp-architect.md +26 -0
- package/agents/kmp-performance-engineer.md +24 -0
- package/agents/kmp-test-engineer.md +26 -0
- package/agents/lead-mobile.md +3 -0
- package/bin/reis-mobile.mjs +15 -0
- package/bin/update-check.mjs +14 -0
- package/commands/debate.md +4 -1
- package/commands/project.md +48 -0
- package/commands/reis-mobile.md +8 -3
- package/core/registry/registry.mjs +1 -0
- package/core/update/check.mjs +119 -0
- package/docs/agent-context.md +2 -2
- package/hooks/hooks.json +17 -0
- package/package.json +6 -3
- package/skills/mobile-accessibility/SKILL.md +2 -1
- package/skills/mobile-accessibility/references/flutter.md +1 -1
- package/skills/mobile-accessibility/references/kotlin-multiplatform.md +9 -0
- package/skills/mobile-architecture/SKILL.md +2 -1
- package/skills/mobile-architecture/references/kotlin-multiplatform.md +11 -0
- package/skills/mobile-code-review/SKILL.md +2 -1
- package/skills/mobile-code-review/references/flutter/widget-review.md +1 -1
- package/skills/mobile-code-review/references/flutter.md +1 -1
- package/skills/mobile-code-review/references/kotlin-multiplatform.md +11 -0
- package/skills/mobile-debug/SKILL.md +2 -1
- package/skills/mobile-debug/references/kotlin-multiplatform.md +10 -0
- package/skills/mobile-firebase/SKILL.md +2 -1
- package/skills/mobile-firebase/references/kotlin-multiplatform.md +10 -0
- package/skills/mobile-flutter/SKILL.md +1 -1
- package/skills/mobile-kmp/SKILL.md +26 -0
- package/skills/mobile-kmp/references/apple-interop.md +9 -0
- package/skills/mobile-kmp/references/build-performance.md +9 -0
- package/skills/mobile-kmp/references/compose-ui.md +9 -0
- package/skills/mobile-kmp/references/source-sets.md +9 -0
- package/skills/mobile-release/SKILL.md +2 -1
- package/skills/mobile-release/references/kotlin-multiplatform.md +12 -0
- package/skills/mobile-security/SKILL.md +2 -1
- package/skills/mobile-security/references/kotlin-multiplatform.md +10 -0
- package/skills/mobile-test/SKILL.md +2 -1
- package/skills/mobile-test/references/kotlin-multiplatform.md +12 -0
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
},
|
|
6
6
|
"metadata": {
|
|
7
7
|
"description": "AI agents for mobile engineering",
|
|
8
|
-
"version": "0.7.
|
|
8
|
+
"version": "0.7.2"
|
|
9
9
|
},
|
|
10
10
|
"plugins": [
|
|
11
11
|
{
|
|
12
12
|
"name": "reis-mobile",
|
|
13
13
|
"source": "./",
|
|
14
14
|
"description": "AI agents, skills and workflows for Flutter, Android, iOS and React Native development.",
|
|
15
|
-
"version": "0.7.
|
|
15
|
+
"version": "0.7.2",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "Warleson Reis"
|
|
18
18
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reis-mobile",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "AI agents, skills and workflows for Flutter, Android, iOS and React Native development. Use /reis-mobile:doctor, /reis-mobile:review and /reis-mobile:test.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Warleson Reis"
|
|
@@ -8,5 +8,15 @@
|
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": "https://github.com/wrsilva/reis-mobile",
|
|
10
10
|
"homepage": "https://github.com/wrsilva/reis-mobile",
|
|
11
|
-
"keywords": [
|
|
11
|
+
"keywords": [
|
|
12
|
+
"mobile",
|
|
13
|
+
"flutter",
|
|
14
|
+
"android",
|
|
15
|
+
"ios",
|
|
16
|
+
"react-native",
|
|
17
|
+
"kotlin-multiplatform",
|
|
18
|
+
"code-review",
|
|
19
|
+
"agents",
|
|
20
|
+
"skills"
|
|
21
|
+
]
|
|
12
22
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,33 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The pr
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.7.2] - 2026-09-18
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Kotlin Multiplatform architect, test and performance specialists, a `mobile-kmp` platform skill and focused KMP references in the eight cross-stack topic skills. Routing and coverage tests guard the new paths.
|
|
12
|
+
- `/reis-mobile:project [feature]` creates or refreshes a verified app object map in `.reis-mobile/project.md` while preserving team-authored product context.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Specialist guidance distinguishes configured shared source sets, Android/iOS host behavior and target-specific validation; the shared brief verifies profile paths and separates team knowledge from code evidence.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Release automation opens a pull request for synchronized files instead of pushing directly to a protected `main` branch, and waits for those changes to merge before tagging and publishing.
|
|
21
|
+
|
|
22
|
+
## [0.7.1] - 2026-09-17
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- A `SessionStart` hook for Claude Code and Codex that warns when the installed plugin is behind npm's latest release. It caches registry results for 24 hours, stays silent offline and can be disabled with `REIS_MOBILE_UPDATE_CHECK=0`.
|
|
27
|
+
- `reis-mobile update-check [--force]` for manually checking the CLI version.
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- `package.json` is the only editable version source. CI synchronizes the plugin manifests and the Release workflow tests, tags and publishes a new version after it reaches `main`.
|
|
32
|
+
- Version synchronization now promotes authored `[Unreleased]` notes to a dated changelog section and refreshes the README's latest-release summary without changing historical entries.
|
|
33
|
+
|
|
7
34
|
## [0.7.0] - 2026-09-17
|
|
8
35
|
|
|
9
36
|
### Added
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# 📱 reis-mobile
|
|
2
2
|
|
|
3
|
-
A mobile app is not a generic project. A code review that does not know about `BuildContext` after `await`, `android:exported`, `NSAllowsArbitraryLoads` or `Podfile.lock` lets through exactly the bugs that only show up on the device. **reis-mobile** detects your project's stack, picks the right specialist and loads only the skills that apply to Flutter, Android, iOS or
|
|
3
|
+
A mobile app is not a generic project. A code review that does not know about `BuildContext` after `await`, `android:exported`, `NSAllowsArbitraryLoads` or `Podfile.lock` lets through exactly the bugs that only show up on the device. **reis-mobile** detects your project's stack, picks the right specialist and loads only the skills that apply to Flutter, Android, iOS, React Native or Kotlin Multiplatform.
|
|
4
4
|
|
|
5
|
-
**AI agents and skills for mobile development — Flutter, Android, iOS and
|
|
5
|
+
**AI agents and skills for mobile development — Flutter, Android, iOS, React Native and Kotlin Multiplatform.** A plugin for Claude Code and Codex with specialist agents and skills for code review, debugging, tests, architecture, security and Firebase.
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://github.com/wrsilva/reis-mobile/actions/workflows/ci.yml"><img src="https://github.com/wrsilva/reis-mobile/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
9
|
-
<img src="https://img.shields.io/
|
|
9
|
+
<img src="https://img.shields.io/npm/v/reis-mobile" alt="Latest npm version">
|
|
10
10
|
<img src="https://img.shields.io/badge/Claude_Code-plugin-blueviolet" alt="Claude Code plugin">
|
|
11
11
|
<img src="https://img.shields.io/badge/Node.js-22+-339933?logo=node.js&logoColor=white" alt="Node.js 22+">
|
|
12
12
|
<img src="https://img.shields.io/badge/Dependencies-0-brightgreen" alt="Zero dependencies">
|
|
@@ -23,7 +23,9 @@ A mobile app is not a generic project. A code review that does not know about `B
|
|
|
23
23
|
|
|
24
24
|
🔎 **Detects the stack on its own.** Flutter (app or plugin), React Native (including Expo), Kotlin Multiplatform, native Android and iOS, with languages and target platforms. A Flutter app with `android/` and `ios/` is still Flutter.
|
|
25
25
|
|
|
26
|
-
👥 **
|
|
26
|
+
👥 **21 agents and 14 mobile skills.** Architect, performance and test engineers for Flutter, native Android, native iOS, React Native and Kotlin Multiplatform, plus a staff engineer, a native plugin specialist, a code reviewer, an accessibility auditor, a release engineer and a lead. Topic skills cover the five stacks with focused references for debugging, tests, security, Firebase, accessibility and releases.
|
|
27
|
+
|
|
28
|
+
🧩 **Project-specific context.** `/reis-mobile:project` records real app symbols, owners, boundaries and validation commands in `.reis-mobile/project.md`; the team can add product rules that code cannot reveal. Refreshing the verified map preserves team-authored text.
|
|
27
29
|
|
|
28
30
|
🌐 **Answers in English or Portuguese.** `reis-mobile init eng` or `reis-mobile init pt` sets the language of reports, explanations and debates.
|
|
29
31
|
|
|
@@ -35,12 +37,32 @@ A mobile app is not a generic project. A code review that does not know about `B
|
|
|
35
37
|
|
|
36
38
|
🔒 **Secrets never reach the model.** The diff sent for review goes through a layer that masks API keys, tokens, JWTs, private keys and keystore passwords.
|
|
37
39
|
|
|
38
|
-
🪶 **Two commands to install.** `npm install -g reis-mobile` and `reis-mobile init eng` set it up in Claude Code and Codex, with zero npm dependencies
|
|
40
|
+
🪶 **Two commands to install.** `npm install -g reis-mobile` and `reis-mobile init eng` set it up in Claude Code and Codex, with zero npm dependencies and no external provider.
|
|
39
41
|
|
|
40
42
|
---
|
|
41
43
|
|
|
42
44
|
## What's new
|
|
43
45
|
|
|
46
|
+
<!-- reis-mobile:latest-release:start -->
|
|
47
|
+
### v0.7.2
|
|
48
|
+
|
|
49
|
+
#### Added
|
|
50
|
+
|
|
51
|
+
- Kotlin Multiplatform architect, test and performance specialists, a `mobile-kmp` platform skill and focused KMP references in the eight cross-stack topic skills. Routing and coverage tests guard the new paths.
|
|
52
|
+
- `/reis-mobile:project [feature]` creates or refreshes a verified app object map in `.reis-mobile/project.md` while preserving team-authored product context.
|
|
53
|
+
|
|
54
|
+
#### Changed
|
|
55
|
+
|
|
56
|
+
- Specialist guidance distinguishes configured shared source sets, Android/iOS host behavior and target-specific validation; the shared brief verifies profile paths and separates team knowledge from code evidence.
|
|
57
|
+
|
|
58
|
+
#### Fixed
|
|
59
|
+
|
|
60
|
+
- Release automation opens a pull request for synchronized files instead of pushing directly to a protected `main` branch, and waits for those changes to merge before tagging and publishing.
|
|
61
|
+
|
|
62
|
+
<!-- reis-mobile:latest-release:end -->
|
|
63
|
+
|
|
64
|
+
### Earlier highlights
|
|
65
|
+
|
|
44
66
|
**v0.7.0:** `/reis-mobile:test` runs, writes, audits or fixes tests using the app's existing setup, including XCTest/XCUITest and Espresso. The 18 agents now use a shared project brief and role-specific investigations tied to actual files, symbols and constraints.
|
|
45
67
|
|
|
46
68
|
> 🆕 **v0.4.0: every mobile stack.** Native Android, native iOS and React Native get their own architect, performance and test specialists, and `/reis-mobile:debug` finds the cause of a failing build with the toolchain versions in hand.
|
|
@@ -54,7 +76,8 @@ A mobile app is not a generic project. A code review that does not know about `B
|
|
|
54
76
|
|
|
55
77
|
| Version | Highlights |
|
|
56
78
|
|--------|-----------|
|
|
57
|
-
| **v0.7.
|
|
79
|
+
| **v0.7.1** | Update notices on Claude Code and Codex session start, plus a single-source version and CI-driven release process. |
|
|
80
|
+
| **v0.7.0** | `/reis-mobile:test`, native XCTest and Espresso guidance, and project-specific contracts for the 18 specialists. |
|
|
58
81
|
| **v0.6.0** | `mobile-accessibility-auditor` and `mobile-release-engineer` agents with the new `mobile-accessibility` and `mobile-release` skills: accessibility audits on every stack, release readiness with a go/no-go verdict, release notes and store copy, CI/CD. `mobile-debug` gains guides for ANRs, Android memory leaks and deep links. |
|
|
59
82
|
| **v0.5.0** | 11 skills instead of 60: topic skills with a guide per platform (`mobile-architecture`, `mobile-code-review`, `mobile-debug`, `mobile-test`, `mobile-security`, `mobile-firebase`) and platform skills (`mobile-flutter`, `mobile-android`, and the new `mobile-ios` and `mobile-rn`). Half the fixed context cost. |
|
|
60
83
|
| **v0.4.0** | Native Android, iOS and React Native: architect, performance and test agents for each; `/reis-mobile:debug` for Gradle, Xcode, CocoaPods and Flutter failures; `mobile-test` and `mobile-firebase` with a guide per platform; the Android team's skills; `.reis-mobile/config.yaml` for monorepos. Skills now use stack prefixes. |
|
|
@@ -104,6 +127,8 @@ reis-mobile init eng
|
|
|
104
127
|
|
|
105
128
|
Then restart Claude Code and Codex. See what changed in the [CHANGELOG](CHANGELOG.md).
|
|
106
129
|
|
|
130
|
+
The plugin checks the npm `latest` tag when a Claude Code or Codex session starts or resumes. If a newer release exists, it shows an update notice; it never installs anything automatically. The registry result is cached for 24 hours, the request times out after 1.5 seconds, and offline failures are silent in the hook. Codex requires you to trust the new hook through `/hooks` before it runs. To check the CLI manually, run `reis-mobile update-check --force`; set `REIS_MOBILE_UPDATE_CHECK=0` to disable the automatic check. Versions released before this hook cannot display the notice until they are updated once.
|
|
131
|
+
|
|
107
132
|
### Uninstall
|
|
108
133
|
|
|
109
134
|
```bash
|
|
@@ -205,10 +230,11 @@ After editing agents, skills or commands, restart Claude Code or Codex.
|
|
|
205
230
|
## Commands
|
|
206
231
|
|
|
207
232
|
```bash
|
|
208
|
-
/reis-mobile # Lists the commands (also accepts doctor, review, debug, test, debate or a free-form request)
|
|
233
|
+
/reis-mobile # Lists the commands (also accepts doctor, project, review, debug, test, debate or a free-form request)
|
|
209
234
|
/reis-mobile my android build fails on gradle # Free-form request: detects the stack and applies the right agent and skills
|
|
210
235
|
/reis-mobile:doctor # Environment and project: SDKs, Xcode, CocoaPods, Gradle wrapper, lock files
|
|
211
236
|
/reis-mobile:doctor --all # Checks every tool, not only those for the detected stack
|
|
237
|
+
/reis-mobile:project checkout # Records actual checkout objects and test commands in .reis-mobile/project.md
|
|
212
238
|
/reis-mobile:review # Reviews uncommitted changes (or the whole project, if there are none)
|
|
213
239
|
/reis-mobile:review --base main # Reviews the current branch against main, pull request style
|
|
214
240
|
/reis-mobile:review --base main focus on security # Free-form focus, in English or Portuguese
|
|
@@ -241,6 +267,10 @@ reis-mobile test --base main -- "write regression tests for these changes"
|
|
|
241
267
|
|
|
242
268
|
Its output includes the resolved project directory, explicit `test` intent, selected specialist and skills, redacted change context, toolchain diagnostics and answer language. `/reis-mobile test ...` forwards to the same slash-command workflow.
|
|
243
269
|
|
|
270
|
+
### Project context
|
|
271
|
+
|
|
272
|
+
`/reis-mobile:project [feature]` resolves the mobile app, traces real entry points, state owners, data or native boundaries and nearby tests, then creates or refreshes `.reis-mobile/project.md`. In a monorepo it writes beside `.reis-mobile/config.yaml`; otherwise it writes in the app root. The generated section contains only facts tied to code or configuration and identifies unknown product rules. Team-authored sections remain intact on refresh. Agents check its paths and commands against the current checkout before using them.
|
|
273
|
+
|
|
244
274
|
### Debate
|
|
245
275
|
|
|
246
276
|
`/reis-mobile:debate` puts three specialists with conflicting priorities to defend positions on the same question. Round 1 is blind, so the first to answer does not anchor the others; in round 2 each one rebuts specific points from the others; at the end, `lead-mobile` decides and delivers the action plan. The rounds are stored in `.reis-mobile/debates/`.
|
|
@@ -279,9 +309,10 @@ The router never invents a specialist: if no agent serves the intent, it warns y
|
|
|
279
309
|
| Review a PR or my changes | `/reis-mobile:review` | ✅ |
|
|
280
310
|
| Audit an entire Flutter project | `/reis-mobile:review` with no pending changes | ✅ |
|
|
281
311
|
| Find out a project's stack | `reis-mobile detect` | ✅ |
|
|
282
|
-
|
|
|
283
|
-
|
|
|
284
|
-
|
|
|
312
|
+
| Record the app's real objects and team context | `/reis-mobile:project [feature]` | ✅ |
|
|
313
|
+
| Review the architecture of an app | agent `flutter-architect`, `android-architect`, `ios-architect`, `rn-architect` or `kmp-architect` | ✅ |
|
|
314
|
+
| Find the cause of jank, rebuilds, hangs or leaks | stack-specific `*-performance-engineer` | ✅ |
|
|
315
|
+
| Write or audit tests | stack-specific `*-test-engineer` | ✅ |
|
|
285
316
|
| Debug a Gradle, Xcode, CocoaPods or Flutter build | `/reis-mobile:debug` | ✅ |
|
|
286
317
|
| Build a plugin or debug MethodChannel/EventChannel | agent `plugin-native-expert` | ✅ |
|
|
287
318
|
| Audit a screen for TalkBack, VoiceOver, touch targets and text scaling | agent `mobile-accessibility-auditor` | ✅ |
|
|
@@ -301,7 +332,7 @@ The router never invents a specialist: if no agent serves the intent, it warns y
|
|
|
301
332
|
| **Project context** | You explain the stack | Deterministic detection of stack, platform and variant |
|
|
302
333
|
| **Review** | Generic | Mobile checklists: lifecycle, `BuildContext`, MASVS, manifest, ATS |
|
|
303
334
|
| **Secrets in the diff** | Sent as they are | Masked before reaching the model |
|
|
304
|
-
| **Specialists** | None |
|
|
335
|
+
| **Specialists** | None | 21 agents and 14 mobile skills |
|
|
305
336
|
| **Context cost** | Zero | ~4,300 fixed tokens (agent and skill descriptions), no hooks |
|
|
306
337
|
| **Best for** | General tasks | Teams and developers working on mobile apps |
|
|
307
338
|
|
|
@@ -357,13 +388,16 @@ For domain knowledge that code cannot reveal, optionally commit `.reis-mobile/pr
|
|
|
357
388
|
| `rn-architect` | React Native | architecture | Feature structure, server vs client state, navigation, native modules |
|
|
358
389
|
| `rn-performance-engineer` | React Native | performance | Re-renders, lists, JavaScript thread, animations, startup, bundle size |
|
|
359
390
|
| `rn-test-engineer` | React Native | test | Jest, React Native Testing Library, native module mocks, Detox or Maestro |
|
|
391
|
+
| `kmp-architect` | Kotlin Multiplatform | architecture | Shared source-set ownership, Android/iOS callers and Swift-facing contracts |
|
|
392
|
+
| `kmp-performance-engineer` | Kotlin Multiplatform | performance | Shared Kotlin cost versus Android/iOS host traces and bridge overhead |
|
|
393
|
+
| `kmp-test-engineer` | Kotlin Multiplatform | test | `commonTest`, target tests and Android/iOS host coverage |
|
|
360
394
|
| `mobile-accessibility-auditor` | all | accessibility | Screen reader labels, roles and states, touch targets, text scaling, focus and announcements, with fixes per platform |
|
|
361
395
|
| `mobile-release-engineer` | all | release, deployment | Go/no-go readiness, versions and signing, crash symbols, release notes and store copy, CI/CD, staged rollout |
|
|
362
|
-
| `mobile-staff-engineer` | all | debug, architecture, performance, test, security, migration, dependency, build |
|
|
396
|
+
| `mobile-staff-engineer` | all | debug, architecture, performance, test, security, migration, dependency, build | Cross-toolchain diagnosis and migrations when no stack specialist owns the intent |
|
|
363
397
|
| `plugin-native-expert` | Flutter | on demand | MethodChannel, EventChannel, Pigeon and Kotlin/Swift bridges, threading and lifecycle |
|
|
364
398
|
| `lead-mobile` | all | on demand | Coordinates the other agents and consolidates a single action plan |
|
|
365
399
|
|
|
366
|
-
When more than one agent serves the intent, the stack-specific one wins. In a Flutter app, `performance` goes to `flutter-performance-engineer`; in a
|
|
400
|
+
When more than one agent serves the intent, the stack-specific one wins. In a Flutter app, `performance` goes to `flutter-performance-engineer`; in a KMP app, to `kmp-performance-engineer`. `accessibility` goes to `mobile-accessibility-auditor` and `release` or `deployment` to `mobile-release-engineer` on every stack. Other intents without a stack specialist, such as `debug`, go to `mobile-staff-engineer`.
|
|
367
401
|
|
|
368
402
|
### Skills
|
|
369
403
|
|
|
@@ -371,18 +405,19 @@ Every skill starts with `mobile-`. **Topic** skills cover every stack with one r
|
|
|
371
405
|
|
|
372
406
|
| Skill | Covers | Auto-routed for | References |
|
|
373
407
|
|---|---|---|---|
|
|
374
|
-
| `mobile-architecture` | Layers, state management, modularization, DI, navigation | architecture | Flutter (BLoC, Riverpod, Provider, ChangeNotifier...), Android, iOS, React Native |
|
|
375
|
-
| `mobile-code-review` | Review process and checklists | review, performance | Flutter (PR review, widgets, project audit, static analysis), Android, iOS, React Native |
|
|
376
|
-
| `mobile-debug` | Failing builds and runtime errors | debug, build, dependency, migration | Flutter (build, runtime, layout, packages), Android (Gradle, crashes, ANRs, memory leaks), iOS (Xcode, CocoaPods, crash logs), React Native (Metro, native modules), deep links |
|
|
377
|
-
| `mobile-test` | Unit, UI, integration and end-to-end tests | test | Flutter (widget, integration, Patrol, mocks, coverage), Android, iOS, React Native |
|
|
378
|
-
| `mobile-security` | OWASP MASVS security checks | review, security, release | Flutter (token storage), Android (intents), iOS, React Native |
|
|
379
|
-
| `mobile-accessibility` | Screen readers, touch targets, text scaling, contrast | accessibility | Flutter (Semantics), Android (Compose and Views), iOS (SwiftUI and UIKit), React Native |
|
|
380
|
-
| `mobile-release` | Release readiness, store copy and CI/CD | release, deployment | Flutter, Android, iOS, React Native, release notes and store listing, CI/CD |
|
|
381
|
-
| `mobile-firebase` | Firebase setup and 13 products | — | Flutter, Android, iOS, React Native,
|
|
408
|
+
| `mobile-architecture` | Layers, state management, modularization, DI, navigation | architecture | Flutter (BLoC, Riverpod, Provider, ChangeNotifier...), Android, iOS, React Native, KMP |
|
|
409
|
+
| `mobile-code-review` | Review process and checklists | review, performance | Flutter (PR review, widgets, project audit, static analysis), Android, iOS, React Native, KMP |
|
|
410
|
+
| `mobile-debug` | Failing builds and runtime errors | debug, build, dependency, migration | Flutter (build, runtime, layout, packages), Android (Gradle, crashes, ANRs, memory leaks), iOS (Xcode, CocoaPods, crash logs), React Native (Metro, native modules), KMP, deep links |
|
|
411
|
+
| `mobile-test` | Unit, UI, integration and end-to-end tests | test | Flutter (widget, integration, Patrol, mocks, coverage), Android, iOS, React Native, KMP |
|
|
412
|
+
| `mobile-security` | OWASP MASVS security checks | review, security, release | Flutter (token storage), Android (intents), iOS, React Native, KMP |
|
|
413
|
+
| `mobile-accessibility` | Screen readers, touch targets, text scaling, contrast | accessibility | Flutter (Semantics), Android (Compose and Views), iOS (SwiftUI and UIKit), React Native, KMP |
|
|
414
|
+
| `mobile-release` | Release readiness, store copy and CI/CD | release, deployment | Flutter, Android, iOS, React Native, KMP, release notes and store listing, CI/CD |
|
|
415
|
+
| `mobile-firebase` | Firebase setup and 13 products | — | Flutter, Android, iOS, React Native, KMP; check installed SDK support |
|
|
382
416
|
| `mobile-flutter` | Flutter and Dart specifics | review, performance, accessibility, migration | UI and navigation, data, native code, performance, accessibility and i18n, Dart, setup |
|
|
383
417
|
| `mobile-android` | Native Android specifics, from the Android team | performance, release, migration, build, dependency | Compose UI, AGP 9 and R8, profiling, Google Play, identity, camera and media, on-device AI, Wear OS, TV, XR |
|
|
384
418
|
| `mobile-ios` | Native iOS specifics | performance, release, accessibility | UI and navigation, data and networking, platform features, performance and release |
|
|
385
419
|
| `mobile-rn` | React Native and Expo specifics | performance, release, accessibility | UI and navigation, data and networking, platform features, performance and release |
|
|
420
|
+
| `mobile-kmp` | Kotlin Multiplatform shared and target boundaries | architecture, test, performance, review, debug and more | Source sets, Apple interop, shared Compose UI, build and profiling |
|
|
386
421
|
| `mobile-detect-stack` | Deterministic stack detection with the CLI | — | — |
|
|
387
422
|
|
|
388
423
|
Skills marked — are triggered by Claude Code when the request matches their description, for example *"add push notifications with FCM"* → `mobile-firebase`.
|
|
@@ -393,21 +428,21 @@ About 85 guides come from [flutter/skills](https://github.com/flutter/skills), [
|
|
|
393
428
|
|
|
394
429
|
## Trust, security and limits
|
|
395
430
|
|
|
396
|
-
**Read-only CLI context.** `doctor`, `detect`, `route`, `review` and `test` do not modify your project. The `/reis-mobile:test` slash command can write or fix tests and execute runners when requested. The `/reis-mobile:review` and `/reis-mobile:debate` commands instruct the model not to edit
|
|
431
|
+
**Read-only CLI context.** `doctor`, `detect`, `route`, `review` and `test` do not modify your project. The `/reis-mobile:test` slash command can write or fix tests and execute runners when requested. `/reis-mobile:project` writes only the optional project profile. The `/reis-mobile:review` and `/reis-mobile:debate` commands instruct the model not to edit app code; the debate writes its rounds to `.reis-mobile/debates/`.
|
|
397
432
|
|
|
398
433
|
**Secrets masked.** The diff goes through [`core/security/redact.mjs`](core/security/redact.mjs) before reaching the model. Lock files and generated code (`*.g.dart`, `*.freezed.dart`, `*.pbxproj`) stay out of the diff. Redaction is a protection layer, not a guarantee. See [SECURITY.md](SECURITY.md).
|
|
399
434
|
|
|
400
|
-
**No telemetry.** `detect`, `doctor`, `route`, `review`, `debug` and `test` make no network calls.
|
|
435
|
+
**No telemetry.** `detect`, `doctor`, `route`, `review`, `debug` and `test` make no network calls. The update hook and `update-check` request the public npm package metadata; they send no project files or identifiers. Installation downloads the package and registers the plugin. The Google Play policy guide in `mobile-android` runs Python scripts that download your app's public Google Play listing when the model uses it. The AI analysis uses the model of the session you are working in, such as Claude Code or Codex.
|
|
401
436
|
|
|
402
|
-
**Exception: `/reis-mobile:debate --external`.** This flag, and only this flag, sends the debate context — including excerpts of the files mentioned in the question — to the `codex` and `gemini` CLIs, which are third-party and have their own data policies. Without the flag,
|
|
437
|
+
**Exception: `/reis-mobile:debate --external`.** This flag, and only this flag, sends the debate context — including excerpts of the files mentioned in the question — to the `codex` and `gemini` CLIs, which are third-party and have their own data policies. Without the flag, the debate context stays in your session. The `review` diff is masked by `redact.mjs`, but the context you cite in a debate question does not go through that layer: check what you are sending before using `--external`.
|
|
403
438
|
|
|
404
|
-
**Context cost.**
|
|
439
|
+
**Context cost.** Claude Code loads the descriptions of 21 agents and 14 skills; the full content of each skill is loaded only when it is used. The exact description cost depends on the host and plugin version.
|
|
405
440
|
|
|
406
|
-
**
|
|
441
|
+
**One session hook.** On session startup or resume, the plugin checks for a newer release and warns only when the installed plugin is outdated. It does not read the project or modify the plugin installation.
|
|
407
442
|
|
|
408
443
|
**Own namespace.** Commands live under `/reis-mobile:*` and do not conflict with the built-in `/review` or `/security-review`.
|
|
409
444
|
|
|
410
|
-
**Clean uninstall.** `reis-mobile init --uninstall` removes the plugin and its marketplace from Claude Code and Codex,
|
|
445
|
+
**Clean uninstall.** `reis-mobile init --uninstall` removes the plugin and its marketplace from Claude Code and Codex, the saved language and the update-check cache.
|
|
411
446
|
|
|
412
447
|
---
|
|
413
448
|
|
|
@@ -427,6 +462,7 @@ About 85 guides come from [flutter/skills](https://github.com/flutter/skills), [
|
|
|
427
462
|
| v0.5.0 | Topic and platform skills (`mobile-*`), with guides for Flutter, Android, iOS and React Native in each; new `mobile-ios` and `mobile-rn` | ✅ |
|
|
428
463
|
| v0.6.0 | Accessibility auditor and release engineer agents, `mobile-accessibility` and `mobile-release` skills, ANR, memory leak and deep link debugging guides | ✅ |
|
|
429
464
|
| v0.7.0 | `/reis-mobile:test`, native tests (XCTest, Espresso) and project-specific specialist contracts | ✅ |
|
|
465
|
+
| v0.7.1 | Update notices, single-source version and release automation | ✅ |
|
|
430
466
|
| v0.8.0 | `/reis-mobile:release` with quality gates | ⏳ |
|
|
431
467
|
| v0.9.0 | MCP server | ⏳ |
|
|
432
468
|
| v0.10.0 | Multi-provider (OpenAI, Gemini, OpenRouter, Ollama) beyond the debate's `--external` | ⏳ |
|
|
@@ -461,7 +497,7 @@ Yes: `reis-mobile init eng` installs the plugin in Codex too. See [installation]
|
|
|
461
497
|
The Cursor integration has not been validated yet. The MCP server remains on the roadmap for v0.8.0.
|
|
462
498
|
|
|
463
499
|
**What does reis-mobile send outside my machine?**
|
|
464
|
-
The
|
|
500
|
+
The project analysis commands do not make network requests. The update hook and `reis-mobile update-check` request the public npm package metadata without sending project files or identifiers. What the model reads during `/reis-mobile:review` follows the same rules as any Claude Code session.
|
|
465
501
|
|
|
466
502
|
---
|
|
467
503
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kmp-architect
|
|
3
|
+
description: Use this agent to design or review Kotlin Multiplatform architecture across `commonMain`, Android/iOS source sets and host apps. It traces real shared domain types, `expect`/`actual` or injected interfaces, framework exports and state ownership before choosing what to share. Typical triggers are moving a feature into a shared module, untangling `iosMain`/`androidMain`, and deciding whether UI or only logic should be shared.
|
|
4
|
+
model: inherit
|
|
5
|
+
color: cyan
|
|
6
|
+
tools: ["Read", "Grep", "Glob"]
|
|
7
|
+
intents: [architecture]
|
|
8
|
+
stacks: [kotlin-multiplatform]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
You own the shared-versus-target boundary, not an Android module diagram with an iOS folder appended. Produce a read-only design based on the targets and symbols this project actually builds.
|
|
12
|
+
|
|
13
|
+
Read the [project brief](../docs/agent-context.md) once or reuse the caller's verified brief. Apply [mobile-kmp](../skills/mobile-kmp/SKILL.md), its [source-set guide](../skills/mobile-kmp/references/source-sets.md) and [mobile-architecture](../skills/mobile-architecture/SKILL.md) with the [KMP architecture reference](../skills/mobile-architecture/references/kotlin-multiplatform.md).
|
|
14
|
+
|
|
15
|
+
## Trace the contract
|
|
16
|
+
|
|
17
|
+
1. Map included Gradle modules, configured targets, source-set `dependsOn` edges and iOS framework/host integration. Mark generated artifacts separately from editable source.
|
|
18
|
+
2. Follow one requested action from the Android and iOS entry points to the same shared Kotlin type. Name the state owner, repository/service interface, platform implementation and where each error returns to UI. If the UIs are separate, document their adapters instead of assuming shared Compose.
|
|
19
|
+
3. Inventory the actual feature objects: identifiers, domain values, DTOs, persisted models and Swift-facing types. Show conversion and validation at each boundary; identify which object is authoritative and who can write it.
|
|
20
|
+
4. Compare `expect`/`actual` and injected interfaces against the size of the platform behavior and the project's existing pattern. Check target completeness and the ownership of coroutine scopes, callbacks and native resources.
|
|
21
|
+
|
|
22
|
+
## Decide and hand off
|
|
23
|
+
|
|
24
|
+
Choose the smallest boundary that removes a demonstrated duplication or coupling problem. Specify the shared API, target implementations, error/nullability contract, construction site and migration seam; name new symbols as proposed. Avoid a framework migration or shared UI proposal without evidence from both host apps.
|
|
25
|
+
|
|
26
|
+
Return a table of **object → source set → owner/lifetime → Android caller → iOS caller → test seam**, plus the current source-set graph and a stepwise design with actual paths. Include the target builds and tests that would prove each contract. A Kotlin compilation alone does not prove the Swift consumer works.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kmp-performance-engineer
|
|
3
|
+
description: Use this agent to diagnose Kotlin Multiplatform performance across shared Kotlin work, Compose Multiplatform and Android/iOS hosts. It separates shared algorithm or serialization cost from Android frame/ANR evidence, iOS hangs and framework-bridge overhead. Typical triggers are a shared repository making both apps slow, iOS-only jank after a KMP change, startup delay from framework initialization, and retained objects across a Swift/Kotlin boundary.
|
|
4
|
+
model: inherit
|
|
5
|
+
color: yellow
|
|
6
|
+
tools: ["Read", "Grep", "Glob", "Bash"]
|
|
7
|
+
intents: [performance]
|
|
8
|
+
stacks: [kotlin-multiplatform]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
You isolate one measured KMP regression and its target-specific consequence. Return a falsifiable cause and a bounded fix proposal, not a generic performance checklist.
|
|
12
|
+
|
|
13
|
+
Read or reuse the [project brief](../docs/agent-context.md). Apply [mobile-kmp](../skills/mobile-kmp/SKILL.md), its [build/performance guide](../skills/mobile-kmp/references/build-performance.md), and the [KMP review reference](../skills/mobile-code-review/references/kotlin-multiplatform.md).
|
|
14
|
+
|
|
15
|
+
## Split the cost by boundary
|
|
16
|
+
|
|
17
|
+
1. Fix the app revision, module, affected Android/iOS target, build configuration, device and user journey. Trace the initiating UI action through the shared Kotlin symbol, platform implementation, native framework/API and visible result.
|
|
18
|
+
2. For shared code, inspect the exact algorithm, allocation, serialization or cache path and its input volume. Compare outputs and work performed on both targets before calling it a common-code regression.
|
|
19
|
+
3. For Android, use the app's frame/ANR/heap evidence and name the Kotlin call on the blocked path. For iOS, use a symbolicated hang/Time Profiler or memory trace and the exported framework boundary. If UI is shared, distinguish Compose state invalidation from Kotlin data work and host rendering.
|
|
20
|
+
4. For retained memory or startup, find the creator and owner of the shared object, coroutine/task and Swift callback. Show the retaining or blocking chain; do not recommend weak references, dispatchers or memoization without that chain.
|
|
21
|
+
|
|
22
|
+
## Measurement artifact
|
|
23
|
+
|
|
24
|
+
State whether the evidence came from Android, iOS or both. Provide **journey → trace interval → source symbol → cost owner → proposed change → correctness risk → comparable before/after metric**. Use the same input and release-like conditions for comparisons. If no profiler run was possible, label the finding a static hypothesis and provide the exact capture needed; never transfer a JVM timing result to iOS.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kmp-test-engineer
|
|
3
|
+
description: Use this agent to write, fix or audit Kotlin Multiplatform tests in `commonTest` and configured target test source sets, including `expect`/`actual` behavior, Kotlin/Native iOS test binaries, Android host tests and Compose Multiplatform UI. Typical triggers are testing shared business logic, a bug that appears only on iOS, flaky target-specific tests, or a KMP project where Android tests pass but iOS behavior is unknown.
|
|
4
|
+
model: inherit
|
|
5
|
+
color: green
|
|
6
|
+
tools: ["Read", "Grep", "Glob", "Bash", "Edit", "Write"]
|
|
7
|
+
intents: [test]
|
|
8
|
+
stacks: [kotlin-multiplatform]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
You own the test matrix across shared logic, target implementations and host apps. An audit request stays read-only; a request to add or fix tests authorizes the relevant files.
|
|
12
|
+
|
|
13
|
+
Reuse the [project brief](../docs/agent-context.md) or read it once. Load [mobile-kmp](../skills/mobile-kmp/SKILL.md), [mobile-test](../skills/mobile-test/SKILL.md) and the [KMP testing reference](../skills/mobile-test/references/kotlin-multiplatform.md).
|
|
14
|
+
|
|
15
|
+
## Choose the test target
|
|
16
|
+
|
|
17
|
+
1. Read the affected module's targets, source sets, test dependencies and Gradle tasks. Locate the real Kotlin symbol, `actual` implementations, nearest tests and any Android/iOS app test targets. Do not assume a `commonTest` case runs on every declared target in CI.
|
|
18
|
+
2. Put shared rules and serialization cases in the source set that owns them. For platform behavior, test the Android and iOS implementation with the relevant target runner and controlled external boundary. Name the observable result, not just a mock invocation.
|
|
19
|
+
3. For `expect`/`actual`, include a contract case that both implementations can satisfy, then target-specific cases for permissions, storage, threading or interop that differ. Verify the test source set is connected to each target and the task discovers a nonzero test count.
|
|
20
|
+
4. For Compose Multiplatform, use the test API supported by the installed version and prove the interaction on relevant targets. A common UI test does not replace Android instrumentation or XCUITest when the behavior crosses a host, system dialog or native SDK.
|
|
21
|
+
|
|
22
|
+
## Execute and report
|
|
23
|
+
|
|
24
|
+
Discover exact tasks with the Gradle wrapper instead of guessing target names. Run the narrow shared and target suites available here; iOS tests need a compatible macOS/Xcode environment. Keep fixture data, schedulers and native stores isolated; avoid arbitrary sleeps.
|
|
25
|
+
|
|
26
|
+
Return a matrix of **production symbol → source set/target → test file → scenario/assertion → task → executed count/result**. Separate Android, iOS and host UI coverage. If one target cannot run, mark it unrun with the concrete prerequisite; a green JVM task is not a KMP-wide pass.
|
package/agents/lead-mobile.md
CHANGED
|
@@ -30,6 +30,9 @@ Agents use the `reis-mobile:` prefix in the Agent tool. Choose by stack and deli
|
|
|
30
30
|
| Route, cache/client-state and native-module boundaries | `reis-mobile:rn-architect` |
|
|
31
31
|
| React render, JavaScript and native-thread costs | `reis-mobile:rn-performance-engineer` |
|
|
32
32
|
| Jest/component tests and configured device journeys | `reis-mobile:rn-test-engineer` |
|
|
33
|
+
| KMP source-set, shared object and Android/iOS contract design | `reis-mobile:kmp-architect` |
|
|
34
|
+
| KMP common/target tests and host coverage | `reis-mobile:kmp-test-engineer` |
|
|
35
|
+
| Shared Kotlin versus Android/iOS host performance cause | `reis-mobile:kmp-performance-engineer` |
|
|
33
36
|
| Diff regression with concrete trigger and consequence | `reis-mobile:mobile-code-reviewer` |
|
|
34
37
|
| Assistive-technology journey and control semantics | `reis-mobile:mobile-accessibility-auditor` |
|
|
35
38
|
| Release identity, artifact gates, notes or pipeline | `reis-mobile:mobile-release-engineer` |
|
package/bin/reis-mobile.mjs
CHANGED
|
@@ -13,6 +13,7 @@ import { PLUGIN_ROOT } from '../core/paths.mjs';
|
|
|
13
13
|
import { loadRegistry, validateRegistry } from '../core/registry/registry.mjs';
|
|
14
14
|
import { INTENT_IDS } from '../core/router/intents.mjs';
|
|
15
15
|
import { route } from '../core/router/router.mjs';
|
|
16
|
+
import { checkForUpdate, clearUpdateCache } from '../core/update/check.mjs';
|
|
16
17
|
|
|
17
18
|
const USAGE = `reis-mobile — AI agents for mobile engineering
|
|
18
19
|
|
|
@@ -29,6 +30,7 @@ Commands:
|
|
|
29
30
|
test [request...] Prepare test routing, git context and toolchain checks (does not run tests)
|
|
30
31
|
agents | skills | stacks List registered components
|
|
31
32
|
validate Validate the plugin's agents, skills and stacks
|
|
33
|
+
update-check Check npm for a newer reis-mobile release
|
|
32
34
|
|
|
33
35
|
Options:
|
|
34
36
|
--dir <path> Project directory (default: current directory, or "app" in .reis-mobile/config.yaml)
|
|
@@ -39,6 +41,7 @@ Options:
|
|
|
39
41
|
--local init: install the plugin from this installation instead of GitHub
|
|
40
42
|
--scope <scope> init: Claude Code scope, user (default), project or local
|
|
41
43
|
--uninstall init: remove the plugin and its marketplace from Claude Code and Codex, and the saved language
|
|
44
|
+
--force update-check: ignore the cached registry result
|
|
42
45
|
--lang <en|pt> Override the saved language for this run
|
|
43
46
|
--json Machine-readable output
|
|
44
47
|
-v, --version Print the version
|
|
@@ -53,6 +56,7 @@ const OPTIONS = {
|
|
|
53
56
|
local: { type: 'boolean' },
|
|
54
57
|
scope: { type: 'string' },
|
|
55
58
|
uninstall: { type: 'boolean' },
|
|
59
|
+
force: { type: 'boolean' },
|
|
56
60
|
lang: { type: 'string' },
|
|
57
61
|
json: { type: 'boolean' },
|
|
58
62
|
version: { type: 'boolean', short: 'v' },
|
|
@@ -72,6 +76,7 @@ const COMMANDS = {
|
|
|
72
76
|
skills: (options) => commandList('skills', options),
|
|
73
77
|
stacks: (options) => commandList('stacks', options),
|
|
74
78
|
validate: commandValidate,
|
|
79
|
+
'update-check': commandUpdateCheck,
|
|
75
80
|
};
|
|
76
81
|
|
|
77
82
|
async function main(argv) {
|
|
@@ -103,6 +108,15 @@ async function main(argv) {
|
|
|
103
108
|
|
|
104
109
|
const PROJECT_COMMANDS = new Set(['detect', 'doctor', 'route', 'review', 'debug', 'test']);
|
|
105
110
|
|
|
111
|
+
async function commandUpdateCheck({ force, json }) {
|
|
112
|
+
const result = await checkForUpdate({ force });
|
|
113
|
+
if (json) return print(result);
|
|
114
|
+
if (result.status === 'outdated') console.log(`reis-mobile ${result.current} is outdated; ${result.latest} is available. Run npm update -g reis-mobile && reis-mobile init.`);
|
|
115
|
+
else if (result.status === 'current') console.log(`reis-mobile ${result.current} is up to date (latest: ${result.latest}).`);
|
|
116
|
+
else console.error('Could not check the latest reis-mobile release. Try again with --force when online.');
|
|
117
|
+
return result.status === 'unavailable' ? 1 : 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
106
120
|
async function commandInit({ local, scope, uninstall, lang, prompt }) {
|
|
107
121
|
const requested = lang ?? (prompt || process.env.REIS_MOBILE_LANG || undefined);
|
|
108
122
|
// Validate before touching Claude Code or Codex, so a typo does not leave a half-done install.
|
|
@@ -123,6 +137,7 @@ async function commandInit({ local, scope, uninstall, lang, prompt }) {
|
|
|
123
137
|
}
|
|
124
138
|
if (uninstall) {
|
|
125
139
|
await removeConfig();
|
|
140
|
+
await clearUpdateCache();
|
|
126
141
|
console.log(`✓ ${'Language'.padEnd(12)}saved setting removed`);
|
|
127
142
|
return ok ? 0 : 1;
|
|
128
143
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { checkForUpdate, updateMessage } from '../core/update/check.mjs';
|
|
3
|
+
|
|
4
|
+
if (process.env.REIS_MOBILE_UPDATE_CHECK !== '0') {
|
|
5
|
+
try {
|
|
6
|
+
const result = await checkForUpdate();
|
|
7
|
+
if (result.status === 'outdated') {
|
|
8
|
+
const tool = process.env.PLUGIN_ROOT ? 'codex' : 'claude';
|
|
9
|
+
process.stdout.write(`${JSON.stringify({ systemMessage: updateMessage(result, tool) })}\n`);
|
|
10
|
+
}
|
|
11
|
+
} catch {
|
|
12
|
+
// Update checks are advisory and must never fail a session.
|
|
13
|
+
}
|
|
14
|
+
}
|
package/commands/debate.md
CHANGED
|
@@ -48,6 +48,9 @@ Choose **three** agents whose priorities genuinely conflict on the question. A d
|
|
|
48
48
|
| `reis-mobile:rn-architect` | Feature boundaries, server vs client state, native module isolation | `opus` |
|
|
49
49
|
| `reis-mobile:rn-performance-engineer` | Re-renders, lists, JavaScript thread, startup | `sonnet` |
|
|
50
50
|
| `reis-mobile:rn-test-engineer` | Testability through the UI, mocks at boundaries, coverage cost | `sonnet` |
|
|
51
|
+
| `reis-mobile:kmp-architect` | Shared source-set ownership, host API contracts and migration cost | `opus` |
|
|
52
|
+
| `reis-mobile:kmp-performance-engineer` | Shared Kotlin cost versus Android/iOS host traces and bridge overhead | `sonnet` |
|
|
53
|
+
| `reis-mobile:kmp-test-engineer` | Common and target tests, host integration and coverage gaps | `sonnet` |
|
|
51
54
|
| `reis-mobile:plugin-native-expert` | Flutter–native boundary, platform channels, lifecycle | `opus` |
|
|
52
55
|
| `reis-mobile:mobile-staff-engineer` | Build, release, migration, cross-platform trade-offs | `opus` |
|
|
53
56
|
| `reis-mobile:mobile-code-reviewer` | Concrete risk in the code that already exists | `sonnet` |
|
|
@@ -58,7 +61,7 @@ Automatic selection must end with **at least two different models** among the pa
|
|
|
58
61
|
|
|
59
62
|
Selection rules:
|
|
60
63
|
|
|
61
|
-
- The detected stack rules. The `flutter-*` agents only join Flutter projects, `android-*` native Android, `ios-*` native iOS
|
|
64
|
+
- The detected stack rules. The `flutter-*` agents only join Flutter projects, `android-*` native Android, `ios-*` native iOS, `rn-*` React Native and `kmp-*` Kotlin Multiplatform. Pick the architect, performance and test specialists of the detected stack first; `mobile-staff-engineer` and `mobile-code-reviewer` fit any stack.
|
|
62
65
|
- Without native code in the project, do not call `plugin-native-expert`.
|
|
63
66
|
- `--agents` overrides the automatic choice, but not the models: each agent keeps the one from the table. Unknown name: warn and stop.
|
|
64
67
|
- `reis-mobile:lead-mobile` never debates — it moderates in step 7, always on `opus`, because synthesizing conflicting positions is the heaviest work in the flow.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Build or refresh a project-specific mobile brief from actual app objects, boundaries and validation commands
|
|
3
|
+
argument-hint: "[feature or flow to prioritize]"
|
|
4
|
+
allowed-tools: ["Bash(node:*)", "Bash(git:*)", "Read", "Grep", "Glob", "Edit", "Write"]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# reis-mobile project
|
|
8
|
+
|
|
9
|
+
Arguments received: `$ARGUMENTS`
|
|
10
|
+
|
|
11
|
+
## Resolve the mobile app and profile
|
|
12
|
+
|
|
13
|
+
Run `node "${CLAUDE_PLUGIN_ROOT}/bin/reis-mobile.mjs" detect --json --dir "$PWD"`. Parse the JSON result; use `projectDir` as the app root. If `projectConfig` is present, place the profile at `.reis-mobile/project.md` beside that config file. Otherwise place it at `<projectDir>/.reis-mobile/project.md`. Do not write a profile for an unknown stack or a missing project root. Read `${CLAUDE_PLUGIN_ROOT}/docs/agent-context.md` before collecting evidence.
|
|
14
|
+
|
|
15
|
+
The optional arguments identify a feature or flow to prioritize, not a shell command. Never evaluate them as shell code. Resolve source paths against the app root, and paths in a monorepo-wide CI file against the repository root.
|
|
16
|
+
|
|
17
|
+
## Collect project evidence
|
|
18
|
+
|
|
19
|
+
Inspect applicable repository instructions, architecture docs, build manifests, lock files, source entry points, navigation, dependency wiring, two or three representative features and their nearest tests. For the requested feature, inspect its actual user action, state owner, repository/service, data model, external or native boundary, and failure path. For an unscoped run, select one critical journey only when code or team documentation identifies it; otherwise record a representative implemented flow and label it as such.
|
|
20
|
+
|
|
21
|
+
Use the detected stack and configured targets. For Kotlin Multiplatform, map `commonMain`, target source sets and Android/iOS host callers. Read the real CI jobs, package scripts, Gradle tasks or Xcode schemes before listing validation commands. Never invent a domain object, test target, supported OS, business invariant or command from a skill example. Mark facts without evidence as unknown and state what could establish them.
|
|
22
|
+
|
|
23
|
+
## Write or refresh the brief
|
|
24
|
+
|
|
25
|
+
Create the profile if absent. On refresh, replace only the content between these exact markers:
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
<!-- reis-mobile:verified:start -->
|
|
29
|
+
## Verified code map
|
|
30
|
+
...
|
|
31
|
+
<!-- reis-mobile:verified:end -->
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
If an existing profile lacks the markers, preserve all existing text and append the marked block. Do not rewrite or remove team-authored sections, even when they conflict with code; identify the discrepancy after the block. Never copy secrets, credentials, tokens, personal data or raw environment values into the profile.
|
|
35
|
+
|
|
36
|
+
The verified block contains:
|
|
37
|
+
|
|
38
|
+
1. App root, detected stack/targets and the manifest or configuration paths that prove them.
|
|
39
|
+
2. A compact table of **real object/symbol → path → owner/lifetime → caller or event → next boundary → nearest test**. Mark an absent test as `none found`, not as a claim that no tests exist.
|
|
40
|
+
3. One concrete flow from entry action through state and data/native boundary to observable result, with paths and symbols.
|
|
41
|
+
4. Existing validation commands with working directory and their source (CI/script/task/scheme). Distinguish commands inspected from commands actually run.
|
|
42
|
+
5. Unknowns and stale references that require team confirmation.
|
|
43
|
+
|
|
44
|
+
For a new profile, add a short `## Team context` section after the verified block with prompts for product vocabulary, critical journeys, business invariants, supported environments and deliberate exceptions. Leave values as `Unknown — team input needed` until the team supplies them. Do not fabricate a product description.
|
|
45
|
+
|
|
46
|
+
## Report
|
|
47
|
+
|
|
48
|
+
State the profile path, the flow and objects recorded, evidence that was verified, commands actually run and the remaining unknowns. Follow the CLI's `language`: `pt` is Brazilian Portuguese; `en` is English; otherwise follow the user's language. Code identifiers, paths and quoted output remain unchanged.
|
package/commands/reis-mobile.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: reis-mobile entry point — lists the commands or forwards to doctor, review, debug, test, debate or the right agent from a free-form request
|
|
3
|
-
argument-hint: "[doctor | review | debug | test | debate | free-form request]"
|
|
4
|
-
allowed-tools: ["Bash(node:*)", "Bash(git:*)", "Read", "Grep", "Glob"]
|
|
2
|
+
description: reis-mobile entry point — lists the commands or forwards to doctor, project, review, debug, test, debate or the right agent from a free-form request
|
|
3
|
+
argument-hint: "[doctor | project | review | debug | test | debate | free-form request]"
|
|
4
|
+
allowed-tools: ["Bash(node:*)", "Bash(git:*)", "Read", "Grep", "Glob", "Edit", "Write"]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# reis-mobile
|
|
@@ -20,6 +20,7 @@ Reply only with this list. The only thing to run is `node "${CLAUDE_PLUGIN_ROOT}
|
|
|
20
20
|
|
|
21
21
|
```text
|
|
22
22
|
/reis-mobile:doctor Environment and project: SDKs, Xcode, CocoaPods, Gradle wrapper, lock files
|
|
23
|
+
/reis-mobile:project [feature] Creates or refreshes a brief with actual app objects and team context
|
|
23
24
|
/reis-mobile:review [--base <ref>] Code review of the changes (or the whole project)
|
|
24
25
|
/reis-mobile:debug <problem> Finds the cause of a build or runtime failure and proposes the fix
|
|
25
26
|
/reis-mobile:test [request] Runs, writes, audits or fixes tests using the project's test setup
|
|
@@ -34,6 +35,10 @@ When the language is `pt`, translate the descriptions and keep the commands as t
|
|
|
34
35
|
1. Run via Bash: `node "${CLAUDE_PLUGIN_ROOT}/bin/reis-mobile.mjs" doctor --dir "$PWD" <options>`.
|
|
35
36
|
2. Read `${CLAUDE_PLUGIN_ROOT}/commands/doctor.md` and follow its **Instructions** section on that output.
|
|
36
37
|
|
|
38
|
+
## `project [feature]`
|
|
39
|
+
|
|
40
|
+
Read `${CLAUDE_PLUGIN_ROOT}/commands/project.md` and follow all of it, treating the rest of the arguments (without the word `project`) as `$ARGUMENTS`. This entry point has the same behavior as `/reis-mobile:project`.
|
|
41
|
+
|
|
37
42
|
## `review [options] [focus]`
|
|
38
43
|
|
|
39
44
|
Read `${CLAUDE_PLUGIN_ROOT}/commands/review.md` and follow all of it, treating the rest of the arguments (without the word `review`) as `$ARGUMENTS`.
|