Builds and deploys a Power Apps code app to Power Platform. Use when deploying changes, redeploying an existing app, or pushing updates.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
Builds and deploys the app in the current directory to Power Platform.
Check for memory-bank.md in the project root. If found, read it for the project name and environment. If not found, proceed — the project may have been created without the plugin.
npm run buildIf the build fails:
Verify dist/ exists with index.html before continuing.
Ask the user: "Ready to deploy to [environment name]? This will update the live app." Wait for explicit confirmation before proceeding.
Resolve the CLI first (see cli-binary.md): run as
$PA app push(npx --no-install pa …), never a barepa. Onpower-apps-only projects, translate topower-apps push.
pa app pushCapture the app URL from the output if present.
If deploy fails, report the error and stop — do not retry silently. Common fixes:
pa auth logout (or power-apps logout on power-apps-only projects), then retry — the CLI will re-prompt browser login.environmentId in power.config.json to the correct value and retry.If memory-bank.md exists, update:
microsoft/power-platform-skills
da8ea7a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.