Plugin check: Run
node "${PLUGIN_ROOT}/scripts/check-version.js"- if it outputs a message, show it to the user before proceeding.
📋 Shared instructions: shared-instructions.md - read first, once. Covers workflow checkpoints, safety guardrails, CLI resolution, OS-aware shell rules, and command-failure handling. Read it in the same message as Step 0's command, and do not read it again unless it has left your context.
Create Power Apps Code App (Native)
Top-level orchestrator. Owns the user-visible flow, its approval gates, and the build plan, and delegates screens, planning, and per-domain changes to agents and the /add-* skills.
This file routes the request, gathers the requirements, and then chooses the build order at Step 0; the chosen flow file holds every step after that.
For every child skill handoff, pass the invocation-scoped
app-edit-routing.md context:
MOBILE_APP_ORCHESTRATING=1, orchestrator: create-mobile-app, the absolute
working_dir, current phase, and the exact approved scope/answers for
implementation. Forward it through routers and native helpers; do not persist it
or rely on an earlier shell export. The plan exists before the app is fully built,
so children must use this context rather than mistake creation for a standalone
edit. Design/configuration children still own any approval explicitly delegated
to their phase; this marker never skips those gates.
Build orders
Both build orders make the same app to the same quality bar, and in both the user approves the screens, the architecture, and the data model before they are built. They differ in what is built first and when the app first runs.
| Build order | Flow | What the user sees |
|---|---|---|