create-mobile-app
π Shared instructions: shared-instructions.md β read first. Covers safety guardrails, memory bank usage, preferred-environment policy, connector-first rule, Windows CLI compat, command-failure handling.
Create Power Apps Code App (Native)
Top-level orchestrator. Owns the user-visible flow; delegates planning to the native-app-planner agent and per-domain mutation to dedicated /add-* skills.
Workflow
- Resume check + fresh-template gate β 1. Prerequisites β 2. Gather requirements β 2b. Requirements discovery β 2c. Plan preview (rough cost + abort gate) β 3. Plan (planner agent + 4 gates) β 4. Auth & environment β 5. Prepare existing template β 6.
npx power-apps initβ 6.5 verifynpm installβ 6.5b SafeAreaProvider gate (always runs, idempotent) β 6.6 scaffoldtscsmoke check β 6.7 seed memory bank β 6.85 Offline profile (always asked) β 7. Auth config β 8. Apply data model β 9. Apply native capabilities β 9b. Design system β 10. Add connectors β 10b. Wire navigation layout β 11. Build screens (parallel) β 11.4 Stylistic fix sweep β 12. Start Metro (npx expo start) β 12.5 Optional debug handoff β 13. Summary
Fresh-template working-directory mode
This skill assumes the user already has a fresh pa-wrap-tools/templates/expo-app-standalone template materialized with degit in the target working directory and has already run npm install there. The skill turns that fresh template into an app; it does not clone, degit, or copy a template itself.
Fresh template required. If the working directory is not a template, or if it already looks like an app created by this skill, STOP and tell the user to materialize a fresh expo-app-standalone template with degit into a new folder, run npm install, then rerun /create-mobile-app --working-dir <fresh-template-dir>.
Use these markers: