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.
Design System
Entry routing: use the shared App feature entry points
preflight before the workflow below.
Before reading brand state, bind working_dir through
Use that root for every shell call and absolute file-tool path, including
history, rollback, previews, and runtime wiring in the referenced workflows.
Read-only --history / --diff and standalone brand generation without an app
remain here.
Source of truth for every screen built in a Power Apps mobile app. Produces three artifacts:
brand/design-system.md— full spec (palette, typography, spacing, components, negatives)brand/tokens.ts— importable Tamagui token exportbrand/design-system.html— deterministic visual gallery (zero LLM cost)
Design-system and Tamagui integration are complementary, not alternatives. /design-system owns user-facing brand/design decisions and preview artifacts; /create-mobile-app Step 9.2 (screens first) or Step 9b (data model first) applies