Detect Mobile Stack
Use the reis-mobile deterministic detector instead of guessing from the folder structure.
How to run
node "${CLAUDE_PLUGIN_ROOT}/bin/reis-mobile.mjs" detect --json --dir "<project directory>"
Result fields:
| Field | Meaning |
|---|---|
stack |
flutter, react-native, kotlin-multiplatform, android, ios or unknown |
variant |
plugin (Flutter), expo (React Native) or null |
languages |
Languages found, the main one first (includes native code in cross-platform apps) |
platforms |
Target platforms (android, ios, web, macos, desktop...) |
evidence |
Files that justify the detection |
candidates |
Every stack that matched, in priority order |
Interpretation
- Cross-platform stacks take priority: a Flutter app contains
android/andios/, but the stack isflutter. unknownmeans there is no mobile project at the given root. In monorepos, run it again with--dirpointing at the app.- More than one item in
candidatesindicates a hybrid project (for example, KMP with an Android module). Consider both stacks when loading skills.